Nifty Future market price
-
I am able to connect to web socket and authentication succeed. I subscribe in LTP mode (mode=1) for nifty future (Nov 2025 contract) and receiving tick data. Nifty Nov future contract token is 38312 based on https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json.
The LTP value in tick data is completely off. How to get right market price from tick data. Snippet of console output:
[DEBUG] Data keys: ['subscription_mode', 'exchange_type', 'token', 'sequence_number', 'exchange_timestamp', 'last_traded_price', 'subscription_mode_val']
[DEBUG] Data sample: {'subscription_mode': 1, 'exchange_type': 2, 'token': '38312', 'sequence_number': 18765872, 'exchange_timestamp': 1762234836588, 'last_traded_price': 7051240, 'subscription_mode_val': 'LTP'} -
https://www.nseindia.com/index-tracker/NIFTY NEXT 50
@abhay15-akshukla Verified from our end we are receiving market data from web socket for NIFTYNXT5025NOV25FUT.
From above link pls cross-verify market data. -
@admin thanks. I was looking fo Nifty futures contract but used wrong token for tick data call. Its sorted now.
-
Thank you @abhay15-akshukla
Happy Trading