Closed chrisvaneijk closed 2 years ago
Hello @chrisvaneijk 👋
Are you using the script directly from sources or with the docker image and how many times did it fails to synchronize with Kraken time before you executed the sync manually ?
After manually sync Day 1 and a successful run, it fails Day 2 again for same reason.
As a workaround I schedule command W32tm /resync /force before running kraken-dca. Will find out tomorrow if this worked for now.
To me it seems there is less than 1s time-difference allowed local vs. kraken. Might be too tight for some PC's
Thanks for the information, I will try to reproduce the error and increase the time difference tolerance if the error is not from anywhere else.
Can you also try running the script with docker and tell me if the error also happens ?
I increased the lag limit up to 2 seconds maximum, it should be fine by now. You can try re-downloading the sources from main branch.
Let me know if you still have issues.
Have a good day,
Deployed new version - seems good now
Thanks @adocquin
The order is not placed with the error: OSError: Too much lag -> Check your internet connection speed or synchronize your system time.
The script kraken-dca logs: It's 2022-07-06 05:54:29 on Kraken, 2022-07-06 05:54:28 on system
After triggering the sync manually (sync now), the kraken-dca script executed correctly - placing the order. The script kraken-dca logs: It's 2022-07-06 06:02:58 on Kraken, 2022-07-06 06:02:58 on system