Jump to content

Forex Position won't close via api


Recommended Posts

I have been running automatically with api on the fx demo platform for some time.

Occasionally when a position has been held for a long time, say >10 hours, my position will not close when instructed by api.

My software then runs a "while loop" continuously trying to close the  position.

later when I check my positions I then realise it's stalled and have to close manually - which it does without a problem.

 

Any ideas gratefully received!

 

Astrikor

Link to comment

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
×
×
  • Create New...
us