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

log messages with mixed time (maybe time zone related) #33

Closed
lozass opened this issue Apr 8, 2021 · 3 comments
Closed

log messages with mixed time (maybe time zone related) #33

lozass opened this issue Apr 8, 2021 · 3 comments

Comments

@lozass
Copy link

lozass commented Apr 8, 2021

Hi Michael

First, let me congratulate you for the great work and for taking the time to share it. I have installed pycryptobot on my Windows 10 box and it is running, so far no orders were triggered though. I have it using Binance and configured for BTC-BRL pair.

I noticed that there seems to be a mix of local time in some messages and a different time in others. I am posting a screen capture so you can see. My system is configured for ETC-3 (Brazil). You will see that at the time I took the capture (local time was about 16:44) there are previous messages showing time at 19:30. Maybe some messages derive time from the API of Binance? Or something related to time zones.

pycryptobot

Let me know if you need more info on the case.

@whittlem
Copy link
Owner

whittlem commented Apr 8, 2021

It looks like the data being processed is returning the timestamp from the exchange and the polling of the price is using your local time. I don't think this would actually be causing a problem. It's more of a cosmetic issue. I'll take a look at how I can fix this for you.

@whittlem
Copy link
Owner

I've resolved this issue. The "Current Price" time should now be in the exchange time now instead of your local time.

@delphsmith
Copy link

I still get that issue,
are we supposed to launch script-get_time.py everytime we run the bot ?

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

3 participants