Open API use for Copy Trade

Created at 03 Feb 2023, 14: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!
CT

ctid5721669

Joined 03.02.2023

Open API use for Copy Trade
03 Feb 2023, 14:24


Hi,

we are creating a new application for copy trading which will be used to get trading data from ctrader and then will replicate on other accounts. We want to use Open Api for this purpose.

we are trying to authenticate using ClientID, client Secret, Token and Account id but we are facing below error while authenticating.

Send: ProtoMessage{ReconcileRequest{}}
Received: ProtoMessage{ErrorResponse{errorCode:INVALID_REQUEST, description:Trading account is not authorized}, clientMsgId:Client Message}

Could you please help us on this issue?

 


@ctid5721669
Replies

ctid5721669
06 Feb 2023, 09:02

Open API use for Copy Trade in .NET

Can you please help us on the issue posted above?


@ctid5721669

PanagiotisChar
06 Feb 2023, 10:49

Hi there,

It's hard to determine what the issue is based on the provided information. What messages did you send and in which order? Why are you sending a reconcile request? It seems you are sending messages before your trading account has been authorized. You should read about the correct connection process here.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@PanagiotisChar