Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_realtime_candles() late 3 to 5 seconds #337

Open
Mukasa-Joshua1 opened this issue Sep 22, 2022 · 0 comments
Open

get_realtime_candles() late 3 to 5 seconds #337

Mukasa-Joshua1 opened this issue Sep 22, 2022 · 0 comments

Comments

@Mukasa-Joshua1
Copy link

Script I run uses local time to get real_time 1 minute candles once every minute. Doing this, I always get the previous candle instead of the current candle. So to get around this, I make the program sleep 3 to 5 seconds and that way I'm able to receive current candle but this compromises my entries. I have late entries because real time candle is never available for pulling up to 3 seconds later. Why is this so? Can it be fixed?
BTW, iqoption server time is 3 seconds behind my local time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant