Cannot fetch only filled orders

I have a paper trading account,
I am implementing an application using python. I wanted to fetch all open orders.
I tried the API trade_api.list_orders(status=‘open’).
but I am not getting all current orders. When i tried status as ‘all’ or ‘filled’ as status i am getting all my orders which is redundant.

How can i get only orders which are in the trade?

Thanks

Probably your orders did get filled. In that case they would not be open anymore obviously.

1 Like

Thanks for response.
I tried to fetch all orders where status = ‘filled’.
But i am getting orders with status ‘Rejected’ as well which i don’t want.