Closed rosevinod closed 9 months ago
Positions data won't contain order numbers. You can use following apis to fetch open orders. None of brokers give order number or even ltp of postions in their postions api. (Can say for 5paisa, zerodha, shoonya, prostocks, fyers ). You need to see positions, get your trading symbols, and then fetch LTP or open orders for those trading symbols and take whatever action you wish to take.
client.order_report()
client.order_history(order_id = "")
@geek-coder Thanks bro.
Dear,
I want to modify the order based on my position. The position data does not contain the order number. I need the order number of open positions to perform any action.
Please suggest. Thanks,