python-ctapi
python-ctapi copied to clipboard
Issue with nonce calculation
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).
https://github.com/tehtbl/python-ctapi/blob/7d085a51c57bda842015470b1644e5bccadce788/ctapi/ctapi.py#L101