Closed claytondukes closed 6 years ago
We use microseconds in order to get a higher resolution. We can probably mask off anything above the higher 32-bits. But this is a disruptive change, since it will mean all nonce values will suddenly decrease, which effectively means people will need to regenerate their API keys. So there should be a good reason why we would change our behavior here...
I don't think there is anything that we should do here. Closing the issue.
I noted in Bleutrade's API docs that they say:
But in
bot/Exchange.php
, the nonce is set usingmicrotime( true )
.I'm not sure if this is the cause of the Bleutrade issues, but thought it might be worth investigating.
I also notice that other api's/scripts, etc. just use
time()
so it wasn't clear to me why arbbot is using microseconds.