Developing a strategy which trades multiple symbols within a single robot.

Created at 14 Mar 2022, 03:03
AR

aran.hakki

Joined 14.03.2022

Developing a strategy which trades multiple symbols within a single robot.
14 Mar 2022, 03:03


Hello there,

I'm trying to develop a single strategy which analyzes ticks from multiple symbols and places trades for any of these symbols.

The back testing system seems like you can only run it against one symbol at a time?

My strategy aims to trade multiple symbols internally then submit the best performing trades to cTrader in backtest so I need to be able to read ticks from multiple symbols within a single trading robot, I believe this should be possible as I read Automate now supports multi-symbol back-testing?

 

Kind Regards,

Aran


@aran.hakki
Replies

amusleh
14 Mar 2022, 08:34 ( Updated at: 14 Mar 2022, 08:35 )

Hi,

It's possible, you can load multiple symbols Bars inside your cBot on backtest and use them.

You can use a symbol Tick event or it's Bars BarOpened event.

cAlgo API Reference - Symbol Interface (ctrader.com)

cAlgo API Reference - Bars Interface (ctrader.com)


@amusleh