From 29ca2e1cac2410fc791f849826c09a22f36cc89f Mon Sep 17 00:00:00 2001 From: Zakhar Petukhov Date: Wed, 13 Nov 2024 13:23:05 +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..fcaedcf7 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=TONUSDT", TonPriceConverter: convertedTonBybitResponse, DateUpdate: now, },