Open API use for Copy Trade
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?
Replies
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.
Need help? Join us on Telegram
Need premium support? Trade with us
@PanagiotisChar
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