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.

Illegal characters found in parameter 'price'

See original GitHub issue

Illegal characters found in parameter ‘price’ for binance XVG - ETH. Not sure if api changed, this worked yesterday

Not getting this in BTC trades.

  • OS: linux
  • Programming Language: nodejs
  • CCXT version: 1.10.508
  • Exchange: binance
  • Method:
[ { size: '5397.74659822',
    orig_size: '5397.74659822',
    remaining_size: '5397.74659822',
    orig_price: '0.00020651',
    cancel_after: 'day',
    product_id: 'XVG-ETH',
    type: 'limit',
    side: 'buy',
    post_only: true } ]
An error occurred { Error: binance {"code":-1100,"msg":"Illegal characters found in parameter 'price'; legal range is '^([0-9]{1,20})(\\.[0-9]{1,20})?$'."}
    at binance.handleErrors (/app/node_modules/ccxt/js/binance.js:752:27)
    at response.text.then.text (/app/node_modules/ccxt/js/base/Exchange.js:433:18)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7) constructor: [Function: ExchangeError] }

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
lnguyencommented, Dec 29, 2017

Closing for now, I was running code that caused this issue and need to see what difference is between updated code and old code

1reaction
lnguyencommented, Dec 29, 2017

Interesting the post is getting a null value for price. Let me see if I can trace that down.

Read more comments on GitHub >

github_iconTop Results From Across the Web

APIError: code=1100. Illegal characters found in parameter ...
Hi, I seem to have a problem using small floats as parameters with the Client.create_order() function. It seems like if the float is...
Read more >
Illegal characters found in parameter 'price' Python Binance
As the error stated the order prices need to be given as a string not as a number. It also showed you the...
Read more >
Binance US Python API - Illegal characters found in a parameter
Anyone have any experience with this error? I am on a Mac Big Sur with Python 3.8.5 running in Jupyter notebook.
Read more >
Binance US: Illegal characters found in a parameter.
Hello,. I'm trying to fetch some GET routes with Binance US API but for a huge quantity of endpoint I only have the...
Read more >
'Illegal characters found in parameter 'quantity'; legal range is...'
The type of parameter 'quantity' is decimal, so I converted it from float type into decimal type. But it says illegal characters found...
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