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
5 min bar streaming

Now live on your API (Port 8083). This is not activated by default.
To activate please send an email to support@truedata.in
Photo from Kapil Marwaha
There was a small error in the trade tick fields documentation. We had missed out to mention the Day's turnover in the api document. Which is also available in the feed. This was brought out by one of our patrons using the feed. Thank you for your valuable feedback.

Document has been updated. Same Dropbox links work for the updated documents.
Trade (Ticks)

Symbol ID, Date Time (Timestamp), LTP, LTQ, ATP (Average Traded Price – for the day), TTQ (Total Traded Qty – Volume for the day), Open, High, Low, Prev Close, OI (Open Interest), Prev Open Int Close, Day’s Turnover, Special Tag (”O/H/L” or “”), Tick Sequence No, Bid, Bid Qty, Ask, Ask
👆The following fields 👆come with every tick in the new set up currently available on port 8083
This would move to production on 16 Jan 2021
FINNIFTY Launch

We have been setting things up for the FINNIFTY launch - Monday, 11 Jan 2021.

As FINNIFTY would be the first symbol to have both weekly and monthly futures, we have set up our backend to enable both weekly continuous futures along with the monthly continuous futures..

More details soon !
Today's downtime was longer to accomodate the same. Things are up and running now ! 😄
Weekly FINNIFTY futures - Update

>FINNIFTY Monthly Contract Futures - Available
>FINNIFTY Monthly Continuous futures - Available
>FINNIFTY Weekly Contract Futures - Available
>FINNIFTY Weekly Continuous futures - Currently not available due technical reasons. Will need to observe these weeklies for a couple of days & update availability within a few days.
This is the final list of Continuous Futures Formats for Weekly Futures! We will follow the same for any new Weekly Futures which the exchange launches in future.
We are pushing a python library update soon. This update will cater for the new feed available on port 8083/ 8093.

This library will integrate seamlessly, to the earlier version, however, you may need to work on your code to ensure that it works without breaking your code as there are additional fields in the touchline and trade Ticks, which may affect your code.

Please check ur code for the same prior to the date of migration.
Python Library ( For test) Updated - Test your code and keep it ready for the shift to the new feed on Saturday, 16 Jan

We have pushed a parallel update to the current Python library for you to test and accommodate the updates with the new feed. This update also comes with lot of improvements.

This update of the library works only with ports 8083 / 8093 for now. This library would start working with the other production ports also from 16th Jan once the new feed is made to flow into those ports also.

The version is 0.0.402. Use this to test your code and adjust it to the new WebSocket feed.
Link > https://pypi.org/project/truedata-ws/0.0.402/ (pip install truedata_ws==0.0.402). Please use the sample code given in the ReadMe.

On Saturday (16th Jan), we would be uploading version 2.0.1, which would be compatible with all ports.

This library would integrate seamlessly, to the earlier version depending upon the way you have implemented your code. You may, however, need to work on your code to ensure that it works without breaking your code. This is because there are additional fields in the touchline and trade Ticks, which may affect your code. Please check your code for the same prior to the date of migration.

If you wish to keep using the current production feed which is live on the production ports, you can continue to use the current library versions (1.0.1) with the existing feeds on ports other than 8083/8093 up until the update is pushed on 16th Jan.

Please send any feedback / queries to us at support@truedata.in
New feed porting to Production Ports pushed by 1 week - 23 Jan 2021

Due to huge demand & a lot of requests from our patrons, we are extending the date of porting the new Feed on the Production Ports by one more week (23rd January 2021).

New Feed would now be made available on the Production Ports from 23rd January 2021. There would be no further extension after 22nd January 2021.

Current Availability:-

1) New Feed as per documentation 1.8 (TrueData - New Websocket API v 1.8.pdf) available on Ports: 8083/8093.

2) Old Feed is deprecated; however, available on Ports: 8082/8092 and 8084/8094 up to 22nd January 2021.

Dropbox Folder > This folder is all in one. Has the entire documentation & sample codes. >> WebSocket Dropbox folder
Python library truedata-ws - pypi update pushed

The latest version of the python library package for the new feed has been pushed. Version 2.0.1

Please note that this version is not compatible with the older real time data feed.

On 22 Jan this version will run only on real time ports 8083

From 23 rd onwards on all production real time ports also - 8082/8084


If you are ready to upgrade your package, run
pip install --upgrade truedata-ws

You can always revert to earlier version, with
pip install truedata-ws==1.0.1

Please check the Readme and raise a support ticket for queries.

Check it out at >>
https://pypi.org/project/truedata-ws/