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

fix(kucoin): invalid order error mapping #22565

Merged
merged 1 commit into from
May 21, 2024

Conversation

carlosmiei
Copy link
Collaborator

DEMO

Node.js: v18.18.0
CCXT v4.3.28
kucoin.createMarketBuyOrder (BONK/USDT, 80000)
InvalidOrder kucoin The quantity is below the minimum requirement.
---------------------------------------------------
[InvalidOrder] kucoin The quantity is below the minimum requirement.

    at throwExactlyMatchedException  Users/cjg/Git/ccxt9/ccxt/js/src/base/Exchange.js:4185  
    at handleErrors                  Users/cjg/Git/ccxt9/ccxt/js/src/kucoin.js:4809         
    at                               Users/cjg/Git/ccxt9/ccxt/js/src/base/Exchange.js:1015  
    at processTicksAndRejections     node:internal/process/task_queues:95                   
    at fetch2                        Users/cjg/Git/ccxt9/ccxt/js/src/base/Exchange.js:3737  
    at request                       Users/cjg/Git/ccxt9/ccxt/js/src/base/Exchange.js:3740  
    at createOrder                   Users/cjg/Git/ccxt9/ccxt/js/src/kucoin.js:2027         
    at createMarketBuyOrder          Users/cjg/Git/ccxt9/ccxt/js/src/base/Exchange.js:4967  
    at async run                     Users/cjg/Git/ccxt9/ccxt/examples/js/cli.js:346        

kucoin The quantity is below the minimum requirement.

@carlosmiei carlosmiei self-assigned this May 21, 2024
@carlosmiei carlosmiei added the bug label May 21, 2024
@carlosmiei carlosmiei merged commit 86338d6 into ccxt:master May 21, 2024
1 of 2 checks passed
kroitor pushed a commit that referenced this pull request May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant