Update Bisq price API: markets.bisq.network -> bisq.markets
This commit is contained in:
parent
d8c4f5a6ac
commit
203374bce2
@ -138,7 +138,7 @@ class Bisq {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private updatePrice() {
|
private updatePrice() {
|
||||||
request('https://markets.bisq.network/api/trades/?market=bsq_btc', { json: true }, (err, res, trades: BisqTrade[]) => {
|
request('https://bisq.markets/api/trades/?market=bsq_btc', { json: true }, (err, res, trades: BisqTrade[]) => {
|
||||||
if (err || !Array.isArray(trades)) { return logger.err('Error updating Bisq market price: ' + err); }
|
if (err || !Array.isArray(trades)) { return logger.err('Error updating Bisq market price: ' + err); }
|
||||||
|
|
||||||
const prices: number[] = [];
|
const prices: number[] = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user