Websockets: not able to retrieve market data

Dear all,

Is there any repository of python examples of all the functions of tradovate api? It would be really helpful for the beginners like me who are familiar just with python.

As of now I am looking for the piece of code to fetch 15 minutes bar historical data of NQ futures.

Thanks,
Sunil

The issue is your uri it should look like this which is in javascript you will have to convert to python.

md/subscribeQuote\n ${qouteId}\n""\n${JSON.stringify({ symbol })}

The symbol must be a stringed object symbol:value