New Label feature

Created at 04 Mar 2013, 02:25
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!
lec0456's avatar

lec0456

Joined 14.11.2012

New Label feature
04 Mar 2013, 02:25


So, when I place a "request" like this:

var Order = new MarketOrderRequest(TradeDir, TradeVol)
                       {
                           Label = "Trade",
                           SlippagePips = 1,
                           StopLossPips = TradeSL*2,
                           TakeProfitPips = TradeTP
                       };
                    Trade.Send(Order);    

is there a way to directly refer to the trade to close it, modify it, etc.  using the label?

or do I have to iterate through all the positions?

 

 

 


@lec0456
Replies

cAlgo_Fanatic
04 Mar 2013, 12:45

For now, only iterating through all the positions is supported. In the future we will add support for Linq expressions.

 


@cAlgo_Fanatic