Positions.FindAll by Symbol Only

Created at 30 Apr 2015, 23: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!
deklin's avatar

deklin

Joined 31.12.2014

Positions.FindAll by Symbol Only
30 Apr 2015, 23:25


How can I find all positions by symbol, regardless of the label?


@deklin
Replies

mindbreaker
01 May 2015, 17:59

zzzz
foreach (var pos in Positions){ If (pos.Symbol="EURUSD"){ // //closepositionhere }
@mindbreaker