How to restrict bot operation time?

Created at 13 Feb 2015, 21:31
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!
DI

Dinger

Joined 13.02.2015

How to restrict bot operation time?
13 Feb 2015, 21:31


I want to create a scalper based on a strategy I developed that works very well manually.

I don't know C# so I'm trying to find some basic API for this.

How do I check whether or not current time falls within a certain time zone of several hours? In an IF statement.


@Dinger
Replies

AlexanderRC
14 Feb 2015, 23:13

You may look at the Spotware's Trading Time Interval sample.


@AlexanderRC