Open shusinghal opened 8 months ago
can i see the code u are on
I copied the above from your example in postman. I also looked at your GitHub doc example. I ran your API and it gave same result. This means that above example is actual result and not a dummy one.
This is the response of your script API that fetches ohlc of any stock using instrument token.
i think it is a server error and @Kotak-Neo should correct it
[{'last_traded_time': '31/10/2023 15:54:00', 'volume': '1965042', 'last_traded_price': '219.65', 'last_traded_quantity': '185', 'total_buy_quantity': '329', 'total_sell_quantity': '0', 'buy_price': '219.65', 'sell_price': '0.00', 'buy_quantity': '329', 'average_price': '219.86', 'lower_circuit_limit': '197.70', 'upper_circuit_limit': '241.60', '52week_high': '295.00', '52week_low': '191.55', 'open_interest': '2147483648', 'multiplier': '1', 'precision': '2', 'change': '-2.25', 'net_change_percentage': '-1.01', 'total_traded_value': '432034134.12', 'instrument_token': '11373', 'exchange_segment': 'nse_cm', 'trading_symbol': 'BIOCON-EQ', 'ohlc': {'open': '222.20', 'high': '223.45', 'low': '217.50', 'close': '221.90'}}]
Your last_trade_price is actually the close price. Your close price in OHLC is the previous day close price. There is no last traded price in your response.