From 2e087f2fe7967e0197cbfe227a548aeadfd31daa Mon Sep 17 00:00:00 2001 From: Zakhar Petukhov Date: Wed, 13 Nov 2024 13:22:16 +0800 Subject: [PATCH] update the bybit market ton price url --- pkg/rates/market.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/rates/market.go b/pkg/rates/market.go index 97c9a429..f321d786 100644 --- a/pkg/rates/market.go +++ b/pkg/rates/market.go @@ -97,7 +97,7 @@ func (m *Mock) GetCurrentMarketsTonPrice() ([]Market, error) { { ID: 3, Name: bybit, - URL: "https://api.bybit.com/derivatives/v3/public/tickers?symbol=TONUSDT", + URL: "https://api.bybit.com/v5/market/tickers?category=spot&symbol=BTCUSDT", TonPriceConverter: convertedTonBybitResponse, DateUpdate: now, },