Running multiple bots with multiple timeframes

Created at 07 Jul 2022, 08:00
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
CT

ctid3999979

Joined 05.07.2021

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?


@ctid3999979
Replies

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

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