-
-
Notifications
You must be signed in to change notification settings - Fork 48
time zone mismatch #31
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
Comments
@chillmelon , I just release a new version. Would you mind to test it and let me know if it is fixed?
https://pypi.org/project/mqpy/ I also added new documentation. Still have some things to improve, |
I've tested the new version 0.6.11. AFAIK the time issue is solved, that's nice. But here are still some issues I found.
Thank you for building this project, I'm happy to help. |
Thanks for the message and for taking the time to run those checks. I appreciate it. I haven’t had much time lately to improve this project, so your help is welcome. |
Mt5.history_deals_get((datetime.today() - timedelta(days=1)), datetime.now())[-1]
This line will cause index out of range error because datetime use local time zone and mt5 use UTC.
The text was updated successfully, but these errors were encountered: