Demo account verification error ?
Created at 06 Jul 2019, 09:56
Demo account verification error ?
06 Jul 2019, 09:56
I'm using the generated protobuf messages from Open-API-2.0-.Net-Sample.
The accounts are demo accounts on the live system.
I use the following parameters to log in.
clientId = "178_bksI2VoPV1DXcpfvdcylCSVgNto35ZsdftlaSaEEz6S348pxLEN7";
clientSecret = "S7nddPMfQFeAh8MjCznVEsDfJ35DyHIeQJpAaCf2ktuVdbGfAU"
Host: demo.ctraderapi.com
Port: 5035
accountID = 3520046
token = "UGVX5321"
when I send ProtoOAAccountAuthReq, I received error missage:
errorCode:CH_CTID_TRADER_ACCOUNT_NOT_FOUND, description:Unable to find cTID trader account with id=3520046}}
Why?
PanagiotisCharalampous
08 Jul 2019, 10:29
Hi 66281850,
It seems you are using the trading account number instead of the account ID. Please try using ProtoOATrader.ctidTraderAccountId and let us know if this works.
Best Regards,
Panagiotis
@PanagiotisCharalampous