After todays update... Trade.IsExecuting is obsolete

Created at 02 Jul 2014, 13:36
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!
Yasen's avatar

Yasen

Joined 28.03.2014

After todays update... Trade.IsExecuting is obsolete
02 Jul 2014, 13:36


Dear developers!

After todays update... I have a Warning 'cAlgo.API.Robot.Trade' is obsolete for the following code

   if (Trade.IsExecuting) return;

What I must use instead ?

Best Regards           


@Yasen
Replies

Spotware
02 Jul 2014, 14:51

Trade.IsExecuting doesn't work with new trading API since it was released:

/forum/whats-new/1937 (22 Nov 2013).

 Why do you want to check it? Do you use asynchronous trade methods? 


@Spotware

Paulo_Lira
07 Jul 2014, 04:30

sorry but how we know markets are open??

sorry but how we know markets are open?? this function is so usefull for weekend...


@Paulo_Lira

Spotware
07 Jul 2014, 10:30

RE: sorry but how we know markets are open??

Paulo_Lira said:

sorry but how we know markets are open?? this function is so usefull for weekend...

There is no such functionality at the moment. You can vote for this feature:

http://vote.spotware.com/forums/229166-ideas-and-suggestions-for-ctrader-and-calgo/suggestions/5688744-api-for-trading-sessions-and-trading-hours-start


@Spotware