Algo Trading Webinar Series - FXCM Rest API and Automated Trading

Hello
This algorithm is based on the ALGO TRADING WEBINAR VIDEO: PT 3

the problem is this:


When ‘going long’ next position is ‘closing’ then goes into an endless loop
how can i avoid this?

thanks in advance

Hi @franlm1, we are taking a look at the code from our end to make sure there are no issues. We will reply back shortly.

I really appreciate that

Hi @franlm1 I am not seeing any issues from our end. Can you send your code to me at grace@quantnews.com so that I can take a look at it in more detail? I see you are using Jupyter so you can send it as a .py file if that works for you.