I am developing a REST client that will listen to market data, based on conditions trigger a new order etc, standard stuff.
Setting up seems overly complex.
I have gone through the step “Settings → Generate API key” and have saved my “secret” and “cid” (as generated).
Now when I try issue the curl command ( as outlined here Tradovate API ) , I am replacing the password field with the “secret” from above and the cid as from above, also my tradovate “Google:1234…1234” , username I use to login to tradovate web login.
cmd:> curl -X POST https://demo.tradovateapi.com/v1/auth/accesstokenrequest
-H “Content-Type: application/json”
-H “Accept: application/json”
-d “{
"name": "your credentials here",
"password": "your credentials here",
"appId": "Sample App",
"appVersion": "1.0",
"cid": 8,
"deviceId": "123e4567-e89b-12d3-a456-426614174000",
"sec": "f03741b6-f634-48d6-9308-c8fb871150c2"
}”
It gives me an error;
{“errorText”:“Incorrect username or password. Please try again.”}
Again, all I want to do is have the right credentials so I can do market data subscriptions and place/cancel/modify orders. Spefifically websockets for market data and REST API for Orders etc.
Can somebody please assist. This seems overly vague, should be real simple (do it on binance all the time).
I am in the EXACT same place. Followed the exact same steps and got the exact same error. @Dylan_Clark were you able to resolve the issue, or did you give up?