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

Whook not working bybit is that correct? #1

Closed
mvthul opened this issue Sep 7, 2023 · 4 comments
Closed

Whook not working bybit is that correct? #1

mvthul opened this issue Sep 7, 2023 · 4 comments

Comments

@mvthul
Copy link

mvthul commented Sep 7, 2023

Im getting:

whook\main.py'

17:22:47 * Initializing account: [ WHOOK ] in [ bybit ]
Account creating failed: bybit {"retCode":10002,"retMsg":"invalid request, please check your server timestamp or recv_window param. req_timestamp[1694100204684],server_timestamp[1694100301862],recv_window[5000]","result":{},"retExtInfo":{},"time":1694100301862}

  • FATAL ERROR: No valid accounts found. Please edit 'accounts.json' and introduce your API keys

I filled in a Random account_id name and changed the exchange to bybit.
Added a API key and secret en removed Password info. But still isnt working.

[
{
"EXCHANGE":"bybit",
"ACCOUNT_ID":"WHOOK",
"API_KEY":"APIKEYYYYYYY****",
"SECRET_KEY":"APISECRET*****",
"PASSWORD":""
}
]

Any help please like to test this out :P

@mvthul
Copy link
Author

mvthul commented Sep 7, 2023

Solved by syncing time

@germangar
Copy link
Owner

Can you elaborate in the solution to this one? I never got this issue so it's new to me.

@germangar germangar added the bug Something isn't working label Sep 13, 2023
@mvthul
Copy link
Author

mvthul commented Sep 14, 2023

Yea I was running it with time difference on my host. So it failed after syncing time it started working

@mvthul
Copy link
Author

mvthul commented Sep 14, 2023

You can close issue was on my side

@germangar germangar removed the bug Something isn't working label Sep 18, 2023
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

2 participants