TrueData Market Data API
1.42K subscribers
68 photos
12 videos
5 files
67 links
This TrueData Market Data API channel provides you with API Updates and implementation ideas.

Real time via Websockets
Historical via REST

Website > https://www.truedata.in/api
Download Telegram
Issues with the websocket-client 0.58.0 package

We have noticed that the latest version of the websocket-client package which is version 0.58.0 is causing issues in the Real time Websocket connection.

If you have upgraded to this library, and are facing issues, please downgrade to websocket-client version 0.57.0 till a more stable version of the package is updated.

pip install websocket-client==0.57.0
Server Maintenance Timings

Please note our server maintenance timings on working days and weekends.

Services may be resumed earlier than the end of these timings, however these times are blocked for maintenance and if you have any issue during this time, please wait out the maintenance period.

https://feedback.truedata.in/knowledge-base/article/service-maintenance-timing
Few tweets of interest for all
**Python Library Upgraded v 3.0.1**

If you are using the python library, please know that the library has been upgraded to version 3.0.1 Please upgrade to the latest version.

pip install --upgrade truedata-ws

or

pip install truedata-ws==3.0.1

This library addresses the following issues:-

1) REST Historical data implemented resulting in super fast downloads of Historical data
2) Websocket Historical API Deprecated
3) Get Bhavcopy added
4) Readme.md updated to make it more explanatory with more details and sample codes
5) Debugged for dependency changes in websocket-client. Now the library works with the latest version of websocket-client (0.58.0) also.

https://pypi.org/project/truedata-ws/

> The library integrates seamlessly with the REST Historical data backend
> Users upgrading from older versions of the library, should not need to change their code in any way.

We are open to receiving any feedback for the same.
Raw data feed documentations would also be updated shortly.
TrueData Market Data API
Issues with the websocket-client 0.58.0 package We have noticed that the latest version of the websocket-client package which is version 0.58.0 is causing issues in the Real time Websocket connection. If you have upgraded to this library, and are facing…
The issue was the dependencies which were upgraded > websoccket-client = 0.58.0.
It is always difficult when dependencies are changed.
If you stuck with websocket-client 0.57.0 you would have not faced any issue.

However, in the new python library upgrade (v 3.0.1) we have debugged for this dependency and made it available.
TrueData Market Data API Documentation v 2.1

Please find the updated documentation for the TrueData Market Data API. This document outlines:-

1) New Historical REST implemented
2) Historical Websocket - Deprecated (Closure date - 30 April 2021)
3) New feature > get bhavcopy eod status, get bhavcopy
4) New feature > get LTP (via REST)
5) Postman collection provided for faster integration / development with the Historical REST API

..lots more... Go through the following documents to know more.

1) TrueData Market Data API Documentation v 2.1.pdf > https://www.dropbox.com/s/ftxetq7mbqjh9e7/TrueData%20Market%20Data%20API%20Documentation%20v%202.1.pdf?dl=0

2) TrueData_History_REST_API_v1.1.postman_collection (To quicken your Development) > https://www.dropbox.com/s/mon2horjnx9nt97/TrueData_History_REST_API_v1.1.postman_collection.zip?dl=0

3) Entire Documentation Folder > https://www.dropbox.com/sh/cpba3vkccsfapkh/AADIBn36OaBbiu_jMXzXRQdka?dl=0
Launching soon - nodejs library

We are excited to announce that along with the python library upgrade we would now also he launching our nodejs library for the market data APIs within a couple of days.

We have completed all work required towards that and are in the final testing stages.

The nodejs library also has the Historical REST APIs implemented and is ready to go.

Though everything is ready we are calling this a Beta release, as we wait for feedback from our wonderful community.

Cheers to your success 🥂
nodejs Library Launched

nodejs Library for the market data API has been launched - ver 1.0.3

We have tried to make things as simple as possible. Hope it helps !

Check it out > https://www.npmjs.com/package/truedata-nodejs

Feedback is welcome > Raise Tickets / Send us Ideas / Ask a question here > https://feedback.truedata.in/ticket/add
HISTORICAL DATA VIA WEBSOCKET - SERVICE WILL TERMINATE on 30 APR 2021

Please note that the Historical data service via WebSocket has been deprecated and the service will terminate completely on 30 Apr 2021. There will be no extension of this service.

In fact, we are keen to terminate this service as soon as possible, provided every one can shift to the REST API service. This would surely improve the experience for everyone.

If you are using the WebSocket API for historical data, you are requested to shift immediately to the new and Blazing Superfast REST API service for Historical data.

Users using the Python & nodejs libraries need to do nothing except to update to the latest versions of the respective libraries and experience the new and blazing fast feed.
NSE Currencies - Now live on Websocket

The NSE Currency Derivatives Segment (NSE CDS) Real time feed is now live over Websocket. This Historical Data is also enabled via REST.

Now get all Currency futures and options into your algos and apps at blazing fast speed. (eg. USDINR-I, EURINR-I, JPYINR210430FUT, JPYINR-I, JPYINR21APRFUT, USDINR21042875CE etc...)

Please connect with us over email if you are interested in subscribing to this feed.
NSE Currency Derivatives - Now Live on the TrueData Market Data API
nodejs library updated - version 1.0.5

A new update of the nodejs library has been published.

https://www.npmjs.com/package/truedata-nodejs

The key changes in this library includes the addition of the symbol id in the Historical data REST return in case needed by the client.

The Default Historical REST data return includes the symbol name but does not include the symbol id.

Default > getSymbolId = 0
Need symbol Id in History REST return > getSymbolId = 1
.
Python Library Updated - version 3.0.2 - Automatic reconnect enabled

We are exited to announce the update of our Python library which now includes:-

> Automatic streaming Websocket reconnect enabled.
> Automatic subscription of symbols & restart of live data after reconnect.

So, in case of a Websockets disconnection, the library will check for the internet connection and once the connection is steady will try to re-connect the Real Time Websocket, automatically.

Once the Websocket connection is reestablished, the library will automatically re-subscribe the symbols & restart the live data seamlessly.

Please update your library to version 3.0.2 and see the magic yourself by disconnecting and reconnecting your internet cables 😁

Read more > https://pypi.org/project/truedata-ws/

Coming soon next:-

1) Top Gainers & Losers
2) Ability to now get tick & 1 min data simultaneously at the same time with this library (If subscribed for)
C# .Net Sample Project (code & Sample Release build) updated to Work with Historical (REST) APIs

1) C#.NET Sample project (TestWS) updated for the latest real time streaming updates

2) This project is updated & integrated with the Historical (REST) APIs also.

3) The Release build contains the sample app where you can enter your login details and test.

4) You can test real time data flow, historical data and also download the entire symbol list.

5) Please note that this is only a sample project. You need to pick up things from here and put them in your own app.

6) Direct Link to C#.Net folder in main Sample Code & Documentation folder > https://www.dropbox.com/sh/675xq5vbtcfsjg5/AADfdD6VGaC-Wg20xGQ1WMr6a?dl=0

Happy Coding ! 😊
NSE - Open Interest updates frozen and not updating anywhere.
OI has started updating now from the exchange