Jump to content

Recommended Posts

Hello Guys,

I need to last exited trade API in forex account using GAIN API.(I need to Stop and Limit value for last exited trade)

1) How to get last exited trade using GAIN API with response model?


Share this post

Link to post

Hello Suchin,

If you make a ListTradeHistory call, filter for those with a status = 9 (Closed) and sort by date order you will see your most recently closed trade in that list. 

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