min time interval in a cbot

Created at 03 Nov 2014, 13:16
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!
XL

xlcharly

Joined 03.11.2014

min time interval in a cbot
03 Nov 2014, 13:16


Hi to all.

Someone knows which is the min time interval that is possible to use in a bot?

I mean, I need to put an order as near as possible at a date time, say 10.00 am. 

Which is the nearest time that I can give to the bot as entry time? Only in second (or 9.59.59) or I can use msec too? 

Thanks.

 


@xlcharly
Replies

Invalid
03 Nov 2014, 15:39

RE:

Timer accepts two type of parameters:

1. seconds

2. TimeSpan. This one has methods like FromHours, FromMilliseconds

 

            interval = TimeSpan.FromMilliseconds(111);
            interval=new TimeSpan(hours,minutes,seconds);
            interval=new TimeSpan(days,hours,minutes,seconds);
            interval=new TimeSpan(days,hours,minutes,seconds,milliseconds);

xlcharly said:

Hi to all.

Someone knows which is the min time interval that is possible to use in a bot?

I mean, I need to put an order as near as possible at a date time, say 10.00 am. 

Which is the nearest time that I can give to the bot as entry time? Only in second (or 9.59.59) or I can use msec too? 

Thanks.

 

 


@Invalid

xlcharly
03 Nov 2014, 15:54

RE: RE:

Thank you iInvalid.

Best regards.

Timer accepts two type of parameters:

1. seconds

2. TimeSpan. This one has methods like FromHours, FromMilliseconds

 

            interval = TimeSpan.FromMilliseconds(111);
            interval=new TimeSpan(hours,minutes,seconds);
            interval=new TimeSpan(days,hours,minutes,seconds);
            interval=new TimeSpan(days,hours,minutes,seconds,milliseconds);

xlcharly said:

Hi to all.

Someone knows which is the min time interval that is possible to use in a bot?

I mean, I need to put an order as near as possible at a date time, say 10.00 am. 

Which is the nearest time that I can give to the bot as entry time? Only in second (or 9.59.59) or I can use msec too? 

Thanks.

 

 

 


@xlcharly