Skip to content

BITZ nonce issue #2165

@jed057

Description

@jed057
  • OS:
  • Programming Language version: Python
  • CCXT version: latest
  • Exchange: BIT-Z
  • Method: nonce()

In my application I need to periodically query balances and open orders in a relatively high frequency. Then I got an error with 'nonce must be a 6 dig string' or something after several minutes.. it is a 100% reproducible issue.

When I doing some logging I found the generated nonce was an incremental 6 digits (each time) so I guess it will exceed 999999 finally.

I have tried to use the random lib to generate a random 6 digit string and test again it looks the issue never happen again. (there could be other solutions..)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions