Closed Trades
Created at 06 May 2015, 10:25
Closed Trades
06 May 2015, 10:25
Is there any way to check if a trade is closed manually?
I want to maintain my trades in a list of classes (that handles stoploss, for neatness sake) that hava a reference to the opened position. But I can't delete the entry from the list once the trade is closed without iterating though the list and doing a .Equal().
Can I currently check a Position's state directly to find if it is open or closed?
Spotware
17 Jun 2015, 18:01
Dear Trader,
if a position is in the Positions collection then it is open. Otherwise it is closed. You cannot understand if the Position was closed manually.
@Spotware