Get quantity and price of Open Orders

Hi there,

I created a bracket order with TP/SL using the placeOSO endpoint.

Then I’m using the order/list endpoint to get my open orders, however there’s no quantity or price on them. I see from the api docs that they’re not included.

Could you please lmk how to get the price and quantity of my open TP/SL orders?

Thanks.

This is the API that you are looking for:

Hi Frik, thanks for the response.

Maybe there’s a misunderstanding, you linked the Position List API, but I’m interested in Open Orders, such as the TP/SL of a bracket order that are waiting to be filled.

The only thing I see in that api response is bought/boughtValue/sold/soldValue (which could maybe somehow be values for the bracket orders of that position?) but there are no order ids or anything so I assume not.

If you are using the strategy order to create the bracket order you can use the orderStrategy/list endpoint to get the list of your orders, then there you will have your brackets with your TP / SL

For the oco or oso orders I have not yet found a way to find the not filled TP & SL order values. I can find the orderid’s etc but not the values set for the stop loss price and TP. I use the orderstartegy through the websocket and thus use the above but looked in the api docs and did some tests and can not find a way. if it’s there it’s hard to find …as many things in the docs

1 Like

Good news @Edwin_B, looks like this post covers it.

2 Likes

Nice find, will give it a test

Thanks for sharing. I use web sockets and do not have this issue, but good to know what the options are otherwise.

Hope it helps!

Just FYI, I’m getting 404’s with orderVersion/ldeps but orderVersion/deps works ok.

Select last version in the list for current status.