Multiple positions

Created at 20 May 2013, 09:24
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!
NI

nirman

Joined 25.12.2011

Multiple positions
20 May 2013, 09:24


Hi cAlgo Team,

can you pls suggest method to initiate and manage multiple positions by placing limit orders?

algo should be able to keep track of all open positions and give a count of all positions that were closed at profit / loss etc.

Thanks and best regards

 


@nirman
Replies

cAlgo_Fanatic
20 May 2013, 12:18

You can start by looking at this example that creates multiple positions:  Multiple Positions.

OnPositionOpened method is triggered when a position is opened and OnPositionClosed when a position is closed by the robot. 

 


@cAlgo_Fanatic