Read orders already closed

Created at 09 Jan 2018, 11:55
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!
JA

jalmir.coelho@gmail.com

Joined 19.07.2017

Read orders already closed
09 Jan 2018, 11:55


Hello, I would like an example of how to read closed orders, set a period, and cycle through all closed orders. For example read the profit the loss of each order.

 

 


@jalmir.coelho@gmail.com
Replies

PanagiotisCharalampous
09 Jan 2018, 14:59

Hi jalmir.coelho@gmail.com,

Have a look at History collection. You can loop through it and get all the necessary information of past trades.

Let me know if this helps you.

Best Regards,

Panagiotis


@PanagiotisCharalampous