You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.
Did I make any changes to conf-sample.js?: yes (minor)
Describe the problem
When running trades through KrakenAPI ordeers with a pricedecimal >5 are being rejected
Source code / Error logs
// cleartext
Unhandeld AddOrder error:
Error: Order:Invalid price:DAIEUR price can only be specified up to 5 decimals.
at rawRequest (/root/zenbot/node_modules/kraken-api/kraken.js:54:9)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Error:
order rejected
at /root/zenbot/lib/engine.js:301:15
at /root/zenbot/extensions/exchanges/kraken/exchange.js:283:20
at /root/zenbot/node_modules/kraken-api/kraken.js:176:23
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5) {
order: {
id: null,
status: 'rejected',
price: '0.8577943000',
size: '13.88920844',
created_at: 1614420044429,
filled_size: '0',
post_only: false,
reject_reason: 'Order:Invalid price:DAIEUR price can only be specified up to 5 decimals.'
},
desc: 'could not execute sell: error placing order'
The text was updated successfully, but these errors were encountered:
According to the screenshot I couldn´t.
The order came out like this
So that might have triggered the warning. Hence caused the rejection.
Question is, when defining the pair decimals as you show in your screenshot, does zenbot consider it for the calculation of orders?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
System information
Describe the problem
When running trades through KrakenAPI ordeers with a pricedecimal >5 are being rejected
Source code / Error logs
// cleartext
Unhandeld AddOrder error:
Error: Order:Invalid price:DAIEUR price can only be specified up to 5 decimals.
at rawRequest (/root/zenbot/node_modules/kraken-api/kraken.js:54:9)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Error:
order rejected
at /root/zenbot/lib/engine.js:301:15
at /root/zenbot/extensions/exchanges/kraken/exchange.js:283:20
at /root/zenbot/node_modules/kraken-api/kraken.js:176:23
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5) {
order: {
id: null,
status: 'rejected',
price: '0.8577943000',
size: '13.88920844',
created_at: 1614420044429,
filled_size: '0',
post_only: false,
reject_reason: 'Order:Invalid price:DAIEUR price can only be specified up to 5 decimals.'
},
desc: 'could not execute sell: error placing order'
The text was updated successfully, but these errors were encountered: