Query to get tick data (order book) for bank nifty in real time
-
I've been using the Smart API for months to fetch tick-by-tick data for Bank Nifty. However, recently, I haven't been able to receive real-time tick data. I've tried multiple approaches, including web scraping and various troubleshooting methods, but nothing has worked so far.
Could anyone provide a sample Python script to fetch real-time tick data using the Smart API? Any help would be greatly appreciated! @admin
-
@lakshya_2410 you can use websocket 2.0 for the same.
Here is the document link - https://smartapi.angelone.in/docs/WebSocket2