getInstruments returning incorrect strike price

arundonni17
getInstruments method (/instruments) is returning incorrect srike price for nifty and bank nifty options. Please let me know if there is any other alternative to find strike price of options.
  • Vivek
    Vivek edited April 2020
    Can you paste it here what you are getting?
  • arundonni17
    10006530
    39088
    NIFTY20DEC10700PE
    NIFTY
    0.0000
    2020-12-31 00:00:00
    3
    Asia/Kolkata
    9999.999999
    0.050000
    75
    PE
    NFO-OPT
    NFO
  • arundonni17
    Instrument Token: 10006530
    Exchange Token; 39088
    TRADESYMBOL:NIFTY20DEC10700PE
    Name: NIFTY
    Last Price: 0.0000
    Expiry Date: 2020-12-31 00:00:00
    TimeZone Type: 3
    TimeZone: Asia/Kolkata
    Strike Price: 9999.999999
    Tick Size: 0.050000
    Lot Size: 75
    Instrument Type: PE
    Segment: NFO-OPT
    Exchange: NFO
  • sujith
    This is what I am getting in the instruments master dump.
    10006530,39088,NIFTY20DEC10700PE,"NIFTY",0,2020-12-31,10700,0.05,75,PE,NFO-OPT,NFO

    We don't have timezone type and timezone in the instruments CSV dump.
  • arundonni17
    I am using the KiteConnect.php (given in Kite Connect PHP library (Docs)) file to parse CSV to array object.
  • arundonni17
    You can close the issue. I had wrongly defined the datatype as DECIMAL (10,6). Increased the size and its working fine now. Sorry for the trouble.
This discussion has been closed.