Hello, I try this:
→ On wss://live.tradovateapi.com/v1/websocket
string endpoint = "auth/accessTokenRequest";
var id = Interlocked.Increment(ref RequestCounter);
string queryParams = "";
string body = "{\"name\":\"" + name_ + "\",";
body = body + "\"password\":\"" + password_ + "\",";
body = body + "\"appId\":\"" + appId_ + "\",";
body = body + "\"appVersion\":\"" + appVersion_ + "\",";
body = body + "\"deviceId\":\"" + deviceId_ + "\",";
body = body + "\"cid\":\"" + cid_ + "\",";
body = body + "\"sec\":\"" + sec + "\"}";
var frame = $"{endpoint}\n{id}\n{queryParams}\n{body}";
websocket.Send(frame);
But I receive an immediately Code: 1000 Reason: Bye
Do you know, what happens here? Thanks!