-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
fix: closed trades timezone consistency #454
fix: closed trades timezone consistency #454
Conversation
Thanks @uhliksk However, I think the tests are failing. Are you planned to fix them? If not, just let me know and I will be happy to fix and to keep things easier for @chrisleekr when he have time to check. |
@habibalkhabbaz Oops, I didn't checked the tests. You can fix them, of course. Thank you. |
Hello @uhliksk
|
@habibalkhabbaz I think @uhliksk should add you as a collaborator in his forked repository. |
@uhliksk Thanks for your contributions. As soon as @habibalkhabbaz commits tests, I will review and merge in. |
Hello @habibalkhabbaz I've sent you an invite for |
Thanks @uhliksk @chrisleekr |
Hi guys, I pushed some changes. So the principle I get from this PR is,
Did I understand correctly? Let me know if I understand wrong. And one suggestion for @uhliksk
And I also found some lint is not applied. Are you using VSCode? Check the doc - https://github.com/chrisleekr/binance-trading-bot/blob/master/DEVELOPMENT.md#branch-naming-conventions Thanks for your contribution again. :) |
@chrisleekr Thank you for the suggestion. I'll install and use VSCode. |
@chrisleekr |
No issue. Fine to merge for me. |
Very good. |
Description
Related Issue
#449
Motivation and Context
Closed trades were reporting different values on different places in application when day, week or month were selected as reported period of time.
How Has This Been Tested?
Docker container is using UTC time in default settings thus the change will not affect default configurations. In configurations with custom docker container time zone there may be temporary change in order of transactions stored in database if UTC time predeces the local time as the key was previously also generated including the time zone data.
Tested using custom
TZ
variable to change default docker container time zone. On the client side tested on system with time zone other than UTC.Screenshots (if appropriate):