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.

EXMO - create_market_buy_order() parameters problem

See original GitHub issue

OS: Windows 7 Programming Language version: Python 3.6 CCXT version: 1…11.10 Exchange: EXMO Method: create_market_buy_order()

@kroitor Unfortunately I was too tired to understand what happened.

In my bot, if the last price is below some point, I open a market order if it is above that point and below another reference I use a limit order…

Yesterday, I copied the wrong method when I created this post even though I was doing the right thing.

The errors described above was happening on this line of code:

compra = self.conn.create_market_buy_order(PAR, volume)

the error:

exmo {"result":false,"error":"Error 50049: Parameter is not a number 'price'"} Can you help?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Akhtemcommented, Feb 20, 2019

Yes , you are right . I tried to put.
decimal price = 5.555; <string , price.ToString()>
And after this i got an error. But when i wrote Convert.ToString(price, CultureInfo.InvariantCulture); instead of price.ToString(); . It’s okey.

1reaction
vvinnicommented, Mar 8, 2018

@kroitor thank you very much!

Things are working properly here!

Excelent work!

Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

ccxt Documentation - Read the Docs
After exporting the above variables with your proxy settings, ... only use the "proxy" setting if you're having a problem with Access-.
Read more >
Getting class Exchange not found? ▷ Download ccxt/ccxt +++ ...
Please go to our download page to download this composer package and to solve the problem class 'Exchange' not found. Download ccxt/ccxt.
Read more >
Adding 'nonce' in API Request- R - Stack Overflow
(https://exmo.com/en/api#/authenticated_api) I have tried several codes but keep getting the same error. My code is:
Read more >
CCXT – CryptoCurrency eXchange Trading Library - GithubHelp
Problems with fetchBalances() for Three Out of Five Exchanges ... tried sending what+ secret.decode() as first parameter but it just sends another 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