ctubio / Krypto-trading-bot

Self-hosted crypto trading bot (automated high frequency market making) written in C++
https://127.0.0.1:3000
Other
3.38k stars 826 forks source link

variable stdev periods #653

Open Camille92 opened 6 years ago

Camille92 commented 6 years ago

Hi Carles,

I'm having fun playing with stdev + BB and discovering how effective it can be, especially looking at market action over a few days.

So my question is, do you think the bot can handle several dozen of thousands of data for stdev? (I'm trying something with stdev = 24 hours, so 86 400 seconds). I'm running the test on a few instances but I'm a bit scared haha.

Alternatively, would that be possible to put an option if we want stdev minute or second?

Best,

Camille :D

ctubio commented 6 years ago

morniing'' a nice way to test it is by clicking the red/green button or the save button.

if save button takes too long time in Pending state or if red/green button takes too long in yellow, means the server is looping in some subroutine instead of in the main loop, that must be only because too much data is begin parsed, presumably cos the new/latest mod.

hope this helps'''' :dancer:

ctubio commented 6 years ago

reopening cos the variable stdev periods

Camille92 commented 6 years ago

Thanks for the quick reply!

Well I was more afraid that dealing with 86k data each second might freeze the computer or consume a lot of ressources (because they are all saved in the db).

Good morning / night to you too!

Le ven. 23 févr. 2018 03:40, Carles Tubio notifications@github.com a écrit :

morniing'' a nice way to test it is by clicking the red/green button or the save button.

if save button takes too long time in Pending state or if red/green button takes too long in yellow, means the server is looping in some subroutine instead of in the main loop, that must be only because too much data is begin parsed, presumably cos the new/latest mod.

hope this helps'''' 💃

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ctubio/Krypto-trading-bot/issues/653#issuecomment-367892384, or mute the thread https://github.com/notifications/unsubscribe-auth/AGizFh87wwCjdV2sr4A47dKGB_HobCfYks5tXiUagaJpZM4SQTJ4 .

ctubio commented 6 years ago

consider --database=:memory: to avoid burning hard disks (note yellow/Pending also means waiting for disk access)

Camille92 commented 6 years ago

Thanks!

I didn't see anormal yellow time but I need to let it run for the data to be collected and see if something weird happens!

Le ven. 23 févr. 2018 03:48, Carles Tubio notifications@github.com a écrit :

consider --database=:memory: to avoid burning hard disks (note yello/Pending also means waiting for disk access)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ctubio/Krypto-trading-bot/issues/653#issuecomment-367893743, or mute the thread https://github.com/notifications/unsubscribe-auth/AGizFnEPSl8qtgqT9XUCh247tvhWxOqGks5tXicWgaJpZM4SQTJ4 .