- 5paisa Python SDK version: 0.7.19
- Python version: Python 3.9
- Operating System: MacOS Sequoia 15.2
I am trying to place order for Derivative segment using api but getting below error. I tried for equity segment and api was working fine. Only for derivates segment I am facing this issue.
11:11:22 | Unexpected UTF-8 BOM (decode using utf-8-sig): line 1 column 1 (char 0)
code snippet:
client.place_order(OrderType='S',
Exchange='N',
ExchangeType='D',
ScripCode = pe_op_scripcode,
Qty=position_size,
Price=pe_last_rate)
I am trying to place order for Derivative segment using api but getting below error. I tried for equity segment and api was working fine. Only for derivates segment I am facing this issue.
11:11:22 | Unexpected UTF-8 BOM (decode using utf-8-sig): line 1 column 1 (char 0)
code snippet:
client.place_order(OrderType='S',
Exchange='N',
ExchangeType='D',
ScripCode = pe_op_scripcode,
Qty=position_size,
Price=pe_last_rate)