We have launched our Websocket API also, recently. The API is gaining popularity amongst algo traders and in case you are interested, you could contact us for the same.
You can find the latest documentation for this Websocket API here >> TrueData Websocket API Documentation
Also, please use this community / forum here to post more queries about the API >> https://bit.ly/TrueData_Websocket_Forum
@Kapil Marwaha - Any updates
We have opened a ticket for you and details send.
Need HTTP api document and information on how to subscribe for it
Please find the TrueData HTTP API Package v 6.1 enclosed.
In this, we have also enclosed the postman collection for all the code.
Please go through the API in detail and revert with queries.
Help Documents >> Click Here
Please contact us over call or Live Chat for the login detais for HTTP/REST API:
Thank you & Best Regards !
I have subscribed to websocket API, but I would prefer to use HTTP REST API if its available. In this thread I see such an API was launched 2 years ago. Is it discontinued now ?
No, the HTTP API is not discontinued.
All documents of the same are also available in this thread.
After you are sure as to what you wish to pursue, send us a detailed email / raise a ticket.
Thanks Aditya. I wish to pursue websocket only, because it is supposed to be faster than HTTP API. But I am worried because, I have been seeing issues in websocket. Very often it disconnects. As of writing this response, I am getting the error -> ....\websocket\_http.py", line 176, in _open_socket
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it
Hence inquiring about the alternative. If it is more reliable and stable than websocket, I would consider using it instead of websocket.
Please note that disconnections could happen due to the following:-
Also please confirm the following to help you further:-
I'm facing the same error while I connect now:
"ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it"
I'm assuming it's because the service might be down for maintenance. As backtesting can work even on weekends, can I request you to move the down time to odd hours, even in the weekends(atleast for the historical APIs) as this is the time which I would spend my considerable amount of time for backtesting.
Replies have been locked on this page!