Fix spot-client.ts getCandles function

This commit is contained in:
TatLead
2021-10-06 05:05:34 +08:00
parent d5baf1b599
commit 9f2421ee2a

View File

@@ -73,7 +73,7 @@ export class SpotClient extends BaseRestClient {
} }
getCandles(symbol: string, interval: KlineInterval, limit?: number, startTime?: number, endTime?: number) { getCandles(symbol: string, interval: KlineInterval, limit?: number, startTime?: number, endTime?: number) {
return this.get('/spot/v1/trades', { return this.get('/spot/quote/v1/kline', {
symbol, symbol,
interval, interval,
limit, limit,