Fetch Orders By Order type

sayannaskar
sayannaskar edited April 2023 in Python client
Hello,
I am trying to fetch orders by order_type.
kite.orders() fetches all orders.
But I want to get a list of SL orders that are open( not been triggered till now )
Is it possible to fetch only those orders from API?
  • rakeshr
    Is it possible to fetch only those orders from API?
    There is no individual API for this, but you need to fetch orderbook, kite.orders() and filter out those orders based on the status and order_type.
This discussion has been closed.