How to obtain the netprofit of a position after taking profit

Created at 09 Dec 2016, 12:48
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!
TH

thekingdomofchen

Joined 08.12.2016

How to obtain the netprofit of a position after taking profit
09 Dec 2016, 12:48


How can I obtain the netprofit of a position that is closed after taking profits?


@thekingdomofchen
Replies

... Deleted by UFO ...

kricka
10 Dec 2016, 19:28

Historical trades

To get that kind of information, have a look at the Historical trade section in the API. 

/api/reference/historicaltrade 

Bought and Sold cBot is retrieving the information from Historical trades regarding the last closed position. 

Information and download link: Bought and Sold cBot

 


@kricka