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

Data delayed by 15 minutes even after authenticating #25

Open
grantreighard opened this issue Jan 13, 2022 · 0 comments
Open

Data delayed by 15 minutes even after authenticating #25

grantreighard opened this issue Jan 13, 2022 · 0 comments

Comments

@grantreighard
Copy link

Alex, thank you so much for an awesome repo. I have been following along and getting everything to work just fine until now. However, on video 14, I used the trading_robot.wait_till_next_bar(last_bar_timestamp=last_bar_timestamp) line, and when I print out print("Time to wait {time_to_wait}".format(time_to_wait=time_to_wait_now)) before resetting it to 0 if negative, I get a value between -960 and -900. This indicates to me that the data is 15 minutes delayed, even though I've freshly authenticated. Also note that the time to sleep is set to 0, so it refreshes every second.

What can I do to fix this?

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