Skip to content

Commit

Permalink
Merge pull request #16139 from Dan-krm/deribitCreateOrderUSDCPerpetual
Browse files Browse the repository at this point in the history
Deribit: createOrder, USDC Swap
  • Loading branch information
kroitor committed Dec 20, 2022
2 parents 84f3c02 + 99f2dca commit 60d6ae1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/deribit.js
Expand Up @@ -1643,6 +1643,8 @@ module.exports = class deribit extends Exchange {
const market = this.market (symbol);
if (market['inverse']) {
amount = this.amountToPrecision (symbol, amount);
} else if (market['settle'] === 'USDC') {
amount = this.amountToPrecision (symbol, amount);
} else {
amount = this.currencyToPrecision (symbol, amount);
}
Expand Down

0 comments on commit 60d6ae1

Please sign in to comment.