diff --git a/ByBit.Net/Icon/icon.png b/ByBit.Net/Icon/icon.png index b293d713..225c6449 100644 Binary files a/ByBit.Net/Icon/icon.png and b/ByBit.Net/Icon/icon.png differ diff --git a/docs/ClientInfo/CopyTradingApi/IBybitRestClientCopyTradingApi.md b/docs/ClientInfo/CopyTradingApi/IBybitRestClientCopyTradingApi.md deleted file mode 100644 index a4dd8fa7..00000000 --- a/docs/ClientInfo/CopyTradingApi/IBybitRestClientCopyTradingApi.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: IBybitRestClientCopyTradingApi -has_children: true -parent: Rest API documentation ---- -*[generated documentation]* -`BybitRestClient > CopyTradingApi` -*Bybit Copy Trading endpoints* - -*** -*Endpoints related to account settings, info or actions* -**[IBybitRestClientCopyTradingApiAccount](IBybitRestClientCopyTradingApiAccount.html) Account { get; }** -*** -*Endpoints related to retrieving market and system data* -**[IBybitRestClientCopyTradingApiExchangeData](IBybitRestClientCopyTradingApiExchangeData.html) ExchangeData { get; }** -*** -*Endpoints related to orders and trades* -**[IBybitRestClientCopyTradingApiTrading](IBybitRestClientCopyTradingApiTrading.html) Trading { get; }** diff --git a/docs/ClientInfo/CopyTradingApi/IBybitRestClientCopyTradingApiAccount.md b/docs/ClientInfo/CopyTradingApi/IBybitRestClientCopyTradingApiAccount.md deleted file mode 100644 index c92cc769..00000000 --- a/docs/ClientInfo/CopyTradingApi/IBybitRestClientCopyTradingApiAccount.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: IBybitRestClientCopyTradingApiAccount -has_children: false -parent: IBybitRestClientCopyTradingApi -grand_parent: Rest API documentation ---- -*[generated documentation]* -`BybitRestClient > CopyTradingApi > Account` -*Bybit account endpoints. Account endpoints include balance info, withdraw/deposit info and requesting and account settings* - - -*** - -## GetBalancesAsync - -[https://bybit-exchange.github.io/docs/copy_trading/#t-ct_wallet_balance](https://bybit-exchange.github.io/docs/copy_trading/#t-ct_wallet_balance) -
-
-*Get the current wallet balance*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.CopyTradingApi.Account.GetBalancesAsync();
-```
-
-```csharp
-Task
-
-*Transfer to or from the Copy Trading account*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.CopyTradingApi.Account.TransferAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Retrieve the server timestamp*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.CopyTradingApi.ExchangeData.GetServerTimeAsync();
-```
-
-```csharp
-Task
-
-*Get a list of supported symbols*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.CopyTradingApi.ExchangeData.GetSymbolsAsync();
-```
-
-```csharp
-Task
-
-*Cancel an active order*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.CopyTradingApi.Trading.CancelOrderAsync();
-```
-
-```csharp
-Task
-
-*Close an order*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.CopyTradingApi.Trading.CloseOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Close a position*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.CopyTradingApi.Trading.ClosePositionAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get orders*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.CopyTradingApi.Trading.GetOrdersAsync();
-```
-
-```csharp
-Task
-
-*Get your positions*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.CopyTradingApi.Trading.GetPositionsAsync();
-```
-
-```csharp
-Task
-
-*Place an order*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.CopyTradingApi.Trading.PlaceOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Set leverage*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.CopyTradingApi.Trading.SetLeverageAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Set trading stop parameters for an existing order*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.CopyTradingApi.Trading.SetTradingStopAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to user balance updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.CopyTradingApi.SubscribeToBalanceUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to user order updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.CopyTradingApi.SubscribeToOrderUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to user position updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.CopyTradingApi.SubscribeToPositionUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to user trade updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.CopyTradingApi.SubscribeToUserTradeUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get wallet balances*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\ContractApi.ContractApiAccount.GetBalancesAsync();
-```
-
-```csharp
-Task
-
-*Get user positions*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\ContractApi.ContractApiAccount.GetPositionAsync();
-```
-
-```csharp
-Task
-
-*Get user's closed profit and loss records. The results are ordered in descending order (the first item is the latest).*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\ContractApi.ContractApiAccount.GetProfitAndLossHistoryAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get user trading fee rate*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\ContractApi.ContractApiAccount.GetTradingFeeRate();
-```
-
-```csharp
-Task
-
-*Get executed user trades*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\ContractApi.ContractApiAccount.GetUserTradesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get user trading fee rate*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\ContractApi.ContractApiAccount.GetWalletFundRecords();
-```
-
-```csharp
-Task
-
-*Set auto add margin switch*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\ContractApi.ContractApiAccount.SetAutoAddMarginAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Switch between full or partial Stop loss/Take profit mode*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\ContractApi.ContractApiAccount.SetFullPartialPositionModeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Set leverage*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\ContractApi.ContractApiAccount.SetLeverageAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get user trading fee rate*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\ContractApi.ContractApiAccount.SetMarginMode(/* parameters */);
-```
-
-```csharp
-Task
-
-*Switch position mode. If you are in One-Way Mode, you can only open one position on Buy or Sell side;*
-*If you are in Hedge Mode, you can open both Buy and Sell side positions simultaneously.*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\ContractApi.ContractApiAccount.SetPositionModeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Set position risk*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\ContractApi.ContractApiAccount.SetRiskLimitAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Switch cross margin mode/isolated margin mode*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\ContractApi.ContractApiAccount.SetTradeModeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Cancel all orders that are unfilled or partially filled. Fully filled orders cannot be cancelled.*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\ContractApi.ContractApiTrading.CancelAllOrdersAsync();
-```
-
-```csharp
-Task
-
-*Cancel an order, either orderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\ContractApi.ContractApiTrading.CancelOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Query real-time order information*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\ContractApi.ContractApiTrading.GetOpenOrdersRealTimeAsync();
-```
-
-```csharp
-Task
-
-*Get orders*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\ContractApi.ContractApiTrading.GetOrdersAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Place a new order*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\ContractApi.ContractApiTrading.PlaceOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Change an exising order. Either orderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\ContractApi.ContractApiTrading.ReplaceOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Set take profit, stop loss, and trailing stop for your open position. If using partial mode, TP/SL/TS orders will not close your entire position.*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\ContractApi.ContractApiTrading.SetTradingStop(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to user balance updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.DerivativesApi\ContractApi.ContractApi.SubscribeToBalanceUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to user order updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.DerivativesApi\ContractApi.ContractApi.SubscribeToOrderUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to user position updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.DerivativesApi\ContractApi.ContractApi.SubscribeToPositionUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to user trade updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.DerivativesApi\ContractApi.ContractApi.SubscribeToUserTradeUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get funding rate history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi.ExchangeData.GetFundingRateAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get index price klines*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi.ExchangeData.GetIndexPriceKlinesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get price klines*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi.ExchangeData.GetKlinesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get mark price klines*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi.ExchangeData.GetMarkPriceKlinesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Gets the total amount of unsettled contracts. In other words, the total number of contracts held in open positions.*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi.ExchangeData.GetOpenInterestAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get option delivery price*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi.ExchangeData.GetOptionDeliveryPriceAsync();
-```
-
-```csharp
-Task
-
-*Get the current order book for a symbol*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi.ExchangeData.GetOrderBookAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get Risk Limit*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi.ExchangeData.GetRiskLimitAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get the server time*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi.ExchangeData.GetServerTimeAsync();
-```
-
-```csharp
-Task
-
-*Get all supported symbols*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi.ExchangeData.GetSymbolsAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*The ticker info for a symbol*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi.ExchangeData.GetTickerAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get Trade history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi.ExchangeData.GetTradeHistoryAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to kline (candlestick) updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.DerivativesApi.DerivativesPublicApi.SubscribeToKlinesUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to kline (candlestick) updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.DerivativesApi.DerivativesPublicApi.SubscribeToKlineUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to orderbook updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.DerivativesApi.DerivativesPublicApi.SubscribeToOrderBooksUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to orderbook updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.DerivativesApi.DerivativesPublicApi.SubscribeToOrderBookUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to ticker updates. Note that for a symbol the first update is a snapshot, containing all info. After that only partial updates are given for*
-*properties which have changed. If a property in the update is `null` it isn't changed and should be ignored.*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.DerivativesApi.DerivativesPublicApi.SubscribeToTickersUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to ticker updates. Note that for a symbol the first update is a snapshot, containing all info. After that only partial updates are given for*
-*properties which have changed. If a property in the update is `null` it isn't changed and should be ignored.*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.DerivativesApi.DerivativesPublicApi.SubscribeToTickerUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to public trade updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.DerivativesApi.DerivativesPublicApi.SubscribeToTradesUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to public trade updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.DerivativesApi.DerivativesPublicApi.SubscribeToTradeUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Exchange Coins*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\UnifiedMarginApi.UnifiedMarginApiAccount.ExchangeCoinsAsync();
-```
-
-```csharp
-Task
-
-*Get Borrow History*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\UnifiedMarginApi.UnifiedMarginApiAccount.GetBorrowHistoryAsync();
-```
-
-```csharp
-Task
-
-*Get borrow rate*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\UnifiedMarginApi.UnifiedMarginApiAccount.GetBorrowRateAsync();
-```
-
-```csharp
-Task
-
-*Get user positions*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\UnifiedMarginApi.UnifiedMarginApiAccount.GetPositionAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get 7-day Trading History*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\UnifiedMarginApi.UnifiedMarginApiAccount.GetProfitAndLossHistoryAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Query trading history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\UnifiedMarginApi.UnifiedMarginApiAccount.GetTransactionLogAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Query wallet balance*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\UnifiedMarginApi.UnifiedMarginApiAccount.GetWalletBalance();
-```
-
-```csharp
-Task
-
-*Check, if Unified Margin Account enabled for current credentials*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\UnifiedMarginApi.UnifiedMarginApiAccount.IsUMAEnabled();
-```
-
-```csharp
-Task
-
-*Switch between full or partial Stop loss/Take profit mode*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\UnifiedMarginApi.UnifiedMarginApiAccount.SetFullPartialPositionModeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Modify leverage*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\UnifiedMarginApi.UnifiedMarginApiAccount.SetLeverageAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Set position risk*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\UnifiedMarginApi.UnifiedMarginApiAccount.SetRiskLimitAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Set position TP/SL and trailing stop.*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\UnifiedMarginApi.UnifiedMarginApiAccount.SetSlTpAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Fund transfer between accounts*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\UnifiedMarginApi.UnifiedMarginApiAccount.TransferFundsAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Cancel all active orders for a symbol*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\UnifiedMarginApi.UnifiedMarginApiTrading.CancelAllOrdersAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Cancel an order, either orderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\UnifiedMarginApi.UnifiedMarginApiTrading.CancelOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get orders*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\UnifiedMarginApi.UnifiedMarginApiTrading.GetOpenOrdersRealTimeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get orders*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\UnifiedMarginApi.UnifiedMarginApiTrading.GetOrdersAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Place a new order*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\UnifiedMarginApi.UnifiedMarginApiTrading.PlaceOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Change an exising order. Either orderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.DerivativesApi\UnifiedMarginApi.UnifiedMarginApiTrading.ReplaceOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to user balance updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.DerivativesApi\UnifiedMarginApi.UnifiedMarginApi.SubscribeToBalanceUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to greeks update*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.DerivativesApi\UnifiedMarginApi.UnifiedMarginApi.SubscribeToGreeksUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to user order updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.DerivativesApi\UnifiedMarginApi.UnifiedMarginApi.SubscribeToOrderUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to user position updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.DerivativesApi\UnifiedMarginApi.UnifiedMarginApi.SubscribeToPositionUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to user trade updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.DerivativesApi\UnifiedMarginApi.UnifiedMarginApi.SubscribeToUserTradeUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Create a new transfer from one account type to the other*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.GeneralApi.Transfer.CreateInternalTransferAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Create a new transfer for a subaccount*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.GeneralApi.Transfer.CreateSubAccountTransferAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Enable universal transfers between sub accounts*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.GeneralApi.Transfer.EnableSubaccountsUniversalTransferAsync();
-```
-
-```csharp
-Task
-
-*Coin balance for an account type including Earn*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.GeneralApi.Transfer.GetAssetBalanceAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get a list of subaccount ids*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.GeneralApi.Transfer.GetSubAccountsAsync();
-```
-
-```csharp
-Task
-
-*Get history of sub account transfers*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.GeneralApi.Transfer.GetSubAccountTransferHistoryAsync();
-```
-
-```csharp
-Task
-
-*Get history of transfers*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.GeneralApi.Transfer.GetTransferHistoryAsync();
-```
-
-```csharp
-Task
-
-*Get history of universal account transfers*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.GeneralApi.Transfer.GetUniversalTransferHistoryAsync();
-```
-
-```csharp
-Task
-
-*Create a new universal transfer*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.GeneralApi.Transfer.UniversalTransferAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Cancel withdrawal*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.GeneralApi.WithdrawDeposit.CancelWithdrawalAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get account info*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.GeneralApi.WithdrawDeposit.GetAccountInfoAsync();
-```
-
-```csharp
-Task
-
-*Get asset information regarding withdrawal/deposits*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.GeneralApi.WithdrawDeposit.GetAssetInfoAsync();
-```
-
-```csharp
-Task
-
-*Get deposit addresses for an asset*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.GeneralApi.WithdrawDeposit.GetDepositAddressesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get deposit history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.GeneralApi.WithdrawDeposit.GetDepositHistoryAsync();
-```
-
-```csharp
-Task
-
-*Get deposit information*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.GeneralApi.WithdrawDeposit.GetSupportedDepositMethodsAsync();
-```
-
-```csharp
-Task
-
-*Get withdrawal history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.GeneralApi.WithdrawDeposit.GetWithdrawalHistoryAsync();
-```
-
-```csharp
-Task
-
-*Create a withdrawal request*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.GeneralApi.WithdrawDeposit.WithdrawAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Change margin*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Account.ChangeMarginAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get Api key info*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Account.GetApiKeyInfoAsync();
-```
-
-```csharp
-Task
-
-*Get asset exchange history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Account.GetAssetExchangeHistoryAsync();
-```
-
-```csharp
-Task
-
-*Get wallet balances*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Account.GetBalancesAsync();
-```
-
-```csharp
-Task
-
-*Get user positions for a symbol*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Account.GetPositionAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get user positions*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Account.GetPositionsAsync();
-```
-
-```csharp
-Task
-
-*Get user's profit and loss records*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Account.GetProfitAndLossHistoryAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get position risk limit*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Account.GetRiskLimitAsync();
-```
-
-```csharp
-Task
-
-*Get wallet fund endpoints*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Account.GetWalletFundHistoryAsync();
-```
-
-```csharp
-Task
-
-*Get withdrawal history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Account.GetWithdrawalHistoryAsync();
-```
-
-```csharp
-Task
-
-*Switch between full or partial Stop loss/Take profit mode*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Account.SetFullPartialPositionModeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Switch between cross and isolated mode.*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Account.SetIsolatedPositionModeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Set leerage*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Account.SetLeverageAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Switch beteen onway and hedge position mode.*
-*If you are in One-Way Mode, you can only open one position on Buy or Sell side;*
-*If you are in Hedge Mode, you can open both Buy and Sell side positions simultaneously.*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Account.SetPositionModeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Set position risk*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Account.SetRiskLimitAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*The API announcements for the last 30 days*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.ExchangeData.GetAnnouncementsAsync();
-```
-
-```csharp
-Task
-
-*Get index price klines*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.ExchangeData.GetIndexPriceKlinesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get price klines*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.ExchangeData.GetKlinesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get long/short ratio*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.ExchangeData.GetLongShortRatioAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get mark price klines*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.ExchangeData.GetMarkPriceKlinesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Gets the total amount of unsettled contracts. In other words, the total number of contracts held in open positions.*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.ExchangeData.GetOpenInterestAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get the current order book for a symbol*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.ExchangeData.GetOrderBookAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Obtain filled orders worth more than 500,000 USD within the last 24h.*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.ExchangeData.GetRecentBigTradesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get the server time*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.ExchangeData.GetServerTimeAsync();
-```
-
-```csharp
-Task
-
-*Get all supported symbols*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.ExchangeData.GetSymbolsAsync();
-```
-
-```csharp
-Task
-
-*The ticker info for a symbol*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.ExchangeData.GetTickerAsync();
-```
-
-```csharp
-Task
-
-*Get public trade history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.ExchangeData.GetTradeHistoryAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Cancel all active conditional orders for a symbol*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Trading.CancelAllConditionalOrdersAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Cancel all active orders for a symbol*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Trading.CancelAllOrdersAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Cancel a conditional order, either stopOrderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Trading.CancelConditionalOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Cancel an order, either orderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Trading.CancelOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get a list of conditional orders*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Trading.GetConditionalOrdersAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get conditional order information. Either stopOrderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Trading.GetOpenConditionalOrderRealTimeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get order information for up to 10 conditional orders*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Trading.GetOpenConditionalOrdersRealTimeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get order information. Either orderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Trading.GetOpenOrderRealTimeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get order information for up to 500 orders*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Trading.GetOpenOrdersRealTimeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get orders*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Trading.GetOrdersAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get executed user trades*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Trading.GetUserTradesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Change an exising order. Either stopOrderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Trading.ModifyConditionalOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Change an exising order. Either orderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Trading.ModifyOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Place a new conditional order*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Trading.PlaceConditionalOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Place a new order*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Trading.PlaceOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Set take profit, stop loss, and trailing stop for your open position*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InverseFuturesApi.Trading.SetTradingStopAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Change margin*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Account.ChangeMarginAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get Api key info*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Account.GetApiKeyInfoAsync();
-```
-
-```csharp
-Task
-
-*Get asset exchange history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Account.GetAssetExchangeHistoryAsync();
-```
-
-```csharp
-Task
-
-*Get wallet balances*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Account.GetBalancesAsync();
-```
-
-```csharp
-Task
-
-*Get user last funding fee*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Account.GetLastUserFundingFeeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get user position for a symbol*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Account.GetPositionAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get user positions*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Account.GetPositionsAsync();
-```
-
-```csharp
-Task
-
-*Get predicted next funding rate*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Account.GetPredictedUserFundingFeeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get user's profit and loss records*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Account.GetProfitAndLossHistoryAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get position risk limit*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Account.GetRiskLimitAsync();
-```
-
-```csharp
-Task
-
-*Get wallet fund endpoints*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Account.GetWalletFundHistoryAsync();
-```
-
-```csharp
-Task
-
-*Get withdrawal history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Account.GetWithdrawalHistoryAsync();
-```
-
-```csharp
-Task
-
-*Switch between full or partial Stop loss/Take profit mode*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Account.SetFullPartialPositionModeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Switch between cross and isolated mode.*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Account.SetIsolatedPositionModeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Set leverage*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Account.SetLeverageAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Set position risk*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Account.SetRiskLimitAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*The API announcements for the last 30 days*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.ExchangeData.GetAnnouncementsAsync();
-```
-
-```csharp
-Task
-
-*Get index price klines*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.ExchangeData.GetIndexPriceKlinesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get price klines*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.ExchangeData.GetKlinesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get last funding rate*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.ExchangeData.GetLastFundingRateAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get long/short ratio*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.ExchangeData.GetLongShortRatioAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get mark price klines*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.ExchangeData.GetMarkPriceKlinesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Gets the total amount of unsettled contracts. In other words, the total number of contracts held in open positions.*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.ExchangeData.GetOpenInterestAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get the current order book for a symbol*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.ExchangeData.GetOrderBookAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get premium index klines*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.ExchangeData.GetPremiumIndexKlinesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Obtain filled orders worth more than 500,000 USD within the last 24h.*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.ExchangeData.GetRecentBigTradesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get the server time*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.ExchangeData.GetServerTimeAsync();
-```
-
-```csharp
-Task
-
-*Get all supported symbols*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.ExchangeData.GetSymbolsAsync();
-```
-
-```csharp
-Task
-
-*The ticker info for a symbol*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.ExchangeData.GetTickersAsync();
-```
-
-```csharp
-Task
-
-*Get public trade history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.ExchangeData.GetTradeHistoryAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Cancel all active conditional orders for a symbol*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Trading.CancelAllConditionalOrdersAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Cancel all active orders for a symbol*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Trading.CancelAllOrdersAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Cancel a conditional order, either stopOrderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Trading.CancelConditionalOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Cancel an order, either orderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Trading.CancelOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get a list of conditional orders*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Trading.GetConditionalOrdersAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get conditional order information. Either stopOrderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Trading.GetOpenConditionalOrderRealTimeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get order information for up to 10 conditional orders*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Trading.GetOpenConditionalOrdersRealTimeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get order information. Either orderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Trading.GetOpenOrderRealTimeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get order information for up to 500 orders*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Trading.GetOpenOrdersRealTimeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get orders*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Trading.GetOrdersAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get executed user trades*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Trading.GetUserTradesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Change an exising order. Either stopOrderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Trading.ModifyConditionalOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Change an exising order. Either orderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Trading.ModifyOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Place a new conditional order*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Trading.PlaceConditionalOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Place a new order*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Trading.PlaceOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Set take profit, stop loss, and trailing stop for your open position*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.InversePerpetualApi.Trading.SetTradingStopAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to user balance updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.InversePerpetualApi.SubscribeToBalanceUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to insurance fund updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.InversePerpetualApi.SubscribeToInsurancesUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to insurance fund updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.InversePerpetualApi.SubscribeToInsuranceUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to insurance fund updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.InversePerpetualApi.SubscribeToInsuranceUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to kline (candlestick) updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.InversePerpetualApi.SubscribeToKlinesUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to kline (candlestick) updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.InversePerpetualApi.SubscribeToKlineUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to kline (candlestick) updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.InversePerpetualApi.SubscribeToKlineUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to liquidation order updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.InversePerpetualApi.SubscribeToLiquidationsUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to liquidation order updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.InversePerpetualApi.SubscribeToLiquidationUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to liquidation order updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.InversePerpetualApi.SubscribeToLiquidationUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to orderbook updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.InversePerpetualApi.SubscribeToOrderBooksUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to orderbook updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.InversePerpetualApi.SubscribeToOrderBookUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to orderbook updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.InversePerpetualApi.SubscribeToOrderBookUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to user order updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.InversePerpetualApi.SubscribeToOrderUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to user position updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.InversePerpetualApi.SubscribeToPositionUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to user stop order updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.InversePerpetualApi.SubscribeToStopOrderUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to ticker updates. Note that for a symbol the first update is a snapshot, containing all info. After that only partial updates are given for*
-*properties which have changed. If a property in the update is `null` it isn't changed and should be ignored.*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.InversePerpetualApi.SubscribeToTickersUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to ticker updates. Note that for a symbol the first update is a snapshot, containing all info. After that only partial updates are given for*
-*properties which have changed. If a property in the update is `null` it isn't changed and should be ignored.*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.InversePerpetualApi.SubscribeToTickerUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to ticker updates. Note that for a symbol the first update is a snapshot, containing all info. After that only partial updates are given for*
-*properties which have changed. If a property in the update is `null` it isn't changed and should be ignored.*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.InversePerpetualApi.SubscribeToTickerUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to public trade updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.InversePerpetualApi.SubscribeToTradesUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to public trade updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.InversePerpetualApi.SubscribeToTradeUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to public trade updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.InversePerpetualApi.SubscribeToTradeUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to user trade updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.InversePerpetualApi.SubscribeToUserTradeUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get wallet balances*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiAccountV1.GetBalancesAsync();
-```
-
-```csharp
-Task
-
-*Get margin account info*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiAccountV1.GetMarginAccountInfoAsync();
-```
-
-```csharp
-Task
-
-*Get the best ask/bid price for a symbol*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiExchangeDataV1.GetBookPriceAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get the best ask/bid prices for all symbols*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiExchangeDataV1.GetBookPricesAsync();
-```
-
-```csharp
-Task
-
-*Get borrow info*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiExchangeDataV1.GetBorrowInterestAndQuotaAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get price klines*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiExchangeDataV1.GetKlinesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get merged order book based on the scale*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiExchangeDataV1.GetMergedOrderBookAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get the current order book for a symbol*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiExchangeDataV1.GetOrderBookAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get the last trade price of a symbol*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiExchangeDataV1.GetPriceAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get the last trade price of all symbols*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiExchangeDataV1.GetPricesAsync();
-```
-
-```csharp
-Task
-
-*Get the server time*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiExchangeDataV1.GetServerTimeAsync();
-```
-
-```csharp
-Task
-
-*Get all supported symbols*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiExchangeDataV1.GetSymbolsAsync();
-```
-
-```csharp
-Task
-
-*The ticker info for a symbol*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiExchangeDataV1.GetTickerAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*The ticker info for all symbols*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiExchangeDataV1.GetTickersAsync();
-```
-
-```csharp
-Task
-
-*Get public trade history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiExchangeDataV1.GetTradeHistoryAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Cancel multiple orders based on the provided parameters*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiTradingV1.CancelMultipleOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Cancel an active order. Either orderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiTradingV1.CancelOrderAsync();
-```
-
-```csharp
-Task
-
-*Get borrow records*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiTradingV1.GetBorrowRecordsAsync();
-```
-
-```csharp
-Task
-
-*Get open orders*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiTradingV1.GetOpenOrdersAsync();
-```
-
-```csharp
-Task
-
-*Get order, either orderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiTradingV1.GetOrderAsync();
-```
-
-```csharp
-Task
-
-*Get orders*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiTradingV1.GetOrdersAsync();
-```
-
-```csharp
-Task
-
-*Get repayment records*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiTradingV1.GetRepayRecordsAsync();
-```
-
-```csharp
-Task
-
-*Get user trade history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiTradingV1.GetUserTradesAsync();
-```
-
-```csharp
-Task
-
-*Place a new borrow order*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiTradingV1.PlaceBorrowOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Place a new order*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiTradingV1.PlaceOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Place a new borrow order*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v1.SpotApiTradingV1.PlaceRepayOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to kline updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.SpotApi\v1.SpotApiV1.SubscribeToKlineUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to leverage token net value updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.SpotApi\v1.SpotApiV1.SubscribeToLeverageTokenUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to diff of order book updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.SpotApi\v1.SpotApiV1.SubscribeToOrderBookDiffUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to aggregated order book updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.SpotApi\v1.SpotApiV1.SubscribeToOrderBookMergedUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to order book updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.SpotApi\v1.SpotApiV1.SubscribeToOrderBookUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to ticker updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.SpotApi\v1.SpotApiV1.SubscribeToTickerUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to public trade updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.SpotApi\v1.SpotApiV1.SubscribeToTradeUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to account data updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.SpotApi\v2.SpotApiV2.SubscribeToAccountUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to book price updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.SpotApi\v2.SpotApiV2.SubscribeToBookPriceUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to kline updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.SpotApi\v2.SpotApiV2.SubscribeToKlineUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to order book updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.SpotApi\v2.SpotApiV2.SubscribeToOrderBookUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to ticker updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.SpotApi\v2.SpotApiV2.SubscribeToTickerUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to public trade updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.SpotApi\v2.SpotApiV2.SubscribeToTradeUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get wallet balances*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiAccountV3.GetBalancesAsync();
-```
-
-```csharp
-Task
-
-*Get margin account info*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiAccountV3.GetMarginAccountInfoAsync();
-```
-
-```csharp
-Task
-
-*Get the best ask/bid price for a symbol*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiExchangeDataV3.GetBookPriceAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get the best ask/bid prices for all symbols*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiExchangeDataV3.GetBookPricesAsync();
-```
-
-```csharp
-Task
-
-*Get borrow info*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiExchangeDataV3.GetBorrowInterestAndQuotaAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get price klines*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiExchangeDataV3.GetKlinesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get merged order book based on the scale*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiExchangeDataV3.GetMergedOrderBookAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get the current order book for a symbol*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiExchangeDataV3.GetOrderBookAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get the last trade price of a symbol*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiExchangeDataV3.GetPriceAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get the last trade price of all symbols*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiExchangeDataV3.GetPricesAsync();
-```
-
-```csharp
-Task
-
-*Get the server time*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiExchangeDataV3.GetServerTimeAsync();
-```
-
-```csharp
-Task
-
-*Get all supported symbols*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiExchangeDataV3.GetSymbolsAsync();
-```
-
-```csharp
-Task
-
-*The ticker info for a symbol*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiExchangeDataV3.GetTickerAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*The ticker info for all symbols*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiExchangeDataV3.GetTickersAsync();
-```
-
-```csharp
-Task
-
-*Get public trade history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiExchangeDataV3.GetTradeHistoryAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Cancel multiple orders based on the provided parameters*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiTradingV3.CancelMultipleOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Cancel an active order. Either orderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiTradingV3.CancelOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get borrow records*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiTradingV3.GetBorrowRecordsAsync();
-```
-
-```csharp
-Task
-
-*Get open orders*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiTradingV3.GetOpenOrdersAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get order, either orderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiTradingV3.GetOrderAsync();
-```
-
-```csharp
-Task
-
-*Get orders*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiTradingV3.GetOrdersAsync();
-```
-
-```csharp
-Task
-
-*Get repayment records*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiTradingV3.GetRepayRecordsAsync();
-```
-
-```csharp
-Task
-
-*Get user trade history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiTradingV3.GetUserTradesAsync();
-```
-
-```csharp
-Task
-
-*Place a new borrow order*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiTradingV3.PlaceBorrowOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Place a new order*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiTradingV3.PlaceOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Place a new borrow order*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.SpotApi\v3.SpotApiTradingV3.PlaceRepayOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to account balances update*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.SpotApi\v3.SpotApiV3.SubscribeToAccountUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to book price updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.SpotApi\v3.SpotApiV3.SubscribeToBookPriceUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to kline updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.SpotApi\v3.SpotApiV3.SubscribeToKlineUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to order book updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.SpotApi\v3.SpotApiV3.SubscribeToOrderBookUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to ticker updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.SpotApi\v3.SpotApiV3.SubscribeToTickerUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to public trade updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.SpotApi\v3.SpotApiV3.SubscribeToTradeUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to orders updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.SpotApi\v3.SpotApiV3.SubscribeToUserOrdersUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to SL/TP orders updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.SpotApi\v3.SpotApiV3.SubscribeToUserStopOrdersUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Susbcribe to user trade updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.SpotApi\v3.SpotApiV3.SubscribeToUserTradesUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Add/reduce margin*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Account.AddReduceMarginAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get Api key info*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Account.GetApiKeyInfoAsync();
-```
-
-```csharp
-Task
-
-*Get asset exchange history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Account.GetAssetExchangeHistoryAsync();
-```
-
-```csharp
-Task
-
-*Get wallet balances*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Account.GetBalancesAsync();
-```
-
-```csharp
-Task
-
-*Get user positions*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Account.GetPositionAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get user positions*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Account.GetPositionsAsync();
-```
-
-```csharp
-Task
-
-*Get user's profit and loss records*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Account.GetProfitAndLossHistoryAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get position risk limit*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Account.GetRiskLimitAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get user last funding fee*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Account.GetUserLastFundingFeeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get predicted next funding rate*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Account.GetUserPredictedFundingRateAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get wallet fund endpoints*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Account.GetWalletFundHistoryAsync();
-```
-
-```csharp
-Task
-
-*Get withdrawal history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Account.GetWithdrawalHistoryAsync();
-```
-
-```csharp
-Task
-
-*Set auto add margin switch*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Account.SetAutoAddMarginAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Switch between full or partial Stop loss/Take profit mode*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Account.SetFullPartialPositionModeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Switch Cross/Isolated; must set leverage value when switching from Cross to Isolated*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Account.SetIsolatedPositionModeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Set leverage*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Account.SetLeverageAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Switch position mode. If you are in One-Way Mode, you can only open one position on Buy or Sell side;*
-*If you are in Hedge Mode, you can open both Buy and Sell side positions simultaneously.*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Account.SetPositionModeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Set position risk*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Account.SetRiskLimitAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*The API announcements for the last 30 days*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.ExchangeData.GetAnnouncementsAsync();
-```
-
-```csharp
-Task
-
-*Get index price klines*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.ExchangeData.GetIndexPriceKlinesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get price klines*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.ExchangeData.GetKlinesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get last funding rate*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.ExchangeData.GetLastFundingRateAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get long/short ratio*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.ExchangeData.GetLongShortRatioAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get mark price klines*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.ExchangeData.GetMarkPriceKlinesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Gets the total amount of unsettled contracts. In other words, the total number of contracts held in open positions.*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.ExchangeData.GetOpenInterestAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get the current order book for a symbol*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.ExchangeData.GetOrderBookAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get premium index klines*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.ExchangeData.GetPremiumIndexKlinesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Obtain filled orders worth more than 500,000 USD within the last 24h.*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.ExchangeData.GetRecentBigTradesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get the server time*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.ExchangeData.GetServerTimeAsync();
-```
-
-```csharp
-Task
-
-*Get all supported symbols*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.ExchangeData.GetSymbolsAsync();
-```
-
-```csharp
-Task
-
-*The ticker info for a symbol*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.ExchangeData.GetTickerAsync();
-```
-
-```csharp
-Task
-
-*Get public trade history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.ExchangeData.GetTradeHistoryAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Cancel all active conditional orders for a symbol*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Trading.CancelAllConditionalOrdersAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Cancel all active orders for a symbol*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Trading.CancelAllOrdersAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Cancel a conditional order, either stopOrderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Trading.CancelConditionalOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Cancel an order, either orderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Trading.CancelOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get a list of conditional orders*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Trading.GetConditionalOrdersAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get conditional order information. Either stopOrderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Trading.GetOpenConditionalOrderRealTimeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get order information for up to 10 conditional orders*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Trading.GetOpenConditionalOrdersRealTimeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get order information. Either orderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Trading.GetOpenOrderRealTimeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get order information for up to 500 orders*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Trading.GetOpenOrdersRealTimeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get orders*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Trading.GetOrdersAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get executed user trades*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Trading.GetUserTradesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Change an exising order. Either stopOrderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Trading.ModifyConditionalOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Change an exising order. Either orderId or clientOrderId should be provided*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Trading.ModifyOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Place a new conditional order*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Trading.PlaceConditionalOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Place a new order*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Trading.PlaceOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Set take profit, stop loss, and trailing stop for your open position*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.UsdPerpetualApi.Trading.SetTradingStopAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to user balance updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.UsdPerpetualApi.SubscribeToBalanceUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to kline (candlestick) updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.UsdPerpetualApi.SubscribeToKlineUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to kline (candlestick) updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.UsdPerpetualApi.SubscribeToKlineUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to liquidation order updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.UsdPerpetualApi.SubscribeToLiquidationsUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to liquidation order updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.UsdPerpetualApi.SubscribeToLiquidationUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to liquidation order updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.UsdPerpetualApi.SubscribeToLiquidationUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to orderbook updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.UsdPerpetualApi.SubscribeToOrderBooksUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to orderbook updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.UsdPerpetualApi.SubscribeToOrderBookUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to orderbook updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.UsdPerpetualApi.SubscribeToOrderBookUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to user order updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.UsdPerpetualApi.SubscribeToOrderUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to user position updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.UsdPerpetualApi.SubscribeToPositionUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to user stop order updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.UsdPerpetualApi.SubscribeToStopOrderUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to ticker updates. Note that for a symbol the first update is a snapshot, containing all info. After that only partial updates are given for*
-*properties which have changed. If a property in the update is `null` it isn't changed and should be ignored.*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.UsdPerpetualApi.SubscribeToTickerUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to ticker updates. Note that for a symbol the first update is a snapshot, containing all info. After that only partial updates are given for*
-*properties which have changed. If a property in the update is `null` it isn't changed and should be ignored.*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.UsdPerpetualApi.SubscribeToTickerUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to public trade updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.UsdPerpetualApi.SubscribeToTradesUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to public trade updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.UsdPerpetualApi.SubscribeToTradeUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to public trade updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.UsdPerpetualApi.SubscribeToTradeUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to user trade updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.UsdPerpetualApi.SubscribeToUserTradeUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Manually add or reduce margin for isolated margin position*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.AddOrReduceMarginAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Cancel a withdrawal*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.CancelWithdrawalAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Create an internal transfer between different account types*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.CreateInternalTransferAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Transfer between main/sub accounts*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.CreateUniversalTransferAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Delete the current API Key*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.DeleteApiKeyAsync();
-```
-
-```csharp
-Task
-
-*Edit master API key settings*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.EditApiKeyAsync();
-```
-
-```csharp
-Task
-
-*Get account types*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.GetAccountTypesAsync();
-```
-
-```csharp
-Task
-
-*Get all balances*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.GetAllAssetBalancesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get allowed deposit asset info*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.GetAllowedDepositAssetInfoAsync();
-```
-
-```csharp
-Task
-
-*Get api key info for the current api key*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.GetApiKeyInfoAsync();
-```
-
-```csharp
-Task
-
-*Get asset balance*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.GetAssetBalanceAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get current account greek info*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.GetAssetGreeksAsync();
-```
-
-```csharp
-Task
-
-*Get coin info including chain info and withdrawal and deposit status*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.GetAssetInfoAsync();
-```
-
-```csharp
-Task
-
-*Get asset information*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.GetAssetInfoAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get wallet balance and account info*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.GetBalancesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get borrow history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.GetBorrowHistoryAsync();
-```
-
-```csharp
-Task
-
-*Get the collateral information of the current unified margin account, including loan interest rate, loanable amount, collateral conversion rate, whether it can be mortgaged as margin, etc.*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.GetCollateralInfoAsync();
-```
-
-```csharp
-Task
-
-*Get delayed withdrawal amount*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.GetDelayedWithdrawQuantityAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get the master deposit address for an asset*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.GetDepositAddressAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get list of deposits*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.GetDepositsAsync();
-```
-
-```csharp
-Task
-
-*Get fee rates*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.GetFeeRateAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get internal transfer history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.GetInternalTransfersAsync();
-```
-
-```csharp
-Task
-
-*Get margin configuration info*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.GetMarginAccountInfoAsync();
-```
-
-```csharp
-Task
-
-*Get spot margin data*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.GetSpotMarginDataAsync();
-```
-
-```csharp
-Task
-
-*Query the Spot margin status and leverage of Unified account*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.GetSpotMarginStatusAndLeverageAsync();
-```
-
-```csharp
-Task
-
-*Get transaction logs in Unified account.*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.GetTransactionHistoryAsync();
-```
-
-```csharp
-Task
-
-*Get a list of transferable assets between accounts*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.GetTransferableAssetsAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get universal transfer history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.GetUniversalTransfersAsync();
-```
-
-```csharp
-Task
-
-*Get withdrawal history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.GetWithdrawalsAsync();
-```
-
-```csharp
-Task
-
-*Set auto add margin*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.SetAutoAddMarginAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Set the account deposits are credited to*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.SetDepositAccountAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Set leverage*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.SetLeverageAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Set the margin mode*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.SetMarginModeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Set the risk limit*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.SetRiskLimitAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Set the user's maximum leverage in spot cross margin*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.SetSpotMarginLeverageAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Turn on / off spot margin trade*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.SetSpotMarginTradeModeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Set take profit/stop loss mode*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.SetTakeProfitStopLossModeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Switch cross or isolated margin mode*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.SwitchCrossIsolatedMarginAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Switch position mode*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.SwitchPositionModeAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Withdraw funds*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiAccount.WithdrawAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get server announcements*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiExchangeData.GetAnnouncementsAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get delivery price*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiExchangeData.GetDeliveryPriceAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get funding rate history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiExchangeData.GetFundingRateHistoryAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get historical volatility*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiExchangeData.GetHistoricalVolatilityAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get index price klines*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiExchangeData.GetIndexPriceKlinesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get insurance pool data*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiExchangeData.GetInsuranceAsync();
-```
-
-```csharp
-Task
-
-*Get klines*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiExchangeData.GetKlinesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get leveraged token market info*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiExchangeData.GetLeverageTokenMarketAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get leverage token info*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiExchangeData.GetLeverageTokensAsync();
-```
-
-```csharp
-Task
-
-*Get linear/inverse symbols*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiExchangeData.GetLinearInverseSymbolsAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get linear/inverse tickers*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiExchangeData.GetLinearInverseTickersAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get mark price klines*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiExchangeData.GetMarkPriceKlinesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get open interest*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiExchangeData.GetOpenInterestAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get option symbols*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiExchangeData.GetOptionSymbolsAsync();
-```
-
-```csharp
-Task
-
-*Get option tickers*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiExchangeData.GetOptionTickersAsync();
-```
-
-```csharp
-Task
-
-*Get order book*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiExchangeData.GetOrderbookAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get premium index klines*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiExchangeData.GetPremiumIndexPriceKlinesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get risk limits*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiExchangeData.GetRiskLimitAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get server time*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiExchangeData.GetServerTimeAsync();
-```
-
-```csharp
-Task
-
-*Get spot symbols*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiExchangeData.GetSpotSymbolsAsync();
-```
-
-```csharp
-Task
-
-*Spot tickers*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiExchangeData.GetSpotTickersAsync();
-```
-
-```csharp
-Task
-
-*Get trade history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiExchangeData.GetTradeHistoryAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Create a new API key for a sub account*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiSubAccounts.CreateSubAccountApiKeyAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Create a new sub account*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiSubAccounts.CreateSubAccountAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Delete an API key*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiSubAccounts.DeleteSubAccountApiKeyAsync();
-```
-
-```csharp
-Task
-
-*Edit API key*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiSubAccounts.EditSubAccountApiKeyAsync();
-```
-
-```csharp
-Task
-
-*Get list of subaccounts*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiSubAccounts.GetSubAccountsAsync();
-```
-
-```csharp
-Task
-
-*Cancel all orders*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiTrading.CancelAllOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Cancel multiple orders*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiTrading.CancelMultipleOrdersAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Cancel order*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiTrading.CancelOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Edit multiple orders*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiTrading.EditMultipleOrdersAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Edit an order*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiTrading.EditOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get asset exchange history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiTrading.GetAssetExchangeHistoryAsync();
-```
-
-```csharp
-Task
-
-*Get spot borrow quota*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiTrading.GetBorrowQuotaAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get closed profit and loss*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiTrading.GetClosedProfitLossAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get delivery history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiTrading.GetDeliveryHistoryAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get leverage token order history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiTrading.GetLeverageTokenOrderHistoryAsync();
-```
-
-```csharp
-Task
-
-*Get order history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiTrading.GetOrderHistoryAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get real-time open orders*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiTrading.GetOrdersAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get positions*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiTrading.GetPositionsAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get settlement history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiTrading.GetSettlementHistoryAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Get user trade history*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiTrading.GetUserTradesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Place multiple orders*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiTrading.PlaceMultipleOrdersAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Place an order*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiTrading.PlaceOrderAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Purchase a leverage token*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiTrading.PurchaseLeverageTokenAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Redeem a leverage token*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiTrading.RedeemLeverageTokenAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Set cancel all timeout on websocket disconnect*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiTrading.SetDisconnectCancelAllAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Set trading stop parameters*
-
-```csharp
-var client = new BybitRestClient();
-var result = await client.V5.ApiTrading.SetTradingStopAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to kline updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.BaseApi.SubscribeToKlineUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to kline updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.BaseApi.SubscribeToKlineUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to order book updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.BaseApi.SubscribeToOrderbookUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to order book updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.BaseApi.SubscribeToOrderbookUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to public trade updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.BaseApi.SubscribeToTradeUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to public trade updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.BaseApi.SubscribeToTradeUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to liquidation updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.InverseApi.SubscribeToLiquidationUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to liquidation updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.InverseApi.SubscribeToLiquidationUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to ticker updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.InverseApi.SubscribeToTickerUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to ticker updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.InverseApi.SubscribeToTickerUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to liquidation updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.LinearApi.SubscribeToLiquidationUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to liquidation updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.LinearApi.SubscribeToLiquidationUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to ticker updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.LinearApi.SubscribeToTickerUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to ticker updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.LinearApi.SubscribeToTickerUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to liquidation updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.OptionApi.SubscribeToLiquidationUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to liquidation updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.OptionApi.SubscribeToLiquidationUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to ticker updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.OptionApi.SubscribeToTickerUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to ticker updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.OptionApi.SubscribeToTickerUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to Greek updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.PrivateApi.SubscribeToGreekUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to order updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.PrivateApi.SubscribeToOrderUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to position updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.PrivateApi.SubscribeToPositionUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to trade updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.PrivateApi.SubscribeToUserTradeUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to wallet balance updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.PrivateApi.SubscribeToWalletUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to leveraged token kline updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.SpotApi.SubscribeToLeveragedTokenKlineUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to leveraged token kline updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.SpotApi.SubscribeToLeveragedTokenKlineUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to leveraged token NAV updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.SpotApi.SubscribeToLeveragedTokenNavUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to leveraged token NAV updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.SpotApi.SubscribeToLeveragedTokenNavUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to leveraged token ticker updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.SpotApi.SubscribeToLeveragedTokenTickerUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to leveraged token ticker updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.SpotApi.SubscribeToLeveragedTokenTickerUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to ticker updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.SpotApi.SubscribeToTickerUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
-
-*Subscribe to ticker updates*
-
-```csharp
-var client = new BybitSocketClient();
-var result = await client.V5.SpotApi.SubscribeToTickerUpdatesAsync(/* parameters */);
-```
-
-```csharp
-Task
- -### Get market data -```csharp -// Getting info on all symbols -var symbolData = await bybitClient.SpotApi.ExchangeData.GetSymbolsAsync(); - -// Getting tickers for all symbols -var tickerData = await bybitClient.SpotApi.ExchangeData.GetTickersAsync(); - -// Getting the order book of a symbol -var orderBookData = await bybitClient.SpotApi.ExchangeData.GetOrderBookAsync("BTCUSDT"); - -// Getting recent trades of a symbol -var tradeHistoryData = await bybitClient.SpotApi.ExchangeData.GetTradeHistoryAsync("BTC-USDT"); -``` - -### Requesting balances -```csharp -var accountData = await bybitClient.SpotApi.Account.GetBalancesAsync(); -``` -### Placing order -```csharp -// Placing a buy limit order for 0.001 BTC at a price of 50000USDT each -var orderData = await bybitClient.SpotApi.Trading.PlaceOrderAsync( - "BTCUSDT", - OrderSide.Buy, - OrderType.Limit, - 0.001m, - 50000, - timeInForce: TimeInForce.GoodTillCanceled); - -// Placing a buy market order, spending 50 USDT. When placing a Buy Market order the quantity is quote asset. Any other time it's in base asset. -var orderData = await bybitClient.SpotApi.Trading.PlaceOrderAsync( - "BTCUSDT", - OrderSide.Buy, - OrderType.Market, - 50); -``` - -### Requesting a specific order -```csharp -// Request info on order with id `1234` -var orderData = await bybitClient.SpotApi.Trading.GetOrderAsync(1234); -``` - -### Requesting order history -```csharp -// Get all orders conform the parameters - var ordersData = await bybitClient.SpotApi.Trading.GetOrdersAsync(); -``` - -### Cancel order -```csharp -// Cancel order with id `1234` -var orderData = await bybitClient.SpotApi.Trading.CancelOrderAsync(1234); -``` - -### Get user trades -```csharp -var userTradesResult = await bybitClient.SpotApi.Trading.GetUserTradesAsync(); -``` - -### Subscribing to market data updates -```csharp -var subscribeResult = await bybitSocketClient.SpotApi.SubscribeToTickerUpdatesAsync("BTCUSDT", data => -{ - // Handle ticker data -}); -``` - -### Subscribing to order updates -```csharp -await bybitSocketClient.SpotApi.SubscribeToAccountUpdatesAsync( - accountUpdate => - { - // Handle balance or permissions update - }, - orderUpdate => - { - // Handle order update - }, - tradeUpdate => - { - // Handle trade update - }); -``` - --
- -### Get market data -```csharp - // Getting info on all symbols -var symbolData = await bybitClient.UsdPerpetualApi.ExchangeData.GetSymbolsAsync(); - -// Getting the order book of a symbol -var orderBookData = await bybitClient.UsdPerpetualApi.ExchangeData.GetOrderBookAsync("BTCUSDT"); - -// Getting recent trades of a symbol -var tradeHistoryData = await bybitClient.UsdPerpetualApi.ExchangeData.GetTradeHistoryAsync("BTCUSDT"); -``` - -### Requesting positions -```csharp -// Getting your current positions -var positionResultData = await bybitClient.UsdPerpetualApi.Account.GetPositionsAsync(); -``` - -### Placing order -```csharp -// Placing a Limit Sell order for 0.01 BTC at a price of 50000USDT each -var positionResultData = await bybitClient.UsdPerpetualApi.Trading.PlaceOrderAsync( - "BTCUSDT", - OrderSide.Sell, - OrderType.Limit, - 0.01m, - TimeInForce.GoodTillCanceled, - false, - false, - 50000); -``` - -### Requesting a specific order -```csharp -// Get info on an order id 1234 on symbol BTCUSDT -var orderResult = await bybitClient.UsdPerpetualApi.Trading.GetOpenOrderRealTimeAsync("BTCUSDT", "1234"); - -``` - -### Requesting order history -```csharp -// Get all orders for the account. Can apply filters as parameters -var orderResult = await bybitClient.UsdPerpetualApi.Trading.GetOrdersAsync("BTCUSDT"); -``` - -### Cancel order -```csharp -// Cancel order with id 1234 on symbol BTCUSDT -var orderResult = await bybitClient.UsdPerpetualApi.Trading.CancelOrderAsync("BTCUSDT", "1234"); - -``` - -### Get user trades -```csharp -var userTradesResult = await bybitClient.UsdPerpetualApi.Trading.GetUserTradesAsync("BTCUSDT"); -``` - -### Subscribing to position updates -```csharp -await bybitSocketClient.UsdPerpetualApi.SubscribeToPositionUpdatesAsync( - data => - { - // Handle position update - }); -``` - --
- -### Get market data -```csharp - // Getting info on all symbols -var symbolData = await bybitClient.InverseFuturesApi.ExchangeData.GetSymbolsAsync(); - -// Getting the order book of a symbol -var orderBookData = await bybitClient.InverseFuturesApi.ExchangeData.GetOrderBookAsync("BTCUSDT"); - -// Getting recent trades of a symbol -var tradeHistoryData = await bybitClient.InverseFuturesApi.ExchangeData.GetTradeHistoryAsync("BTCUSDT"); -``` - -### Requesting positions -```csharp -// Getting your current positions -var positionResultData = await bybitClient.InverseFuturesApi.Account.GetPositionsAsync(); -``` - -### Placing order -```csharp -// Placing a Market buy order for 10 USDT -var positionResultData = await bybitClient.InverseFuturesApi.Trading.PlaceOrderAsync( - "BTCUSDM21", - OrderSide.Buy, - OrderType.Market, - PositionMode.BothSideBuy, - 10, - TimeInForce.GoodTillCanceled); -``` - -### Requesting a specific order -```csharp -// Get info on an order id 1234 on symbol BTCUSDM21 -var orderResult = await bybitClient.InverseFuturesApi.Trading.GetOpenOrderRealTimeAsync("BTCUSDM21", "1234"); - -``` - -### Requesting order history -```csharp -// Get all orders for the account. Can apply filters as parameters -var orderResult = await bybitClient.InverseFuturesApi.Trading.GetOrdersAsync("BTCUSDM21"); -``` - -### Cancel order -```csharp -// Cancel order with id 1234 on symbol BTCUSDM21 -var orderResult = await bybitClient.InverseFuturesApi.Trading.CancelOrderAsync("BTCUSDM21", "1234"); - -``` - -### Get user trades -```csharp -var userTradesResult = await bybitClient.InverseFuturesApi.Trading.GetUserTradesAsync("BTCUSDM21"); -``` - -### Streams -The InverseFutures API has no specific streams. The InverseFutures and InversePerpetual streams are equal and available to use via the InversePerpetualsStreams property. - --
- -### Get market data -```csharp - // Getting info on all symbols -var symbolData = await bybitClient.InversePerpetualApi.ExchangeData.GetSymbolsAsync(); - -// Getting the order book of a symbol -var orderBookData = await bybitClient.InversePerpetualApi.ExchangeData.GetOrderBookAsync("BTCUSD"); - -// Getting recent trades of a symbol -var tradeHistoryData = await bybitClient.InversePerpetualApi.ExchangeData.GetTradeHistoryAsync("BTCUSD"); -``` - -### Requesting positions -```csharp -// Getting your current positions -var positionResultData = await bybitClient.InversePerpetualApi.Account.GetPositionsAsync(); -``` - -### Placing order -```csharp -// Placing a Market buy order for 10 USDT -var positionResultData = await bybitClient.InversePerpetualApi.Trading.PlaceOrderAsync( - "BTCUSD", - OrderSide.Buy, - OrderType.Market, - 10, - TimeInForce.GoodTillCanceled); -``` - -### Requesting a specific order -```csharp -// Get info on an order id 1234 on symbol BTCUSD -var orderResult = await bybitClient.InversePerpetualApi.Trading.GetOpenOrderRealTimeAsync("BTCUSD", "1234"); - -``` - -### Requesting order history -```csharp -// Get all orders for the account. Can apply filters as parameters -var orderResult = await bybitClient.InversePerpetualApi.Trading.GetOrdersAsync("BTCUSD"); -``` - -### Cancel order -```csharp -// Cancel order with id 1234 on symbol BTCUSD -var orderResult = await bybitClient.InversePerpetualApi.Trading.CancelOrderAsync("BTCUSD", "1234"); - -``` - -### Get user trades -```csharp -var userTradesResult = await bybitClient.InversePerpetualApi.Trading.GetUserTradesAsync("BTCUSD"); -``` - -### Subscribing to position updates -```csharp -await bybitSocketClient.InversePerpetualApi.SubscribeToPositionUpdatesAsync( - data => - { - // Handle position update - }); -``` - --