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

Issue with nonce calculation #11

@spmcelrath

Description

@spmcelrath

The current nonce calculation in the api_query method takes the current time in seconds via time.time() and multiplies it by 10. Using this unorthodox nonce value makes it difficult to use a single cointracking API key outside of this library, where more standard nonces are used (current UNIX time in seconds or milliseconds).

'nonce': '%d' % int(time.time() * 10),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions