Searched here and there and got to know that there is an HFT endpoint we can use to reduce latency, but not sure if we can place multi order with the hft endpoint and if we can what url should we use https://api-hft.upstox.com/v2/order/multi/place does this url work ?
Hi @Sushma_50979572 Correct â HFT is applicable only for the Place, Modify, and Cancel Order APIs. The Place Multi Order API does not have an HFT endpoint.
I tried getting historical data but kept getting an error both with v2 and v3 apis. Can someone suggest if v3 is the correct api version to use for all api communications?
Historical candle data
Intraday candle data
Live feed to get alerts
Placing order
Sure, below are the errors when trying to get historical candle data and live market quotes.
â Verifying Real Live Data Fetching â
UpstoxClient is authenticated. Proceeding with live data fetch tests.
[Upstox Client] Fetching live market data (latest 1-min candle) for NSE_INDEX|Nifty 50 from https://api.upstox.com/v3/market-quote/ohlc with params: {âinstrumentKeyâ: âNSE_INDEX|Nifty 50â, âintervalâ: â1minuteâ}
[Upstox Client] Error fetching live market data via API (V3 market-quote/ohlc): 400 Client Error: Bad Request for url: https://api.upstox.com/v3/market-quote/ohlc?instrumentKey=NSE_INDEX|Nifty+50&interval=1minute
Failed to fetch live Nifty 50 Weekly Call Option quote for NSE_FO|52759.
FYI: I am trying to get this data for Sensex/Nifty 50 weekly expiry options. Additionally please suggest the correct instrument keys for these.
Thanks in advance