Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Kraken API returned error: General:Invalid arguments:volume #22

Open
tparvi opened this issue Aug 13, 2017 · 4 comments
Open

Error: Kraken API returned error: General:Invalid arguments:volume #22

tparvi opened this issue Aug 13, 2017 · 4 comments

Comments

@tparvi
Copy link

tparvi commented Aug 13, 2017

Trying to buy either single coin or all the coins gives me that error. Note that querying works just fine. I'm on Windows (tried with git bash and normal command prompt and result is the same). I'm using the latest version.

tonip@JAARA MINGW64 /c/coinsim
$ coinx buy eth -$ 2
Buying...
Checking Ethereum (ETH) on the markets...
Best price found on Kraken at $293.82

*Note that the number of coins may change slightly if the market fluctuates*

? Buy about 0.00680695 worth of ETH? (Y/n) y
? Buy about 0.00680695 worth of ETH? Yes
Buying...
An error occurred.
{ Error: Kraken API returned error: General:Invalid arguments:volume
    at Request._callback (C:\Users\tonip\AppData\Roaming\npm\node_modules\coinx\node_modules\kraken-api\kraken.js:156:34)
    at Request.self.callback (C:\Users\tonip\AppData\Roaming\npm\node_modules\coinx\node_modules\request\request.js:188:22)
    at emitTwo (events.js:125:13)
    at Request.emit (events.js:213:7)
    at Request.<anonymous> (C:\Users\tonip\AppData\Roaming\npm\node_modules\coinx\node_modules\request\request.js:1171:10)
    at emitOne (events.js:115:13)
    at Request.emit (events.js:210:7)
    at IncomingMessage.<anonymous> (C:\Users\tonip\AppData\Roaming\npm\node_modules\coinx\node_modules\request\request.js:1091:12)
    at Object.onceWrapper (events.js:314:30)
    at emitNone (events.js:110:20)
    at IncomingMessage.emit (events.js:207:7)
    at endReadableNT (_stream_readable.js:1045:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
  cause:
   Error: Kraken API returned error: General:Invalid arguments:volume
       at Request._callback (C:\Users\tonip\AppData\Roaming\npm\node_modules\coinx\node_modules\kraken-api\kraken.js:156:34)
       at Request.self.callback (C:\Users\tonip\AppData\Roaming\npm\node_modules\coinx\node_modules\request\request.js:188:22)
       at emitTwo (events.js:125:13)
       at Request.emit (events.js:213:7)
       at Request.<anonymous> (C:\Users\tonip\AppData\Roaming\npm\node_modules\coinx\node_modules\request\request.js:1171:10)
       at emitOne (events.js:115:13)
       at Request.emit (events.js:210:7)
       at IncomingMessage.<anonymous> (C:\Users\tonip\AppData\Roaming\npm\node_modules\coinx\node_modules\request\request.js:1091:12)
       at Object.onceWrapper (events.js:314:30)
       at emitNone (events.js:110:20)
       at IncomingMessage.emit (events.js:207:7)
       at endReadableNT (_stream_readable.js:1045:12)
       at _combinedTickCallback (internal/process/next_tick.js:138:11)
       at process._tickCallback (internal/process/next_tick.js:180:9),
  isOperational: true }


@johntitus
Copy link
Owner

johntitus commented Aug 13, 2017 via email

@tparvi
Copy link
Author

tparvi commented Aug 14, 2017

It seems to be issue on their (Kraken) end https://www.reddit.com/r/BitcoinMarkets/comments/6pvh4c/kraken_minimum_volume_issue/

Minimums https://support.kraken.com/hc/en-us/articles/205893708-What-is-the-minimum-order-size-

@amibenson
Copy link

It has been a year+ by now.

Does anyone know if Kraken API now allows getting the minimum number of units (aka quantity) in a programmatic manner ?

i.e: list of minimums same as here - https://support.kraken.com/hc/en-us/articles/205893708-What-is-the-minimum-order-size-

@evan-coygo
Copy link

@amibenson The AssetPairs REST API has an "orderMin" property now https://api.kraken.com/0/public/AssetPairs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants