getOptionChainQuotes

04:42am 29-Nov-2022

getOptionChainQuotes is not working properly.

I am getting this error:

"Status":500,"Error":"Product-type should be either \u0027futures\u0027 or \u0027options\u0027 for Exchange-Code value as \u0027nfo\u0027."

I have typed NFO, NIFTY and options. 

still this error.

breeze.getOptionChainQuotes("NIFTY", "NFO", "2022-12-01", "options", "call", "18000"))

Replies

  • 05:42pm 06-Dec-2022

    You are using wrong syntax. Try below:


    breeze.get_option_chain_quotes(stock_code="NIFTY",
    exchange_code="NFO",
    product_type="options",
    expiry_date="2022-12-22T06:00:00.000Z",
    right="call",
    strike_price="18000")
  • Please Login or Signup
    -