RevenyouIO / Bots-Lab

Backtesting tool and connector for the platform Bots.
48 stars 26 forks source link

Allow variable storage #13

Open ghost opened 4 years ago

ghost commented 4 years ago

Currently it's not possible to store any variables. For example you want to check a variable multiple ticks before taking action, or you use an indicator to define a threshold that you want stored. (Maybe this aligns with the store current position ticket, depending on how it is designed)

rvdoud commented 4 years ago

You can use global variables in the file (module) that contains the bot function. I will add some notes about this option in the bot_template. This way you can store values for later use.