How to detect if in backtesting or live trading mode?

Created at 19 Apr 2021, 00:09
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!
AR

arturbrylka

Joined 11.05.2020

How to detect if in backtesting or live trading mode?
19 Apr 2021, 00:09


How to detect if in backtesting or live trading mode? Thank you.


@arturbrylka
Replies

PanagiotisCharalampous
19 Apr 2021, 08:52

Hi arturbrylka,

You can check the cBot's RunningMode.

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous