SH
Topics
19 May 2021, 09:53
3075
15
18 May 2021, 15:43
1416
5
18 May 2021, 13:26
1206
1
18 May 2021, 11:50
1243
2
17 May 2021, 07:59
990
2
Replies
shoaibmalek02
26 May 2021, 14:10
swapd0 said:
Hi, I'm having the same error, did you find the solution?
It's an issue of sendCompID. Use "demo.<sendCompID>" if you are using demo account.
@shoaibmalek02
shoaibmalek02
19 May 2021, 07:51
( Updated at: 19 May 2021, 07:52 )
Hi Panagiotis,
Thank you for your response.
I send request with the correct password, host, and port number. But I don't know why I don't get any response.
Thanks & Regards,
Shoaib Malek
@shoaibmalek02
shoaibmalek02
28 May 2021, 07:17
Account Authorization Not Working
# send a ProtoOAAccountAuthReq with data c.emit("AccountAuthReq", ctidTraderAccountId=<cTraderID>, accessToken="<token>")# handle ProtoOAAccountAuthRes messages @c.message(msgtype="AccountAuthRes") def on_account_auth_ok(**kargs): print("Account Authorized") c.stop() # stops client@shoaibmalek02