kite_basket_order_margins error

SharadKothari
I have kite version kiteconnect-4.0.2.

When I execute kite_basket_order_margins command, giving 'params' as:

[{'exchange': 'NFO',
'tradingsymbol': 'BANKNIFTY2232433000PE',
'transaction_type': 'BUY',
'product': 'NRML',
'quantity': 25,
'order_type': 'MARKET'}]

I get following error:

OverflowError: cannot fit 'int' into an index-sized integer

Please help.
  • sujith
    Can you enable debug logs and paste the complete stack trace here?

    PS: Make sure to remove app and client specific information.
  • SRIJAN
    SRIJAN edited March 2022
    You are multiplying a string, list with very large numbers . This isn't an issue of KiteConnect.
Sign In or Register to comment.