jonatack / kraken_ruby_client

A Ruby API wrapper for the Kraken cryptocurrency exchange. Emphasis on speed, simplicity & minimal dependencies. Ruby 2.4-2.7.
GNU Lesser General Public License v3.0
43 stars 36 forks source link

Invalid Nonce #27

Open charlesdg opened 2 years ago

charlesdg commented 2 years ago

Hello,

I have sometimes the following error:

{"error"=>["EAPI:Invalid nonce"]}

Do you know what is the problem ? Seems that your nonce is not well generated.

Thanks

charlesdg commented 2 years ago

For your information, I created nonce that I used to authenticate on kraken like that:

api_nonce = ((Time.now.to_f * 1_000_000).to_i << 10).to_s
charlesdg commented 2 years ago

created PR https://github.com/jonatack/kraken_ruby_client/pull/28

charlesdg commented 2 years ago

@jonatack any news for this ? Can I help somehow ?