Skip to content
This repository has been archived by the owner on Jul 20, 2020. It is now read-only.

the auth_nonce problem #164

Open
51bitquant opened this issue Nov 24, 2018 · 0 comments
Open

the auth_nonce problem #164

51bitquant opened this issue Nov 24, 2018 · 0 comments

Comments

@51bitquant
Copy link

the bitfinex official docs has explicitly says 'authNonce string An ever increasing numeric string but should not exceed the MAX_SAFE_INTEGER constant value of 9007199254740991."

but in your code , nonce = int(float(time.time()) * 100000) is already greater then 9007199254740991, it may occur some problem in the future, i think the best way for produce the nonce would like the following:
nonce = str( int(float(time.time()) * 100000) )

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant