UNABLE TO READ NIFTY OPTINS QUOTE VIA GET REQ

chaudhariapurva
hi i am calling quote this NIFTY16JUN8200CE quote from my persona app.

My get req is -->GET /instruments/NSE/NIFTY16JUN8200CE?exchange=NSE&tradingsymbol=NIFTY16JUN8200CE&access_token=(hidden)&api_key=(hidden)HTTP/1.1

AND response i get is
{"status": "error", "message": "Exception fetching quote", "error_type": "DataException"}

BUT im able to read through web-socket ??????



  • Kailash
    The exchange you are passing is NSE. It should be NFO.
  • chaudhariapurva
    thanks , Also i would like to know which api function to call to square off a order i have already placed or to just modify the placed order???
  • Kailash
    You have to place an opposite order to square off. So if you have a long position, you send a SELL order with the exact quantity.
  • shubh1610
    Thanks gr8 help!
This discussion has been closed.