1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-10-14 15:11:44 +00:00
This commit is contained in:
Jkorf
2026-09-10 13:26:33 +02:00
parent dc4a6af695
commit 876c2d27f7
45 changed files with 84 additions and 84 deletions
@@ -7,7 +7,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting assets info /// Options for requesting assets info
/// </summary> /// </summary>
public class GetAllAssetsOptions : CapabilityOptions<GetAssetsRequest, IGetAllAssetsRest> public class GetAllAssetsOptions : CapabilityOptions<GetAssetsRequest, IGetAllAssets>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve basic info for all assets and the networks they support for withdrawals/deposits"; public override string Description => "Retrieve basic info for all assets and the networks they support for withdrawals/deposits";
@@ -7,7 +7,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting asset info /// Options for requesting asset info
/// </summary> /// </summary>
public class GetAssetOptions : CapabilityOptions<GetAssetRequest, IGetAssetRest> public class GetAssetOptions : CapabilityOptions<GetAssetRequest, IGetAsset>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve basic info for a single asset and networks it supports for withdrawals/deposits"; public override string Description => "Retrieve basic info for a single asset and networks it supports for withdrawals/deposits";
@@ -6,7 +6,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting a transfer /// Options for requesting a transfer
/// </summary> /// </summary>
public class GetBalancesOptions : CapabilityOptions<GetBalancesRequest, IGetBalancesRest> public class GetBalancesOptions : CapabilityOptions<GetBalancesRequest, IGetBalances>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve account balances"; public override string Description => "Retrieve account balances";
@@ -7,7 +7,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting deposit address /// Options for requesting deposit address
/// </summary> /// </summary>
public class GetDepositAddressesOptions : CapabilityOptions<GetDepositAddressesRequest, IGetDepositAddressesRest> public class GetDepositAddressesOptions : CapabilityOptions<GetDepositAddressesRequest, IGetDepositAddresses>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve deposit addresses for an asset"; public override string Description => "Retrieve deposit addresses for an asset";
@@ -7,7 +7,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting trading fee info /// Options for requesting trading fee info
/// </summary> /// </summary>
public class GetFeeOptions : CapabilityOptions<GetFeeRequest, IGetFeesRest> public class GetFeeOptions : CapabilityOptions<GetFeeRequest, IGetFees>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve trading fee information"; public override string Description => "Retrieve trading fee information";
@@ -7,7 +7,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting the index price /// Options for requesting the index price
/// </summary> /// </summary>
public class GetAllIndexPricesOptions : CapabilityOptions<GetAllIndexPricesRequest, IGetAllIndexPricesRest> public class GetAllIndexPricesOptions : CapabilityOptions<GetAllIndexPricesRequest, IGetAllIndexPrices>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve the index prices for all futures symbols"; public override string Description => "Retrieve the index prices for all futures symbols";
@@ -7,7 +7,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting the index price /// Options for requesting the index price
/// </summary> /// </summary>
public class GetIndexPriceOptions : CapabilityOptions<GetIndexPriceRequest, IGetIndexPriceRest> public class GetIndexPriceOptions : CapabilityOptions<GetIndexPriceRequest, IGetIndexPrice>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve the index price for a futures symbol"; public override string Description => "Retrieve the index price for a futures symbol";
@@ -7,7 +7,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting leverage info /// Options for requesting leverage info
/// </summary> /// </summary>
public class GetLeverageOptions : CapabilityOptions<GetLeverageRequest, IGetLeverageRest> public class GetLeverageOptions : CapabilityOptions<GetLeverageRequest, IGetLeverage>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve the current leverage for a futures symbol"; public override string Description => "Retrieve the current leverage for a futures symbol";
@@ -7,7 +7,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting leverage tier info /// Options for requesting leverage tier info
/// </summary> /// </summary>
public class GetLeverageTiersOptions : CapabilityOptions<GetLeverageTiersRequest, IGetLeverageTiersRest> public class GetLeverageTiersOptions : CapabilityOptions<GetLeverageTiersRequest, IGetLeverageTiers>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve the current leverage tier information for a futures symbol"; public override string Description => "Retrieve the current leverage tier information for a futures symbol";
@@ -3,7 +3,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for setting leverage /// Options for setting leverage
/// </summary> /// </summary>
public class SetLeverageOptions : CapabilityOptions<SetLeverageRequest, ISetLeverageRest> public class SetLeverageOptions : CapabilityOptions<SetLeverageRequest, ISetLeverage>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Set the leverage for a futures symbol"; public override string Description => "Set the leverage for a futures symbol";
@@ -7,7 +7,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting the mark price /// Options for requesting the mark price
/// </summary> /// </summary>
public class GetAllMarkPricesOptions : CapabilityOptions<GetAllMarkPricesRequest, IGetAllMarkPricesRest> public class GetAllMarkPricesOptions : CapabilityOptions<GetAllMarkPricesRequest, IGetAllMarkPrices>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve the mark prices for all futures symbols"; public override string Description => "Retrieve the mark prices for all futures symbols";
@@ -7,7 +7,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting the mark price /// Options for requesting the mark price
/// </summary> /// </summary>
public class GetMarkPriceOptions : CapabilityOptions<GetMarkPriceRequest, IGetMarkPriceRest> public class GetMarkPriceOptions : CapabilityOptions<GetMarkPriceRequest, IGetMarkPrice>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve the mark price for a futures symbol"; public override string Description => "Retrieve the mark price for a futures symbol";
@@ -7,7 +7,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting open interest /// Options for requesting open interest
/// </summary> /// </summary>
public class GetOpenInterestOptions : CapabilityOptions<GetOpenInterestRequest, IGetOpenInterestRest> public class GetOpenInterestOptions : CapabilityOptions<GetOpenInterestRequest, IGetOpenInterest>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve open interest for a futures symbol"; public override string Description => "Retrieve open interest for a futures symbol";
@@ -7,7 +7,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting book ticker /// Options for requesting book ticker
/// </summary> /// </summary>
public class GetBookTickerOptions : CapabilityOptions<GetBookTickerRequest, IGetBookTickerRest> public class GetBookTickerOptions : CapabilityOptions<GetBookTickerRequest, IGetBookTicker>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve the best bid and ask price for a symbol"; public override string Description => "Retrieve the best bid and ask price for a symbol";
@@ -8,7 +8,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting order book /// Options for requesting order book
/// </summary> /// </summary>
public class GetOrderBookOptions : CapabilityOptions<GetOrderBookRequest, IGetOrderBookRest> public class GetOrderBookOptions : CapabilityOptions<GetOrderBookRequest, IGetOrderBook>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve the current order book for a symbol"; public override string Description => "Retrieve the current order book for a symbol";
@@ -3,7 +3,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for canceling a futures order by client order id /// Options for canceling a futures order by client order id
/// </summary> /// </summary>
public class CancelFuturesOrderByClientOrderIdOptions : CapabilityOptions<CancelOrderRequest, ICancelFuturesOrderByClientOrderIdRest> public class CancelFuturesOrderByClientOrderIdOptions : CapabilityOptions<CancelOrderRequest, ICancelFuturesOrderByClientOrderId>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Cancel a futures order by its client order id"; public override string Description => "Cancel a futures order by its client order id";
@@ -17,7 +17,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public CancelFuturesOrderByClientOrderIdOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(ICancelFuturesOrderByClientOrderIdRest.CancelFuturesOrderByClientOrderIdAsync), _defaultParameterRules) public CancelFuturesOrderByClientOrderIdOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(ICancelFuturesOrderByClientOrderId.CancelFuturesOrderByClientOrderIdAsync), _defaultParameterRules)
{ {
} }
} }
@@ -3,7 +3,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for editing a futures order by client order id /// Options for editing a futures order by client order id
/// </summary> /// </summary>
public class EditFuturesOrderByClientOrderIdOptions : CapabilityOptions<EditOrderRequest, IEditFuturesOrderByClientOrderIdRest> public class EditFuturesOrderByClientOrderIdOptions : CapabilityOptions<EditOrderRequest, IEditFuturesOrderByClientOrderId>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Edit a futures order by its client order id"; public override string Description => "Edit a futures order by its client order id";
@@ -19,7 +19,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public EditFuturesOrderByClientOrderIdOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IEditFuturesOrderByClientOrderIdRest.EditFuturesOrderByClientOrderIdAsync), _defaultParameterRules) public EditFuturesOrderByClientOrderIdOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IEditFuturesOrderByClientOrderId.EditFuturesOrderByClientOrderIdAsync), _defaultParameterRules)
{ {
} }
} }
@@ -7,7 +7,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for getting a futures order by id endpoint /// Options for getting a futures order by id endpoint
/// </summary> /// </summary>
public class GetFuturesOrderOptions : CapabilityOptions<GetOrderRequest, IGetFuturesOrderRest> public class GetFuturesOrderOptions : CapabilityOptions<GetOrderRequest, IGetFuturesOrder>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve a futures order"; public override string Description => "Retrieve a futures order";
@@ -21,7 +21,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public GetFuturesOrderOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IGetFuturesOrderRest.GetFuturesOrderAsync), _defaultParameterRules) public GetFuturesOrderOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IGetFuturesOrder.GetFuturesOrderAsync), _defaultParameterRules)
{ {
} }
} }
@@ -7,7 +7,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for getting a spot order by client order id /// Options for getting a spot order by client order id
/// </summary> /// </summary>
public class GetFuturesOrderByClientOrderIdOptions : CapabilityOptions<GetOrderRequest, IGetFuturesOrderByClientOrderIdRest> public class GetFuturesOrderByClientOrderIdOptions : CapabilityOptions<GetOrderRequest, IGetFuturesOrderByClientOrderId>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve a futures order by its client order id"; public override string Description => "Retrieve a futures order by its client order id";
@@ -21,7 +21,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public GetFuturesOrderByClientOrderIdOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IGetFuturesOrderByClientOrderIdRest.GetFuturesOrderByClientOrderIdAsync), _defaultParameterRules) public GetFuturesOrderByClientOrderIdOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IGetFuturesOrderByClientOrderId.GetFuturesOrderByClientOrderIdAsync), _defaultParameterRules)
{ {
} }
} }
@@ -7,7 +7,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for getting a futures order by id endpoint /// Options for getting a futures order by id endpoint
/// </summary> /// </summary>
public class GetOpenFuturesOrdersOptions : CapabilityOptions<GetOpenOrdersRequest, IGetOpenFuturesOrdersRest> public class GetOpenFuturesOrdersOptions : CapabilityOptions<GetOpenOrdersRequest, IGetOpenFuturesOrders>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve open futures orders"; public override string Description => "Retrieve open futures orders";
@@ -21,7 +21,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public GetOpenFuturesOrdersOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IGetOpenFuturesOrdersRest.GetOpenFuturesOrdersAsync), _defaultParameterRules) public GetOpenFuturesOrdersOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IGetOpenFuturesOrders.GetOpenFuturesOrdersAsync), _defaultParameterRules)
{ {
} }
} }
@@ -8,7 +8,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for canceling a spot order /// Options for canceling a spot order
/// </summary> /// </summary>
public class CancelSpotOrderByClientOrderIdOptions : CapabilityOptions<CancelOrderRequest, ICancelSpotOrderByClientOrderIdRest> public class CancelSpotOrderByClientOrderIdOptions : CapabilityOptions<CancelOrderRequest, ICancelSpotOrderByClientOrderId>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Cancel a spot order by its client order id"; public override string Description => "Cancel a spot order by its client order id";
@@ -28,7 +28,7 @@ namespace CryptoExchange.Net.SharedApis
} }
/// <inheritdoc /> /// <inheritdoc />
public override Error? ValidateRequest(CancelOrderRequest request, ICancelSpotOrderByClientOrderIdRest client) public override Error? ValidateRequest(CancelOrderRequest request, ICancelSpotOrderByClientOrderId client)
{ {
var error = base.ValidateRequest(request, client); var error = base.ValidateRequest(request, client);
if (error != null) if (error != null)
@@ -3,7 +3,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for editing a spot order by client order id /// Options for editing a spot order by client order id
/// </summary> /// </summary>
public class EditSpotOrderByClientOrderIdOptions : CapabilityOptions<EditOrderRequest, IEditSpotOrderByClientOrderIdRest> public class EditSpotOrderByClientOrderIdOptions : CapabilityOptions<EditOrderRequest, IEditSpotOrderByClientOrderId>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Edit a spot order by its client order id"; public override string Description => "Edit a spot order by its client order id";
@@ -19,7 +19,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public EditSpotOrderByClientOrderIdOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IEditSpotOrderByClientOrderIdRest.EditSpotOrderByClientOrderIdAsync), _defaultParameterRules) public EditSpotOrderByClientOrderIdOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IEditSpotOrderByClientOrderId.EditSpotOrderByClientOrderIdAsync), _defaultParameterRules)
{ {
} }
} }
@@ -7,7 +7,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for getting a spot order by id endpoint /// Options for getting a spot order by id endpoint
/// </summary> /// </summary>
public class GetOpenSpotOrdersOptions : CapabilityOptions<GetOpenOrdersRequest, IGetOpenSpotOrdersRest> public class GetOpenSpotOrdersOptions : CapabilityOptions<GetOpenOrdersRequest, IGetOpenSpotOrders>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve open spot orders"; public override string Description => "Retrieve open spot orders";
@@ -21,7 +21,7 @@ namespace CryptoExchange.Net.SharedApis
/// ctor /// ctor
/// </summary> /// </summary>
public GetOpenSpotOrdersOptions(string exchange, bool authenticated) public GetOpenSpotOrdersOptions(string exchange, bool authenticated)
: base(exchange, authenticated, nameof(IGetOpenSpotOrdersRest.GetOpenSpotOrdersAsync), _defaultParameterRules) : base(exchange, authenticated, nameof(IGetOpenSpotOrders.GetOpenSpotOrdersAsync), _defaultParameterRules)
{ {
} }
} }
@@ -8,7 +8,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for getting a spot order by id endpoint /// Options for getting a spot order by id endpoint
/// </summary> /// </summary>
public class GetSpotOrderOptions : CapabilityOptions<GetOrderRequest, IGetSpotOrderRest> public class GetSpotOrderOptions : CapabilityOptions<GetOrderRequest, IGetSpotOrder>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve a spot order"; public override string Description => "Retrieve a spot order";
@@ -23,12 +23,12 @@ namespace CryptoExchange.Net.SharedApis
/// ctor /// ctor
/// </summary> /// </summary>
public GetSpotOrderOptions(string exchange, bool authenticated) public GetSpotOrderOptions(string exchange, bool authenticated)
: base(exchange, authenticated, nameof(IGetSpotOrderRest.GetSpotOrderAsync), _defaultParameterRules) : base(exchange, authenticated, nameof(IGetSpotOrder.GetSpotOrderAsync), _defaultParameterRules)
{ {
} }
/// <inheritdoc /> /// <inheritdoc />
public override Error? ValidateRequest(GetOrderRequest request, IGetSpotOrderRest client) public override Error? ValidateRequest(GetOrderRequest request, IGetSpotOrder client)
{ {
var error = base.ValidateRequest(request, client); var error = base.ValidateRequest(request, client);
if (error != null) if (error != null)
@@ -3,7 +3,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting current position mode /// Options for requesting current position mode
/// </summary> /// </summary>
public class GetPositionModeOptions : CapabilityOptions<GetPositionModeRequest, IGetPositionModeRest> public class GetPositionModeOptions : CapabilityOptions<GetPositionModeRequest, IGetPositionMode>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve the current futures position mode"; public override string Description => "Retrieve the current futures position mode";
@@ -17,7 +17,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public GetPositionModeOptions(string exchange) : base(exchange, true, nameof(IGetPositionModeRest.GetPositionModeAsync), _defaultParameterRules) public GetPositionModeOptions(string exchange) : base(exchange, true, nameof(IGetPositionMode.GetPositionModeAsync), _defaultParameterRules)
{ {
} }
} }
@@ -3,7 +3,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for setting position mode /// Options for setting position mode
/// </summary> /// </summary>
public class SetPositionModeOptions : CapabilityOptions<SetPositionModeRequest, ISetPositionModeRest> public class SetPositionModeOptions : CapabilityOptions<SetPositionModeRequest, ISetPositionMode>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Set the futures position mode"; public override string Description => "Set the futures position mode";
@@ -18,7 +18,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public SetPositionModeOptions(string exchange) : base(exchange, true, nameof(ISetPositionModeRest.SetPositionModeAsync), _defaultParameterRules) public SetPositionModeOptions(string exchange) : base(exchange, true, nameof(ISetPositionMode.SetPositionModeAsync), _defaultParameterRules)
{ {
} }
} }
@@ -7,7 +7,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for fully closing a position /// Options for fully closing a position
/// </summary> /// </summary>
public class CloseFullPositionOptions : CapabilityOptions<CloseFullPositionRequest, ICloseFullPositionRest> public class CloseFullPositionOptions : CapabilityOptions<CloseFullPositionRequest, ICloseFullPosition>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Fully close an open futures position"; public override string Description => "Fully close an open futures position";
@@ -24,7 +24,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public CloseFullPositionOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(ICloseFullPositionRest.CloseFullPositionAsync), _defaultParameterRules) public CloseFullPositionOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(ICloseFullPosition.CloseFullPositionAsync), _defaultParameterRules)
{ {
} }
} }
@@ -7,7 +7,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting open positions /// Options for requesting open positions
/// </summary> /// </summary>
public class GetPositionsOptions : CapabilityOptions<GetPositionsRequest, IGetPositionsRest> public class GetPositionsOptions : CapabilityOptions<GetPositionsRequest, IGetPositions>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve open futures positions"; public override string Description => "Retrieve open futures positions";
@@ -21,7 +21,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public GetPositionsOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IGetPositionsRest.GetPositionsAsync), _defaultParameterRules) public GetPositionsOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IGetPositions.GetPositionsAsync), _defaultParameterRules)
{ {
} }
} }
@@ -8,7 +8,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting symbol info /// Options for requesting symbol info
/// </summary> /// </summary>
public class GetFuturesSymbolsOptions : CapabilityOptions<GetSymbolsRequest, IGetFuturesSymbolsRest> public class GetFuturesSymbolsOptions : CapabilityOptions<GetSymbolsRequest, IGetFuturesSymbols>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve supported futures symbols and their trading rules"; public override string Description => "Retrieve supported futures symbols and their trading rules";
@@ -25,12 +25,12 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public GetFuturesSymbolsOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IGetFuturesSymbolsRest.GetFuturesSymbolsAsync), _defaultParameterRules) public GetFuturesSymbolsOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IGetFuturesSymbols.GetFuturesSymbolsAsync), _defaultParameterRules)
{ {
} }
/// <inheritdoc /> /// <inheritdoc />
public override Error? ValidateRequest(GetSymbolsRequest request, IGetFuturesSymbolsRest client) public override Error? ValidateRequest(GetSymbolsRequest request, IGetFuturesSymbols client)
{ {
var error = base.ValidateRequest(request, client); var error = base.ValidateRequest(request, client);
if (error != null) if (error != null)
@@ -8,7 +8,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting symbol info /// Options for requesting symbol info
/// </summary> /// </summary>
public class GetSpotSymbolsOptions : CapabilityOptions<GetSymbolsRequest, IGetSpotSymbolsRest> public class GetSpotSymbolsOptions : CapabilityOptions<GetSymbolsRequest, IGetSpotSymbols>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve supported spot symbols and their trading rules"; public override string Description => "Retrieve supported spot symbols and their trading rules";
@@ -25,13 +25,13 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public GetSpotSymbolsOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IGetSpotSymbolsRest.GetSpotSymbolsAsync), _defaultParameterRules) public GetSpotSymbolsOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IGetSpotSymbols.GetSpotSymbolsAsync), _defaultParameterRules)
{ {
} }
/// <inheritdoc /> /// <inheritdoc />
public override Error? ValidateRequest(GetSymbolsRequest request, IGetSpotSymbolsRest client) public override Error? ValidateRequest(GetSymbolsRequest request, IGetSpotSymbols client)
{ {
var error = base.ValidateRequest(request, client); var error = base.ValidateRequest(request, client);
if (error != null) if (error != null)
@@ -5,7 +5,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting tickers /// Options for requesting tickers
/// </summary> /// </summary>
public class GetAllTickersOptions : CapabilityOptions<GetTickersRequest, IGetAllTickersRest> public class GetAllTickersOptions : CapabilityOptions<GetTickersRequest, IGetAllTickers>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve price ticker information for all symbols in a trading mode"; public override string Description => "Retrieve price ticker information for all symbols in a trading mode";
@@ -23,7 +23,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public GetAllTickersOptions(string exchange, SharedTickerType? tickerCalcType = null) : base(exchange, false, nameof(IGetAllTickersRest.GetAllTickersAsync), _defaultParameterRules) public GetAllTickersOptions(string exchange, SharedTickerType? tickerCalcType = null) : base(exchange, false, nameof(IGetAllTickers.GetAllTickersAsync), _defaultParameterRules)
{ {
TickerType = tickerCalcType ?? SharedTickerType.Day24H; TickerType = tickerCalcType ?? SharedTickerType.Day24H;
} }
@@ -5,7 +5,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting ticker /// Options for requesting ticker
/// </summary> /// </summary>
public class GetTickerOptions : CapabilityOptions<GetTickerRequest, IGetTickerRest> public class GetTickerOptions : CapabilityOptions<GetTickerRequest, IGetTicker>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve price ticker information for a symbol"; public override string Description => "Retrieve price ticker information for a symbol";
@@ -23,7 +23,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public GetTickerOptions(string exchange, SharedTickerType? tickerCalcType = null) : base(exchange, false, nameof(IGetTickerRest.GetTickerAsync), _defaultParameterRules) public GetTickerOptions(string exchange, SharedTickerType? tickerCalcType = null) : base(exchange, false, nameof(IGetTicker.GetTickerAsync), _defaultParameterRules)
{ {
TickerType = tickerCalcType ?? SharedTickerType.Day24H; TickerType = tickerCalcType ?? SharedTickerType.Day24H;
} }
@@ -7,7 +7,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for canceling a TP/SL /// Options for canceling a TP/SL
/// </summary> /// </summary>
public class CancelFuturesTpSlOptions : CapabilityOptions<CancelTpSlRequest, ICancelFuturesTpSlRest> public class CancelFuturesTpSlOptions : CapabilityOptions<CancelTpSlRequest, ICancelFuturesTpSl>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Cancel a take profit or stop loss order for a futures position"; public override string Description => "Cancel a take profit or stop loss order for a futures position";
@@ -25,7 +25,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public CancelFuturesTpSlOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(ICancelFuturesTpSlRest.CancelFuturesTpSlAsync), _defaultParameterRules) public CancelFuturesTpSlOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(ICancelFuturesTpSl.CancelFuturesTpSlAsync), _defaultParameterRules)
{ {
} }
} }
@@ -7,7 +7,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for setting a TP/SL /// Options for setting a TP/SL
/// </summary> /// </summary>
public class SetFuturesTpSlOptions : CapabilityOptions<SetTpSlRequest, ISetFuturesTpSlRest> public class SetFuturesTpSlOptions : CapabilityOptions<SetTpSlRequest, ISetFuturesTpSl>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Set take profit or stop loss values for a futures position"; public override string Description => "Set take profit or stop loss values for a futures position";
@@ -26,7 +26,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public SetFuturesTpSlOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(ISetFuturesTpSlRest.SetFuturesTpSlAsync), _defaultParameterRules) public SetFuturesTpSlOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(ISetFuturesTpSl.SetFuturesTpSlAsync), _defaultParameterRules)
{ {
} }
} }
@@ -6,7 +6,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting recent trades /// Options for requesting recent trades
/// </summary> /// </summary>
public class GetRecentTradesOptions : CapabilityOptions<GetRecentTradesRequest, IGetRecentTradesRest> public class GetRecentTradesOptions : CapabilityOptions<GetRecentTradesRequest, IGetRecentTrades>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve recent public trades for a symbol"; public override string Description => "Retrieve recent public trades for a symbol";
@@ -26,13 +26,13 @@ namespace CryptoExchange.Net.SharedApis
/// ctor /// ctor
/// </summary> /// </summary>
public GetRecentTradesOptions(string exchange, int limit, bool authenticated) public GetRecentTradesOptions(string exchange, int limit, bool authenticated)
: base(exchange, authenticated, nameof(IGetRecentTradesRest.GetRecentTradesAsync), _defaultParameterRules) : base(exchange, authenticated, nameof(IGetRecentTrades.GetRecentTradesAsync), _defaultParameterRules)
{ {
MaxLimit = limit; MaxLimit = limit;
} }
/// <inheritdoc /> /// <inheritdoc />
public override Error? ValidateRequest(GetRecentTradesRequest request, IGetRecentTradesRest client) public override Error? ValidateRequest(GetRecentTradesRequest request, IGetRecentTrades client)
{ {
var baseError = base.ValidateRequest(request, client); var baseError = base.ValidateRequest(request, client);
if (baseError != null) if (baseError != null)
@@ -7,7 +7,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting a transfer /// Options for requesting a transfer
/// </summary> /// </summary>
public class TransferOptions : CapabilityOptions<TransferRequest, ITransferRest> public class TransferOptions : CapabilityOptions<TransferRequest, ITransfer>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Transfer funds between account types"; public override string Description => "Transfer funds between account types";
@@ -30,7 +30,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public TransferOptions(string exchange, SharedAccountType[] accountTypes) : base(exchange, true, nameof(ITransferRest.TransferAsync), _defaultParameterRules) public TransferOptions(string exchange, SharedAccountType[] accountTypes) : base(exchange, true, nameof(ITransfer.TransferAsync), _defaultParameterRules)
{ {
SupportedAccountTypes = accountTypes; SupportedAccountTypes = accountTypes;
} }
@@ -40,7 +40,7 @@ namespace CryptoExchange.Net.SharedApis
/// </summary> /// </summary>
public override Error? ValidateRequest( public override Error? ValidateRequest(
TransferRequest request, TransferRequest request,
ITransferRest client) ITransfer client)
{ {
var error = base.ValidateRequest(request, client); var error = base.ValidateRequest(request, client);
if (error != null) if (error != null)
@@ -7,7 +7,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for canceling spot trigger order /// Options for canceling spot trigger order
/// </summary> /// </summary>
public class CancelFuturesTriggerOrderOptions : CapabilityOptions<CancelOrderRequest, ICancelFuturesTriggerOrderRest> public class CancelFuturesTriggerOrderOptions : CapabilityOptions<CancelOrderRequest, ICancelFuturesTriggerOrder>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Cancel a futures trigger order"; public override string Description => "Cancel a futures trigger order";
@@ -21,7 +21,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public CancelFuturesTriggerOrderOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(ICancelFuturesTriggerOrderRest.CancelFuturesTriggerOrderAsync), _defaultParameterRules) public CancelFuturesTriggerOrderOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(ICancelFuturesTriggerOrder.CancelFuturesTriggerOrderAsync), _defaultParameterRules)
{ {
} }
} }
@@ -7,7 +7,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting futures trigger order /// Options for requesting futures trigger order
/// </summary> /// </summary>
public class GetFuturesTriggerOrderOptions : CapabilityOptions<GetOrderRequest, IGetFuturesTriggerOrderRest> public class GetFuturesTriggerOrderOptions : CapabilityOptions<GetOrderRequest, IGetFuturesTriggerOrder>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve a futures trigger order"; public override string Description => "Retrieve a futures trigger order";
@@ -21,7 +21,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public GetFuturesTriggerOrderOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IGetFuturesTriggerOrderRest.GetFuturesTriggerOrderAsync), _defaultParameterRules) public GetFuturesTriggerOrderOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IGetFuturesTriggerOrder.GetFuturesTriggerOrderAsync), _defaultParameterRules)
{ {
} }
} }
@@ -5,7 +5,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for placing a new spot trigger order /// Options for placing a new spot trigger order
/// </summary> /// </summary>
public class PlaceFuturesTriggerOrderOptions : CapabilityOptions<PlaceFuturesTriggerOrderRequest, IPlaceFuturesTriggerOrderRest> public class PlaceFuturesTriggerOrderOptions : CapabilityOptions<PlaceFuturesTriggerOrderRequest, IPlaceFuturesTriggerOrder>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Place a new futures trigger order"; public override string Description => "Place a new futures trigger order";
@@ -36,13 +36,13 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public PlaceFuturesTriggerOrderOptions(string exchange, bool holdsFunds) : base(exchange, true, nameof(IPlaceFuturesTriggerOrderRest.PlaceFuturesTriggerOrderAsync), _defaultParameterRules) public PlaceFuturesTriggerOrderOptions(string exchange, bool holdsFunds) : base(exchange, true, nameof(IPlaceFuturesTriggerOrder.PlaceFuturesTriggerOrderAsync), _defaultParameterRules)
{ {
HoldsFunds = holdsFunds; HoldsFunds = holdsFunds;
} }
/// <inheritdoc /> /// <inheritdoc />
public override Error? ValidateRequest(PlaceFuturesTriggerOrderRequest request, IPlaceFuturesTriggerOrderRest client) public override Error? ValidateRequest(PlaceFuturesTriggerOrderRequest request, IPlaceFuturesTriggerOrder client)
{ {
var error = base.ValidateRequest(request, client); var error = base.ValidateRequest(request, client);
if (error != null) if (error != null)
@@ -8,7 +8,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting spot trigger order /// Options for requesting spot trigger order
/// </summary> /// </summary>
public class CancelSpotTriggerOrderOptions : CapabilityOptions<CancelOrderRequest, ICancelSpotTriggerOrderRest> public class CancelSpotTriggerOrderOptions : CapabilityOptions<CancelOrderRequest, ICancelSpotTriggerOrder>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Cancel a spot trigger order"; public override string Description => "Cancel a spot trigger order";
@@ -22,12 +22,12 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public CancelSpotTriggerOrderOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(ICancelSpotTriggerOrderRest.CancelSpotTriggerOrderAsync), _defaultParameterRules) public CancelSpotTriggerOrderOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(ICancelSpotTriggerOrder.CancelSpotTriggerOrderAsync), _defaultParameterRules)
{ {
} }
/// <inheritdoc /> /// <inheritdoc />
public override Error? ValidateRequest(CancelOrderRequest request, ICancelSpotTriggerOrderRest client) public override Error? ValidateRequest(CancelOrderRequest request, ICancelSpotTriggerOrder client)
{ {
var error = base.ValidateRequest(request, client); var error = base.ValidateRequest(request, client);
if (error != null) if (error != null)
@@ -8,7 +8,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting spot trigger order /// Options for requesting spot trigger order
/// </summary> /// </summary>
public class GetSpotTriggerOrderOptions : CapabilityOptions<GetOrderRequest, IGetSpotTriggerOrderRest> public class GetSpotTriggerOrderOptions : CapabilityOptions<GetOrderRequest, IGetSpotTriggerOrder>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve a spot trigger order"; public override string Description => "Retrieve a spot trigger order";
@@ -22,7 +22,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public GetSpotTriggerOrderOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IGetSpotTriggerOrderRest.GetSpotTriggerOrderAsync), _defaultParameterRules) public GetSpotTriggerOrderOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IGetSpotTriggerOrder.GetSpotTriggerOrderAsync), _defaultParameterRules)
{ {
} }
@@ -5,7 +5,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for placing a new spot trigger order /// Options for placing a new spot trigger order
/// </summary> /// </summary>
public class PlaceSpotTriggerOrderOptions : CapabilityOptions<PlaceSpotTriggerOrderRequest, IPlaceSpotTriggerOrderRest> public class PlaceSpotTriggerOrderOptions : CapabilityOptions<PlaceSpotTriggerOrderRequest, IPlaceSpotTriggerOrder>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Place a new spot trigger order"; public override string Description => "Place a new spot trigger order";
@@ -30,7 +30,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public PlaceSpotTriggerOrderOptions(string exchange, bool holdsFunds) : base(exchange, true, nameof(IPlaceSpotTriggerOrderRest.PlaceSpotTriggerOrderAsync), _defaultParameterRules) public PlaceSpotTriggerOrderOptions(string exchange, bool holdsFunds) : base(exchange, true, nameof(IPlaceSpotTriggerOrder.PlaceSpotTriggerOrderAsync), _defaultParameterRules)
{ {
HoldsFunds = holdsFunds; HoldsFunds = holdsFunds;
} }
@@ -40,7 +40,7 @@ namespace CryptoExchange.Net.SharedApis
/// </summary> /// </summary>
public override Error? ValidateRequest( public override Error? ValidateRequest(
PlaceSpotTriggerOrderRequest request, PlaceSpotTriggerOrderRequest request,
IPlaceSpotTriggerOrderRest client) IPlaceSpotTriggerOrder client)
{ {
var error = base.ValidateRequest(request, client); var error = base.ValidateRequest(request, client);
if (error != null) if (error != null)
@@ -7,7 +7,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for getting a trades for an order /// Options for getting a trades for an order
/// </summary> /// </summary>
public class GetFuturesOrderTradesOptions : CapabilityOptions<GetOrderTradesRequest, IGetFuturesOrderTradesRest> public class GetFuturesOrderTradesOptions : CapabilityOptions<GetOrderTradesRequest, IGetFuturesOrderTrades>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve trades for a futures order"; public override string Description => "Retrieve trades for a futures order";
@@ -21,7 +21,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public GetFuturesOrderTradesOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IGetFuturesOrderTradesRest.GetFuturesOrderTradesAsync), _defaultParameterRules) public GetFuturesOrderTradesOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IGetFuturesOrderTrades.GetFuturesOrderTradesAsync), _defaultParameterRules)
{ {
} }
} }
@@ -8,7 +8,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for getting trades for a spot order /// Options for getting trades for a spot order
/// </summary> /// </summary>
public class GetSpotOrderTradesOptions : CapabilityOptions<GetOrderTradesRequest, IGetSpotOrderTradesRest> public class GetSpotOrderTradesOptions : CapabilityOptions<GetOrderTradesRequest, IGetSpotOrderTrades>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Retrieve trades for a spot order"; public override string Description => "Retrieve trades for a spot order";
@@ -22,12 +22,12 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public GetSpotOrderTradesOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IGetSpotOrderTradesRest.GetSpotOrderTradesAsync), _defaultParameterRules) public GetSpotOrderTradesOptions(string exchange, bool authenticated) : base(exchange, authenticated, nameof(IGetSpotOrderTrades.GetSpotOrderTradesAsync), _defaultParameterRules)
{ {
} }
/// <inheritdoc /> /// <inheritdoc />
public override Error? ValidateRequest(GetOrderTradesRequest request, IGetSpotOrderTradesRest client) public override Error? ValidateRequest(GetOrderTradesRequest request, IGetSpotOrderTrades client)
{ {
var error = base.ValidateRequest(request, client); var error = base.ValidateRequest(request, client);
if (error != null) if (error != null)
@@ -3,7 +3,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// Options for requesting a withdrawal /// Options for requesting a withdrawal
/// </summary> /// </summary>
public class WithdrawOptions : CapabilityOptions<WithdrawRequest, IWithdrawRest> public class WithdrawOptions : CapabilityOptions<WithdrawRequest, IWithdraw>
{ {
/// <inheritdoc /> /// <inheritdoc />
public override string Description => "Withdraw an asset"; public override string Description => "Withdraw an asset";
@@ -20,7 +20,7 @@ namespace CryptoExchange.Net.SharedApis
/// <summary> /// <summary>
/// ctor /// ctor
/// </summary> /// </summary>
public WithdrawOptions(string exchange) : base(exchange, true, nameof(IWithdrawRest.WithdrawAsync), _defaultParameterRules) public WithdrawOptions(string exchange) : base(exchange, true, nameof(IWithdraw.WithdrawAsync), _defaultParameterRules)
{ {
} }
} }