Please help as how to get 1 min bar data for any symbol in websocket?
Fyers websocket provides open_price, low_price, high_price and prev_close_price but these prices are daily prices, I want 1min bar prices or Tick-by-Tick bar prices such as bar_open, bar_high, bar_low, bar_close?
The Docs says TrueData API provides bar data but I have not tested TrueData API yet. Is there anyway to get my desired data using fyers websocket?
you can generate 1 min bar data using pandas dataframe. just collect all the ticks from websocket into pandas dataframe and then you can calculate 1 min( or any other mins) OHLC data using group by function.