New Label feature
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?
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