Comments (5)
Yes, I am also getting the same errors, even i tried by different different API Key and Secret Pair, but in Each POST API i am getting "Bitfinex::BadRequestError: Nonce is too small."
Please let us know, if there is some fault from our side in calling those API or anything.
Thank you
from bitfinex-api-rb.
from bitfinex-api-rb.
Thank you for response, as you told us i tried with new API Key-Secret but still i am getting the same again.
from bitfinex-api-rb.
Hi, I'm looking into your issue.
I am unable to reproduce this issue on my end. What I tried is generating a new API key, and then used this gem to place orders and check balances.
The Nonce
is simply an increasing sequence number. This gem is calculating the Nonce
using time.
Some possible causes to the above error:
- Using the API keys with different clients might be calculating the
Nonce
differently (for example, this gem, a Node client, the mobile client, a custom API script might use nanoseconds vs microseconds). Are you using the API keys with any other scripts or clients before the above test? - Using the API key on multiple computers with the clocks time differing could also cause a Nonce error.
Each API key has its own Nonce
. So as long as all clients using that key are calculating the Nonce
the same way and it is always increasing, you should not see the above error. If you are generating a fresh key and only using in the example you provided, we will need to investigate this further.
from bitfinex-api-rb.
Hi,
I fixed this issue. I defined one method for the nonce. Its working fine now.
Thanks.
from bitfinex-api-rb.
Related Issues (20)
- ws v1 ticker API not working anymore? HOT 1
- This is maybe wrong about funding offers
- Implementation of Ledgers endpoint in Ruby?
- WS2 - Order book management code fails checksum audit
- JSON version for Ruby 2.4.1 HOT 1
- Orderbook() turning max of 25 asks and bids HOT 2
- Missing docs for /tickers
- Adding/deleting pair(s)
- Bitfinex::NotFoundError on api v2 trades HOT 1
- Not Indexed response
- api_v2.rb ex : ample
- api_v2.rb example bug HOT 1
- Facing This pair cannot be traded on margin - Bitfinex HOT 1
- Ruby API library dead? HOT 1
- Facing issue with uninitialized constant Bitfinex::Client (NameError). HOT 3
- Unable to activate bitfinex-rb-1.0.2, because json-2.2.0 conflicts with json (>= 2.1.0, ~> 2.1.0) (Gem::ConflictError)
- Bitfinex::BadRequestError: Nonce is too small HOT 3
- FundingTicker not working HOT 4
- Release Github versions to Rubygems HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitfinex-api-rb.