joeldg / bowhead

PHP trading bot framework
Apache License 2.0
801 stars 288 forks source link

Change Nonce in Bitfinex Api #67

Closed Filoz closed 6 years ago

Filoz commented 6 years ago

Hi, I get "Nonce is too small." when I try to get balance in Bitfinex (using rest API). Changing the nonce from
$data["nonce"] = strval(round(microtime(true) * 10,0)); to
$data["nonce"] = strval(round(microtime(true) * 10000,0)); solved the problem

Others bot had the same problem: https://github.com/BitBotFactory/poloniexlendingbot/issues/470

rxmg-joeldg commented 6 years ago

Thanks