Running multiple bots with multiple timeframes
Running multiple bots with multiple timeframes
07 Jul 2022, 08:00
Hi
Suppose I have multiple small bots running that trade very specific market conditions. A simple example would one bot that trades pullbacks on a downtrend and another bot that trades pullbacks on an uptrend. Each of these bots get the same historical bars. For instance, both bots retrieve the 5, 15, and 30 minute bars.
Are there now multiple instances of the historical bars taking up memory, or is cTrader intelligent enough to know it only needs one copy of this data for reference by any number of bots that need it?
By extension, is it advisable to run bots in this way, or is it better to consolidate the bots functions and create a more "All-In-One" bot?
Replies
PanagiotisCharalampous
08 Jul 2022, 11:36
Hi there,
cTrader will only load the necessary data once.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous
firemyst
07 Jul 2022, 16:28
"Are there now multiple instances of the historical bars taking up memory, or is cTrader intelligent enough to know it only needs one copy of this data for reference by any number of bots that need it?"
This is a question that only @Spotware / @Panagiotis / @Amusleh can answer.
@firemyst