question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Poloniex Nonce error

See original GitHub issue

This small code:

import ccxt
poloniex = ccxt.poloniex()
poloniex.apiKey = 'xxxxxxxxxxxxxxxxxxxxxxxxx'
poloniex.secret = 'xxxxxxxxxxxxxxxxxxxxxxxxxx'
print(poloniex.private_post_getmarginposition({'currencyPair': 'BTC_XMR'}))
print(poloniex.private_post_returnmarginaccountsummary())
marginbalance = poloniex.private_post_returnmarginaccountsummary()
print(marginbalance['totalValue'])

produce strange error

ccxt.errors.ExchangeNotAvailable: poloniex POST https://poloniex.com/tradingApi 422   {"error":"Nonce must be greater than 1508002069. You provided 1508002069."}`

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:23 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
mazertwocommented, Oct 14, 2017

After update, work without sleep(). Brilliance work and support! Thank you!

1reaction
mazertwocommented, Oct 14, 2017

Igor, you great man! I add sleep (1) before every order operation, and ta da… work correctly 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Poloniex returns "Nonce must be greater than ..." #6335 - GitHub
When I use createOrder or fetchOrder or some other method on Poloniex, sometimes I get this message from poloniex poloniex {"error":"Nonce ...
Read more >
Nonce must be greater than error Poloniex : Cryptohopper
Hopping on Poloniex? If you see the following error in your hoppers output: Could not get open orders: Nonce must be greater than...
Read more >
Solutions For Nonce Error Caused By Threaded API Calls?
The API requires each call to have Nonce greater then the last call. I'm generating Nonce using this code: req['nonce'] = int(time.time()* ...
Read more >
Exchanges — ccxt 2.4.71 documentation
If you are getting nonce errors with an existing key, try with a new API key that hasn't been used yet. Check your...
Read more >
Introduction – Poloniex New Trade System Spot API Reference
Poloniex provides both HTTP and websocket APIs for interacting with the exchange. Both allow read access to public ... Below are the error...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found