API for Done Orders

Created at 29 May 2018, 20:08
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!
fxwisdom1@gmail.com's avatar

fxwisdom1@gmail.com

Joined 18.05.2018

API for Done Orders
29 May 2018, 20:08


I hope you guys can have an API that allows us to loop through DONE ORDERS.

I need to get the Submitted Price and Filled Price so that way I can get the price difference/slippage.


@fxwisdom1@gmail.com
Replies

PanagiotisCharalampous
30 May 2018, 10:54

Dear Trader,

You can get the executed deals either by using History in cAlgo.API or using Connect API

Best Regards,

Panagiotis


@PanagiotisCharalampous

fxwisdom1@gmail.com
30 May 2018, 13:16

RE:

Panagiotis Charalampous said:

Dear Trader,

You can get the executed deals either by using History in cAlgo.API or using Connect API

Best Regards,

Panagiotis

Thanks for the reply.

 

Kindly explain /api/reference/historicaltrade

What's the difference between positionID and closingDealId?
I can't find OrderId in there

 

Thank you


@fxwisdom1@gmail.com

fxwisdom1@gmail.com
30 May 2018, 13:28

RE:

Panagiotis Charalampous said:

Dear Trader,

You can get the executed deals either by using History in cAlgo.API or using Connect API

Best Regards,

Panagiotis

One more thing, where can I get the Submitted Price  from the history?

Thank you


@fxwisdom1@gmail.com

PanagiotisCharalampous
30 May 2018, 15:48

Hi fxwisdom1@gmail.com,

You can read more about orders, seals and positions here. However information about Submitted Price is not available in cAlgo.API or in Connect API. I will discuss this with cAlgo team and check if we can add this field in the API.

Best Regards,

Panagiotis

 


@PanagiotisCharalampous