Skip to content

Commit

Permalink
kraken.fetchMarkets limits.leverage.max safeValue->safeNumber
Browse files Browse the repository at this point in the history
  • Loading branch information
samgermain committed Feb 4, 2022
1 parent fe7c7fe commit 574754a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/kraken.js
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ module.exports = class kraken extends Exchange {
'limits': {
'leverage': {
'min': this.parseNumber ('1'),
'max': this.safeValue (leverageBuy, leverageBuyLength - 1, 1),
'max': this.safeNumber (leverageBuy, leverageBuyLength - 1, 1),
},
'amount': {
'min': this.safeNumber (market, 'ordermin'),
Expand Down

0 comments on commit 574754a

Please sign in to comment.