We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22acded commit bda93d6Copy full SHA for bda93d6
price-server/src/provider/crypto/quoter/Binance.ts
@@ -10,7 +10,7 @@ type Response = Array<{ symbol: string; price: string }> | { msg: string; code:
10
export class Binance extends Quoter {
11
private async updatePrices(): Promise<void> {
12
const symbols = this.symbols.map((symbol) => '"' + symbol.replace('/', '') + '"').join(',')
13
- const response: Response = await fetch(`https://api.binance.com/api/v3/ticker/price?symbols=[${symbols}]`, {
+ const response: Response = await fetch(`https://data-api.binance.vision/api/v3/ticker/price?symbols=[${symbols}]`, {
14
timeout: this.options.timeout,
15
}).then((res) => res.json())
16
0 commit comments