KiteConnect.DataException: Unable to parse data - Error in KiteConnect.Kite.GetPositions()

onlineRaman
I am getting this error very frequently:

KiteConnect.DataException: Unable to parse data. {"tradingsymbol":"SAIL","exchange":"NSE","instrument_token":758529,"product":"BO","quantity":28,"overnight_quantity":0,"multiplier":1,"average_price":35.35,"close_price":0,"last_price":35.35,"value":-989.8,"pnl":1.1368683772161603E-13,"m2m":1.1368683772161603E-13,"unrealised":1.1368683772161603E-13,"realised":0,"buy_quantity":28,"buy_price":35.35,"buy_value":989.8,"buy_m2m":989.8,"sell_quantity":0,"sell_price":0,"sell_value":0,"sell_m2m":0,"day_buy_quantity":28,"day_buy_price":35.35,"day_buy_value":989.8,"day_sell_quantity":0,"day_sell_price":0,"day_sell_value":0}
at KiteConnect.Position..ctor(Dictionary`2 data)
at KiteConnect.PositionResponse..ctor(Dictionary`2 data)
at CallSite.Target(Closure , CallSite , Type , Object )
at KiteConnect.Kite.GetPositions()
Tagged:
  • sujith
    This shouldn't happen. Can you let us know more about this issue?
    Please let us know which version of the library you are using, your setup and some more details to debug or reproduce.
  • jeevansevar
    Even i am also gettin same error i am using 3.0 version API

    Unable to parse data.
    {"tradingsymbol":"SBIN","exchange":"NSE","instrument_token":779521,"product":"MIS","quantity":1,"overnight_quantity":0,"multiplier":1,
    "average_price":332.4,"close_price":0,"last_price":331.7,"value":-331.70000000000005,
    "pnl":-5.6843418860808015E-14,"m2m":-5.6843418860808015E-14,
    "unrealised":-5.6843418860808015E-14,"realised":0,"buy_quantity":5,"buy_price":332.4,"buy_value":1662,"buy_m2m":1662,"sell_quantity":4,"sell_price":332.575,"sell_value":1330.3,"sell_m2m":1330.3,"day_buy_quantity":5,"day_buy_price":332.4,
    "day_buy_value":1662,"day_sell_quantity":4,"day_sell_price":332.575,"day_sell_value":1330.3}
Sign In or Register to comment.