not receiving websocket data for MCX:CRUDEOIL23NOVFUT

Hello Team,

I have completed setup for websocket and it was working fine with nifty future prices.

When I subscribed to MCX:CRUDEOIL23NOVFUT it is only sending a price 7307 for 2023-10-03 23:30:00 which is feed exchange time

I am not able to receive updated price

Here is the code


    data_type = "SymbolUpdate"

    # Subscribe to the specified symbols and data type
    symbols = ['MCX:CRUDEOIL23NOVFUT']
    fyers.subscribe(symbols=symbols, data_type=data_type)

    # Keep the socket running to receive real-time data
    fyers.keep_running()

Am I doing anything wrong

2 replies