@Alexander, springing off this post - I have no issues with ordering via demo and replay, but live gives the same
Access is denied message.
I’m using the
live endpoint (
https://live.tradovateapi.com/v1) for the
/auth/accessTokenRequest, and checking my
accountId in the logs, they correspond to the
live account. Is the
order/ family of endpoints looking for
accountSpec XOR / OR / AND
accountId? Since my
tradovate-api-access-token per the example docs is coming from the
live endpoint, I’m not sure what else it could be.
isAutomated is set to
true since the order handling is software driven without manual intervention on my part.
The only thing I can think of is because I’m running my project as a Node.js app instead of a browser / webpack app, I’m using the
v4 function from
uuid from NPM to generate
deviceID, which may be less consistent than
device-uuid per the example projects.
I’ve made sure that my API key is given full access for
Orders, and I don’t believe keys are separate for demo and live.
Are there any other things to look into regarding why live orders are being rejected?