Jump to content

Difference between "ListActiveOrders" and "ActiveStopLimitOrders" API Call?

Recommended Posts

I have 3 open trades, with STOP / LIMIT Orders on each trade. I also have 11 PENDING Orders (to open trade at TRIGGER price in future). If I call "ActiveStopLimitOrders" API, I get total 17 results - (3x2+11). If I call "ListActiveOrders" I get NONE.

What's the difference between these two API Calls? In which situation I would see some results for the "ListActiveOrders" call?

*** I am a US Forex Trader.

Share this post

Link to post

Hi Superee,

One note: ListActiveOrders is a HTTP POST call, whereas ListActiveStopLimitOrders is a HTTP GET call. Have you formatted and sent each call correctly?

Using my test account I was able to retrieve results correctly with the ListActiveOrders call. Should you still be having problems with that call, please cut and paste the full code of the call you are sending and the response you receive and we can look at it further.

Kind Regards, PM


Share this post

Link to post

Yes, I was not submitting as POST - so that was the User Error. But no success yet either - following your example.

How are you passing the SessionId value to the POST request? I added session to the BODY, I get Session is not valid. However Session Id is valid - I checked "Session Validation"" and it was valid.

I tried without the SessionId in the body, just like your Attached Pic. I get the same error - Session Not Valid.


Share this post

Link to post


Glad to hear you have figured it out already. For completeness, I submitted the Session and credentials in the Header, which will also work for you.

Kind Regards, PM

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now