Kucoin fetchMyTrades doesn't work
See original GitHub issue- OS: Windows
- Programming Language version: NodeJS
- CCXT version: 1.75.4
Hello, I’m trying to download order history from Kucoin, but even after searching here in issues, I’m not able to do that.
When I run the command without any option
, the result is an empty array. I’m trying to download the history right before the order/trade happened but still without success.
I also found a new fetchMyTradesMethod
option, but when I use it, I’m receiving BadRequest: kucoin The interface has been deprecated
.
Can I ask for help, please?
let kucoinMain = new ccxt.kucoin({
name: 'KucoinMain',
apiKey: '',
secret: '',
password : '',
enableRateLimit: true,
//verbose : true,
//options: { fetchMyTradesMethod: 'private_get_hist_orders' }
});
let res = await kucoinMain.fetchMyTrades('LITH/USDT', new Date(2021, 9, 16, 0, 0, 0).getTime());
console.log(res);
[]
Thanks
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:12 (5 by maintainers)
Top Results From Across the Web
Open Orders Did Not Go Through - KuCoin
We will not intervene or manipulate the price of any token. The user's transactions are entirely free from interference, and the price set...
Read more >How to retrieve active positions using CCXT library on Kucoin ...
I can get all open orders (take profit ...
Read more >Utility Sub-commands - Freqtrade
Creates a new strategy from a template similar to SampleStrategy. The file will be named inline with your class name, and will not...
Read more >Exchanges — ccxt 2.4.71 documentation
Exchanges will remember and track your user credentials and your IP address and will not allow you to query the API too frequently....
Read more >Error Messages, by Exakat
Message File Line
$this‑>id . ' allows limit orders only' /php/itbit.php 566
$this‑>id . ' returned ' . $this‑>json($response) /php/cex.php 1234
/php/cex.php 581
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Few more info:
fetchClosedOrders
also doesn’t work on Kucoin. butfetchBalance
correctly displays current assets.The same code works ok for me with Binance/GateIo/FTX
@ludekvodicka Thanks!