Open nerod10 opened 1 year ago
In my case what I do is, to pass the dates using the time from the epoch in ms (as integers) taking into account my local time (UTC+9). Then I obtain the output in UTC, hope it helps ;)
On Mon, Nov 21, 2022 at 6:16 nerod10 @.***> wrote:
for example: when I call with start_str='2021-06-14 16:50', end_str='2021-06-14 23:12', i need to add 'utc+0300' to get the correct result but when I call with start_str='2022-02-01 22:30', end_str='2022-02-02 04:15', i need to add 'utc+0200'. how can I implement a solution so it will return the correct result using correct GMT offset?
thanks
— Reply to this email directly, view it on GitHub https://github.com/sammchardy/python-binance/issues/1270, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEB4DPXLY5ZKDP2TD5YY7Q3WJKILDANCNFSM6AAAAAASGA76QM . You are receiving this because you are subscribed to this thread.Message ID: @.***>
for example: when I call with start_str='2021-06-14 16:50', end_str='2021-06-14 23:12', i need to add 'utc+0300' to get the correct result but when I call with start_str='2022-02-01 22:30', end_str='2022-02-02 04:15', i need to add 'utc+0200'. how can I implement a solution so it will return the correct result using correct GMT offset?
thanks