Close position - Reference to time Created

Created at 23 Feb 2015, 15:45
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!
Forex19's avatar

Forex19

Joined 13.06.2013

Close position - Reference to time Created
23 Feb 2015, 15:45


Is there an API with which is possible to close only the last open position? So that refers to the time "Created".


@Forex19
Replies

Spotware
27 Feb 2015, 14:28

Position object has EntryTime property. You can close position using ClosePosition method.

Hope that helps. If not, we recommend you to contact one of our Partners or post a job in Development Jobs section.

 


@Spotware