mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-11 08:22:53 +00:00
Updated examples
This commit is contained in:
@@ -5,34 +5,36 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Binance.Net" Version="13.0.0" />
|
<PackageReference Include="Binance.Net" Version="13.3.0" />
|
||||||
<PackageReference Include="Bitfinex.Net" Version="11.0.0" />
|
<PackageReference Include="Bitfinex.Net" Version="11.3.0" />
|
||||||
<PackageReference Include="BitMart.Net" Version="4.0.0" />
|
<PackageReference Include="BitMart.Net" Version="4.3.0" />
|
||||||
<PackageReference Include="BloFin.Net" Version="3.0.0" />
|
<PackageReference Include="BloFin.Net" Version="3.3.0" />
|
||||||
<PackageReference Include="Bybit.Net" Version="7.0.0" />
|
<PackageReference Include="Bybit.Net" Version="7.3.0" />
|
||||||
<PackageReference Include="CoinEx.Net" Version="11.0.0" />
|
<PackageReference Include="CoinEx.Net" Version="11.3.0" />
|
||||||
<PackageReference Include="CoinW.Net" Version="3.0.0" />
|
<PackageReference Include="CoinW.Net" Version="3.3.0" />
|
||||||
<PackageReference Include="CryptoCom.Net" Version="4.0.0" />
|
<PackageReference Include="CryptoCom.Net" Version="4.3.0" />
|
||||||
<PackageReference Include="DeepCoin.Net" Version="4.0.0" />
|
<PackageReference Include="DeepCoin.Net" Version="4.3.0" />
|
||||||
<PackageReference Include="GateIo.Net" Version="4.0.0" />
|
<PackageReference Include="GateIo.Net" Version="4.4.0" />
|
||||||
<PackageReference Include="HyperLiquid.Net" Version="5.0.0" />
|
<PackageReference Include="HyperLiquid.Net" Version="5.4.0" />
|
||||||
<PackageReference Include="JK.BingX.Net" Version="4.0.0" />
|
<PackageReference Include="JK.BingX.Net" Version="4.3.0" />
|
||||||
<PackageReference Include="JK.Bitget.Net" Version="4.0.0" />
|
<PackageReference Include="JK.Bitget.Net" Version="4.3.2" />
|
||||||
<PackageReference Include="JK.Mexc.Net" Version="6.0.0" />
|
<PackageReference Include="JK.Mexc.Net" Version="6.4.0" />
|
||||||
<PackageReference Include="JK.OKX.Net" Version="5.0.1" />
|
<PackageReference Include="JK.OKX.Net" Version="5.3.1" />
|
||||||
<PackageReference Include="Jkorf.Aster.Net" Version="4.0.0" />
|
<PackageReference Include="Jkorf.Aster.Net" Version="4.3.0" />
|
||||||
<PackageReference Include="JKorf.BitMEX.Net" Version="4.0.0" />
|
<PackageReference Include="JKorf.BitMEX.Net" Version="4.3.0" />
|
||||||
<PackageReference Include="JKorf.Coinbase.Net" Version="4.0.0" />
|
<PackageReference Include="JKorf.Coinbase.Net" Version="4.4.0" />
|
||||||
<PackageReference Include="JKorf.HTX.Net" Version="9.0.0" />
|
<PackageReference Include="JKorf.HTX.Net" Version="9.3.0" />
|
||||||
<PackageReference Include="JKorf.Lighter.Net" Version="1.0.0" />
|
<PackageReference Include="JKorf.Lighter.Net" Version="1.4.0" />
|
||||||
<PackageReference Include="JKorf.Upbit.Net" Version="3.0.0" />
|
<PackageReference Include="JKorf.Upbit.Net" Version="3.3.0" />
|
||||||
<PackageReference Include="KrakenExchange.Net" Version="8.0.0" />
|
<PackageReference Include="KrakenExchange.Net" Version="8.3.0" />
|
||||||
<PackageReference Include="Kucoin.Net" Version="9.0.0" />
|
<PackageReference Include="Kucoin.Net" Version="9.3.0" />
|
||||||
|
<PackageReference Include="LBank.Net" Version="1.0.0" />
|
||||||
|
<PackageReference Include="Pionex.Net" Version="1.1.0" />
|
||||||
<PackageReference Include="Serilog.AspNetCore" Version="10.0.0" />
|
<PackageReference Include="Serilog.AspNetCore" Version="10.0.0" />
|
||||||
<PackageReference Include="Toobit.Net" Version="4.0.0" />
|
<PackageReference Include="Toobit.Net" Version="4.3.0" />
|
||||||
<PackageReference Include="Weex.Net" Version="2.0.0" />
|
<PackageReference Include="Weex.Net" Version="2.3.0" />
|
||||||
<PackageReference Include="WhiteBit.Net" Version="4.0.0" />
|
<PackageReference Include="WhiteBit.Net" Version="4.3.0" />
|
||||||
<PackageReference Include="XT.Net" Version="4.0.0" />
|
<PackageReference Include="XT.Net" Version="4.3.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -18,9 +18,11 @@
|
|||||||
@inject IHyperLiquidRestClient hyperLiquidClient
|
@inject IHyperLiquidRestClient hyperLiquidClient
|
||||||
@inject IKrakenRestClient krakenClient
|
@inject IKrakenRestClient krakenClient
|
||||||
@inject IKucoinRestClient kucoinClient
|
@inject IKucoinRestClient kucoinClient
|
||||||
|
@inject ILBankRestClient lbankClient
|
||||||
@inject ILighterRestClient lighterClient
|
@inject ILighterRestClient lighterClient
|
||||||
@inject IMexcRestClient mexcClient
|
@inject IMexcRestClient mexcClient
|
||||||
@inject IOKXRestClient okxClient
|
@inject IOKXRestClient okxClient
|
||||||
|
@inject IPionexRestClient pionexClient
|
||||||
@inject IToobitRestClient toobitClient
|
@inject IToobitRestClient toobitClient
|
||||||
@inject IUpbitRestClient upbitClient
|
@inject IUpbitRestClient upbitClient
|
||||||
@inject IWeexRestClient weexClient
|
@inject IWeexRestClient weexClient
|
||||||
@@ -57,16 +59,18 @@
|
|||||||
var hyperLiquidTask = hyperLiquidClient.FuturesApi.ExchangeData.GetExchangeInfoAndTickersAsync();
|
var hyperLiquidTask = hyperLiquidClient.FuturesApi.ExchangeData.GetExchangeInfoAndTickersAsync();
|
||||||
var krakenTask = krakenClient.SpotApi.ExchangeData.GetTickerAsync("XBTUSD");
|
var krakenTask = krakenClient.SpotApi.ExchangeData.GetTickerAsync("XBTUSD");
|
||||||
var kucoinTask = kucoinClient.SpotApi.ExchangeData.GetTickerAsync("BTC-USDT");
|
var kucoinTask = kucoinClient.SpotApi.ExchangeData.GetTickerAsync("BTC-USDT");
|
||||||
|
var lBankTask = lbankClient.SpotApi.ExchangeData.GetTickersAsync("btc_usdt");
|
||||||
var lighterTask = lighterClient.ExchangeApi.ExchangeData.GetSymbolDetailsAsync("BTC");
|
var lighterTask = lighterClient.ExchangeApi.ExchangeData.GetSymbolDetailsAsync("BTC");
|
||||||
var mexcTask = mexcClient.SpotApi.ExchangeData.GetTickerAsync("BTCUSDT");
|
var mexcTask = mexcClient.SpotApi.ExchangeData.GetTickerAsync("BTCUSDT");
|
||||||
var okxTask = okxClient.UnifiedApi.ExchangeData.GetTickerAsync("BTC-USDT");
|
var okxTask = okxClient.UnifiedApi.ExchangeData.GetTickerAsync("BTC-USDT");
|
||||||
|
var pionexTask = pionexClient.SpotApi.ExchangeData.GetTickersAsync("BTC_USDT");
|
||||||
var toobitTask = toobitClient.SpotApi.ExchangeData.GetTickersAsync("BTCUSDT");
|
var toobitTask = toobitClient.SpotApi.ExchangeData.GetTickersAsync("BTCUSDT");
|
||||||
var upbitTask = upbitClient.SpotApi.ExchangeData.GetTickerAsync("USDT-BTC");
|
var upbitTask = upbitClient.SpotApi.ExchangeData.GetTickerAsync("USDT-BTC");
|
||||||
var weexTask = weexClient.SpotApi.ExchangeData.GetTickersAsync(["BTCUSDT"]);
|
var weexTask = weexClient.SpotApi.ExchangeData.GetTickersAsync(["BTCUSDT"]);
|
||||||
var whitebitTask = whitebitClient.V4Api.ExchangeData.GetTickersAsync();
|
var whitebitTask = whitebitClient.V4Api.ExchangeData.GetTickersAsync();
|
||||||
var xtTask = xtClient.SpotApi.ExchangeData.GetTickersAsync("btc_usdt");
|
var xtTask = xtClient.SpotApi.ExchangeData.GetTickersAsync("btc_usdt");
|
||||||
|
|
||||||
await Task.WhenAll(asterTask, binanceTask, bingXTask, bitfinexTask, bitgetTask, bitmartTask, bloFinTask, bitmexTask, bybitTask, coinexTask, coinWTask, deepCoinTask, gateioTask, htxTask, krakenTask, kucoinTask, mexcTask, okxTask);
|
await Task.WhenAll(asterTask, binanceTask, bingXTask, bitfinexTask, bitgetTask, bitmartTask, bloFinTask, bitmexTask, bybitTask, coinexTask, coinWTask, deepCoinTask, gateioTask, htxTask, krakenTask, kucoinTask, lBankTask, mexcTask, okxTask, pionexTask);
|
||||||
|
|
||||||
if (asterTask.Result.Success)
|
if (asterTask.Result.Success)
|
||||||
_prices.Add("Aster", asterTask.Result.Data.LastPrice);
|
_prices.Add("Aster", asterTask.Result.Data.LastPrice);
|
||||||
@@ -133,6 +137,9 @@
|
|||||||
if (kucoinTask.Result.Success)
|
if (kucoinTask.Result.Success)
|
||||||
_prices.Add("Kucoin", kucoinTask.Result.Data.LastPrice ?? 0);
|
_prices.Add("Kucoin", kucoinTask.Result.Data.LastPrice ?? 0);
|
||||||
|
|
||||||
|
if (lBankTask.Result.Success)
|
||||||
|
_prices.Add("LBank", lBankTask.Result.Data.Single().Ticker.LastPrice);
|
||||||
|
|
||||||
if (lighterTask.Result.Success)
|
if (lighterTask.Result.Success)
|
||||||
_prices.Add("Lighter", lighterTask.Result.Data.PerpSymbols[0].LastPrice);
|
_prices.Add("Lighter", lighterTask.Result.Data.PerpSymbols[0].LastPrice);
|
||||||
|
|
||||||
@@ -142,6 +149,9 @@
|
|||||||
if (okxTask.Result.Success)
|
if (okxTask.Result.Success)
|
||||||
_prices.Add("OKX", okxTask.Result.Data.LastPrice ?? 0);
|
_prices.Add("OKX", okxTask.Result.Data.LastPrice ?? 0);
|
||||||
|
|
||||||
|
if (pionexTask.Result.Success)
|
||||||
|
_prices.Add("Pionex", pionexTask.Result.Data.Single().ClosePrice);
|
||||||
|
|
||||||
if (toobitTask.Result.Success)
|
if (toobitTask.Result.Success)
|
||||||
_prices.Add("Toobit", toobitTask.Result.Data.Single().LastPrice ?? 0);
|
_prices.Add("Toobit", toobitTask.Result.Data.Single().LastPrice ?? 0);
|
||||||
|
|
||||||
|
|||||||
@@ -18,9 +18,11 @@
|
|||||||
@inject IHyperLiquidSocketClient hyperLiquidSocketClient
|
@inject IHyperLiquidSocketClient hyperLiquidSocketClient
|
||||||
@inject IKrakenSocketClient krakenSocketClient
|
@inject IKrakenSocketClient krakenSocketClient
|
||||||
@inject IKucoinSocketClient kucoinSocketClient
|
@inject IKucoinSocketClient kucoinSocketClient
|
||||||
|
@inject ILBankSocketClient lBankSocketClient
|
||||||
@inject ILighterSocketClient lighterSocketClient
|
@inject ILighterSocketClient lighterSocketClient
|
||||||
@inject IMexcSocketClient mexcSocketClient
|
@inject IMexcSocketClient mexcSocketClient
|
||||||
@inject IOKXSocketClient okxSocketClient
|
@inject IOKXSocketClient okxSocketClient
|
||||||
|
@inject IPionexSocketClient pionexSocketClient
|
||||||
@inject IToobitSocketClient toobitSocketClient
|
@inject IToobitSocketClient toobitSocketClient
|
||||||
@inject IUpbitSocketClient upbitSocketClient
|
@inject IUpbitSocketClient upbitSocketClient
|
||||||
@inject IWeexSocketClient weexSocketClient
|
@inject IWeexSocketClient weexSocketClient
|
||||||
@@ -65,11 +67,11 @@
|
|||||||
deepCoinSocketClient.ExchangeApi.SubscribeToSymbolUpdatesAsync("ETH-BTC", data => UpdateData("DeepCoin", data.Data.LastPrice ?? 0)),
|
deepCoinSocketClient.ExchangeApi.SubscribeToSymbolUpdatesAsync("ETH-BTC", data => UpdateData("DeepCoin", data.Data.LastPrice ?? 0)),
|
||||||
gateioSocketClient.SpotApi.SubscribeToTickerUpdatesAsync("ETH_BTC", data => UpdateData("GateIo", data.Data.LastPrice)),
|
gateioSocketClient.SpotApi.SubscribeToTickerUpdatesAsync("ETH_BTC", data => UpdateData("GateIo", data.Data.LastPrice)),
|
||||||
htxSocketClient.SpotApi.SubscribeToTickerUpdatesAsync("ethbtc", data => UpdateData("HTX", data.Data.ClosePrice ?? 0)),
|
htxSocketClient.SpotApi.SubscribeToTickerUpdatesAsync("ethbtc", data => UpdateData("HTX", data.Data.ClosePrice ?? 0)),
|
||||||
xtSocketClient.SpotApi.SubscribeToTickerUpdatesAsync("eth_btc", data => UpdateData("XT", data.Data.LastPrice ?? 0)),
|
|
||||||
// HyperLiquid doesn't support the ETH/BTC pair
|
// HyperLiquid doesn't support the ETH/BTC pair
|
||||||
//hyperLiquidSocketClient.SpotApi.SubscribeToSymbolUpdatesAsync("ETH", data => UpdateData("HyperLiquid", data.Data.MidPrice ?? 0)),
|
//hyperLiquidSocketClient.SpotApi.SubscribeToSymbolUpdatesAsync("ETH", data => UpdateData("HyperLiquid", data.Data.MidPrice ?? 0)),
|
||||||
krakenSocketClient.SpotApi.SubscribeToTickerUpdatesAsync("ETH/BTC", data => UpdateData("Kraken", data.Data.LastPrice)),
|
krakenSocketClient.SpotApi.SubscribeToTickerUpdatesAsync("ETH/BTC", data => UpdateData("Kraken", data.Data.LastPrice)),
|
||||||
kucoinSocketClient.SpotApi.SubscribeToTickerUpdatesAsync("ETH-BTC", data => UpdateData("Kucoin", data.Data.LastPrice ?? 0)),
|
kucoinSocketClient.SpotApi.SubscribeToTickerUpdatesAsync("ETH-BTC", data => UpdateData("Kucoin", data.Data.LastPrice ?? 0)),
|
||||||
|
lBankSocketClient.SpotApi.SubscribeToTickerUpdatesAsync("eth_btc", data => UpdateData("LBank", data.Data.LastPrice)),
|
||||||
// Mexc doesn't offer a ticker stream currently
|
// Mexc doesn't offer a ticker stream currently
|
||||||
//mexcSocketClient.SpotApi.SubscribeToMiniTickerUpdatesAsync("ETHBTC", data => UpdateData("Mexc", data.Data.LastPrice)),
|
//mexcSocketClient.SpotApi.SubscribeToMiniTickerUpdatesAsync("ETHBTC", data => UpdateData("Mexc", data.Data.LastPrice)),
|
||||||
okxSocketClient.UnifiedApi.ExchangeData.SubscribeToTickerUpdatesAsync("ETH-BTC", data => UpdateData("OKX", data.Data.LastPrice ?? 0)),
|
okxSocketClient.UnifiedApi.ExchangeData.SubscribeToTickerUpdatesAsync("ETH-BTC", data => UpdateData("OKX", data.Data.LastPrice ?? 0)),
|
||||||
@@ -77,6 +79,7 @@
|
|||||||
//toobitSocketClient.SpotApi.SubscribeToTickerUpdatesAsync("ETHBTC", data => UpdateData("Toobit", data.Data.LastPrice ?? 0)),
|
//toobitSocketClient.SpotApi.SubscribeToTickerUpdatesAsync("ETHBTC", data => UpdateData("Toobit", data.Data.LastPrice ?? 0)),
|
||||||
upbitSocketClient.SpotApi.SubscribeToTickerUpdatesAsync("BTC-ETH", data => UpdateData("Upbit", data.Data.LastPrice)),
|
upbitSocketClient.SpotApi.SubscribeToTickerUpdatesAsync("BTC-ETH", data => UpdateData("Upbit", data.Data.LastPrice)),
|
||||||
whitebitSocketClient.V4Api.SubscribeToTickerUpdatesAsync("ETH_BTC", data => UpdateData("WhiteBit", data.Data.Ticker.LastPrice)),
|
whitebitSocketClient.V4Api.SubscribeToTickerUpdatesAsync("ETH_BTC", data => UpdateData("WhiteBit", data.Data.Ticker.LastPrice)),
|
||||||
|
xtSocketClient.SpotApi.SubscribeToTickerUpdatesAsync("eth_btc", data => UpdateData("XT", data.Data.LastPrice ?? 0)),
|
||||||
};
|
};
|
||||||
|
|
||||||
await Task.WhenAll(tasks);
|
await Task.WhenAll(tasks);
|
||||||
|
|||||||
@@ -24,9 +24,11 @@
|
|||||||
@using Kucoin.Net
|
@using Kucoin.Net
|
||||||
@using Kucoin.Net.Clients
|
@using Kucoin.Net.Clients
|
||||||
@using Kucoin.Net.Interfaces
|
@using Kucoin.Net.Interfaces
|
||||||
|
@using LBank.Net.Interfaces
|
||||||
@using Lighter.Net.Interfaces
|
@using Lighter.Net.Interfaces
|
||||||
@using Mexc.Net.Interfaces
|
@using Mexc.Net.Interfaces
|
||||||
@using OKX.Net.Interfaces;
|
@using OKX.Net.Interfaces;
|
||||||
|
@using Pionex.Net.Interfaces;
|
||||||
@using Upbit.Net.Interfaces;
|
@using Upbit.Net.Interfaces;
|
||||||
@using Toobit.Net.Interfaces;
|
@using Toobit.Net.Interfaces;
|
||||||
@using Weex.Net.Interfaces
|
@using Weex.Net.Interfaces
|
||||||
@@ -51,9 +53,11 @@
|
|||||||
@inject IHyperLiquidOrderBookFactory hyperLiquidFactory
|
@inject IHyperLiquidOrderBookFactory hyperLiquidFactory
|
||||||
@inject IKrakenOrderBookFactory krakenFactory
|
@inject IKrakenOrderBookFactory krakenFactory
|
||||||
@inject IKucoinOrderBookFactory kucoinFactory
|
@inject IKucoinOrderBookFactory kucoinFactory
|
||||||
|
@inject ILBankOrderBookFactory lBankFactory
|
||||||
@inject ILighterOrderBookFactory lighterFactory
|
@inject ILighterOrderBookFactory lighterFactory
|
||||||
@inject IMexcOrderBookFactory mexcFactory
|
@inject IMexcOrderBookFactory mexcFactory
|
||||||
@inject IOKXOrderBookFactory okxFactory
|
@inject IOKXOrderBookFactory okxFactory
|
||||||
|
@inject IPionexOrderBookFactory pionexFactory
|
||||||
@inject IToobitOrderBookFactory toobitFactory
|
@inject IToobitOrderBookFactory toobitFactory
|
||||||
@inject IUpbitOrderBookFactory upbitFactory
|
@inject IUpbitOrderBookFactory upbitFactory
|
||||||
@inject IWeexOrderBookFactory weexFactory
|
@inject IWeexOrderBookFactory weexFactory
|
||||||
@@ -112,9 +116,11 @@
|
|||||||
{ "HyperLiquid", hyperLiquidFactory.Create("UETH/USDC") },
|
{ "HyperLiquid", hyperLiquidFactory.Create("UETH/USDC") },
|
||||||
{ "Kraken", krakenFactory.CreateSpot("ETH/BTC") },
|
{ "Kraken", krakenFactory.CreateSpot("ETH/BTC") },
|
||||||
{ "Kucoin", kucoinFactory.CreateSpot("ETH-BTC") },
|
{ "Kucoin", kucoinFactory.CreateSpot("ETH-BTC") },
|
||||||
|
{ "LBank", lBankFactory.CreateSpot("eth_usdt") },
|
||||||
{ "Lighter", lighterFactory.Create("ETH/USDC") },
|
{ "Lighter", lighterFactory.Create("ETH/USDC") },
|
||||||
{ "Mexc", mexcFactory.CreateSpot("ETHBTC") },
|
{ "Mexc", mexcFactory.CreateSpot("ETHBTC") },
|
||||||
{ "OKX", okxFactory.Create("ETH-BTC") },
|
{ "OKX", okxFactory.Create("ETH-BTC") },
|
||||||
|
{ "Pionex", pionexFactory.CreateSpot("ETH_USDT") },
|
||||||
{ "Toobit", toobitFactory.CreateSpot("ETHUSDT") },
|
{ "Toobit", toobitFactory.CreateSpot("ETHUSDT") },
|
||||||
{ "Upbit", upbitFactory.CreateSpot("BTC-ETH") },
|
{ "Upbit", upbitFactory.CreateSpot("BTC-ETH") },
|
||||||
{ "Weex", weexFactory.CreateSpot("ETHUSDT") },
|
{ "Weex", weexFactory.CreateSpot("ETHUSDT") },
|
||||||
|
|||||||
@@ -24,9 +24,11 @@
|
|||||||
@using Kraken.Net.Interfaces
|
@using Kraken.Net.Interfaces
|
||||||
@using Kucoin.Net.Clients
|
@using Kucoin.Net.Clients
|
||||||
@using Kucoin.Net.Interfaces
|
@using Kucoin.Net.Interfaces
|
||||||
|
@using LBank.Net.Interfaces
|
||||||
@using Lighter.Net.Interfaces
|
@using Lighter.Net.Interfaces
|
||||||
@using Mexc.Net.Interfaces
|
@using Mexc.Net.Interfaces
|
||||||
@using OKX.Net.Interfaces;
|
@using OKX.Net.Interfaces;
|
||||||
|
@using Pionex.Net.Interfaces;
|
||||||
@using Upbit.Net.Interfaces;
|
@using Upbit.Net.Interfaces;
|
||||||
@using Toobit.Net.Interfaces;
|
@using Toobit.Net.Interfaces;
|
||||||
@using Weex.Net.Interfaces
|
@using Weex.Net.Interfaces
|
||||||
@@ -51,9 +53,11 @@
|
|||||||
@inject IHyperLiquidTrackerFactory hyperLiquidFactory
|
@inject IHyperLiquidTrackerFactory hyperLiquidFactory
|
||||||
@inject IKrakenTrackerFactory krakenFactory
|
@inject IKrakenTrackerFactory krakenFactory
|
||||||
@inject IKucoinTrackerFactory kucoinFactory
|
@inject IKucoinTrackerFactory kucoinFactory
|
||||||
|
@inject ILBankTrackerFactory lBankFactory
|
||||||
@inject ILighterTrackerFactory lighterFactory
|
@inject ILighterTrackerFactory lighterFactory
|
||||||
@inject IMexcTrackerFactory mexcFactory
|
@inject IMexcTrackerFactory mexcFactory
|
||||||
@inject IOKXTrackerFactory okxFactory
|
@inject IOKXTrackerFactory okxFactory
|
||||||
|
@inject IPionexTrackerFactory pionexFactory
|
||||||
@inject IToobitTrackerFactory toobitFactory
|
@inject IToobitTrackerFactory toobitFactory
|
||||||
@inject IUpbitTrackerFactory upbitFactory
|
@inject IUpbitTrackerFactory upbitFactory
|
||||||
@inject IWeexTrackerFactory weexFactory
|
@inject IWeexTrackerFactory weexFactory
|
||||||
@@ -105,9 +109,11 @@
|
|||||||
{ hyperLiquidFactory.CreateTradeTracker(symbol, period: TimeSpan.FromMinutes(5)) },
|
{ hyperLiquidFactory.CreateTradeTracker(symbol, period: TimeSpan.FromMinutes(5)) },
|
||||||
{ krakenFactory.CreateTradeTracker(symbol, period: TimeSpan.FromMinutes(5)) },
|
{ krakenFactory.CreateTradeTracker(symbol, period: TimeSpan.FromMinutes(5)) },
|
||||||
{ kucoinFactory.CreateTradeTracker(symbol, period: TimeSpan.FromMinutes(5)) },
|
{ kucoinFactory.CreateTradeTracker(symbol, period: TimeSpan.FromMinutes(5)) },
|
||||||
|
{ lBankFactory.CreateTradeTracker(symbol, period: TimeSpan.FromMinutes(5)) },
|
||||||
{ lighterFactory.CreateTradeTracker(futuresSymbol, period: TimeSpan.FromMinutes(5)) },
|
{ lighterFactory.CreateTradeTracker(futuresSymbol, period: TimeSpan.FromMinutes(5)) },
|
||||||
{ mexcFactory.CreateTradeTracker(symbol, period: TimeSpan.FromMinutes(5)) },
|
{ mexcFactory.CreateTradeTracker(symbol, period: TimeSpan.FromMinutes(5)) },
|
||||||
{ okxFactory.CreateTradeTracker(symbol, period: TimeSpan.FromMinutes(5)) },
|
{ okxFactory.CreateTradeTracker(symbol, period: TimeSpan.FromMinutes(5)) },
|
||||||
|
{ pionexFactory.CreateTradeTracker(symbol, period: TimeSpan.FromMinutes(5)) },
|
||||||
{ toobitFactory.CreateTradeTracker(symbol, period: TimeSpan.FromMinutes(5)) },
|
{ toobitFactory.CreateTradeTracker(symbol, period: TimeSpan.FromMinutes(5)) },
|
||||||
{ upbitFactory.CreateTradeTracker(symbol, period: TimeSpan.FromMinutes(5)) },
|
{ upbitFactory.CreateTradeTracker(symbol, period: TimeSpan.FromMinutes(5)) },
|
||||||
{ weexFactory.CreateTradeTracker(symbol, period: TimeSpan.FromMinutes(5)) },
|
{ weexFactory.CreateTradeTracker(symbol, period: TimeSpan.FromMinutes(5)) },
|
||||||
|
|||||||
@@ -52,9 +52,11 @@ namespace BlazorClient
|
|||||||
services.AddHTX();
|
services.AddHTX();
|
||||||
services.AddKraken();
|
services.AddKraken();
|
||||||
services.AddKucoin();
|
services.AddKucoin();
|
||||||
|
services.AddLBank();
|
||||||
services.AddLighter();
|
services.AddLighter();
|
||||||
services.AddMexc();
|
services.AddMexc();
|
||||||
services.AddOKX();
|
services.AddOKX();
|
||||||
|
services.AddPionex();
|
||||||
services.AddToobit();
|
services.AddToobit();
|
||||||
services.AddUpbit();
|
services.AddUpbit();
|
||||||
services.AddWeex();
|
services.AddWeex();
|
||||||
|
|||||||
@@ -27,9 +27,11 @@
|
|||||||
@using HyperLiquid.Net.Interfaces.Clients;
|
@using HyperLiquid.Net.Interfaces.Clients;
|
||||||
@using Kraken.Net.Interfaces.Clients;
|
@using Kraken.Net.Interfaces.Clients;
|
||||||
@using Kucoin.Net.Interfaces.Clients;
|
@using Kucoin.Net.Interfaces.Clients;
|
||||||
|
@using LBank.Net.Interfaces.Clients
|
||||||
@using Lighter.Net.Interfaces.Clients
|
@using Lighter.Net.Interfaces.Clients
|
||||||
@using Mexc.Net.Interfaces.Clients;
|
@using Mexc.Net.Interfaces.Clients;
|
||||||
@using OKX.Net.Interfaces.Clients;
|
@using OKX.Net.Interfaces.Clients;
|
||||||
|
@using Pionex.Net.Interfaces.Clients;
|
||||||
@using Upbit.Net.Interfaces.Clients;
|
@using Upbit.Net.Interfaces.Clients;
|
||||||
@using Toobit.Net.Interfaces.Clients;
|
@using Toobit.Net.Interfaces.Clients;
|
||||||
@using Weex.Net.Interfaces.Clients
|
@using Weex.Net.Interfaces.Clients
|
||||||
|
|||||||
Reference in New Issue
Block a user