what's the expected OANDA time slippage?

Posted By: vinitrinh

what's the expected OANDA time slippage? - 02/02/23 03:41

Hi

I've been trading with OANDA for a good time.

With my Python implementation, I get a slippage of about 30 seconds, which I thought isnt great

But recently as I switched to Zorro, I'm getting filled as long as 50minutes late.

I set Zorro to exitLong at hour==22 on barPeriod==60, but the exit orders are getting filled as late as 22:54!

Is there a way I can troubleshoot this incredible lag?

Its probably my implementation, but the lag is quite unusual, lagging consistently either 20-21min or 50-53 minutes which is a bit too specific.
Posted By: vinitrinh

Re: what's the expected OANDA time slippage? - 02/02/23 09:56

Hi,

As I'm checking, the issue seems to be Zorro 2.53.6, but when I switch back to Zorro 2.48.1, the problem is solved.

It seems that Zorro (2.53.6) is unable to load bars timely from OANDA's API.
For instance, the run() function is supposed to run at Hour 2:00, but runs at random timings 2:53, for some reason.

Will update more as I experiment further into this.
© 2024 lite-C Forums