What is the difference

Hi,I was going through upstox API doc and came across 2 topics : 1.Market Quote 2.Market data feed.
which one give latest market data in OHLC pattern in 1min time frame continuously in python code run.

Hi @Pritish_Dash,

  1. Market Quote OHLC: This is a REST API. To retrieve data at a 1-minute interval, pass I1 in the interval query parameter.
  2. Market Data Feed: This is a WebSocket connection. When connected, you’ll receive the OHLC feed in full mode.

For a continuous market OHLC feed, it’s recommended to use the WebSocket connection. This approach helps avoid rate limits, and WebSocket updates typically have lower latency compared to REST API calls.

Please refer to the Market Feeder Documentation for more details.

For an easier implementation of WebSocket functionality, consider using the streamer features available in various SDKs:

Thanks Ketan…

I would like to ask one more thing actually i have written a python code where I am receiving Full market feed through websockket connection.
the issue is only in (Full mode) we get Live OHLC data in 1min/30min timeframe beside other data. but I want only to extract OHLC data in 1 min timeframe from there every time i modify my code its still printing whole data whatever available in (full mode)…so can you plz help me out here so that i can only extract OHLC data in 1 min time frame from live feed.If you like i will share my code.