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

the auth_nonce problem #164

Description

@51bitquant

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) )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions