Repository navigation
Releases
Kucoin.Net Version 9.8.0
Updated CryptoExchange.Net to v13.2.0
Added Shared API implementation for the Unified API
Added UnifiedRest and UnifiedSocket to (I)KucoinSharedApiClient
Added ApiVersion selector to SharedApi client options, defaults to Classic
Added UnifiedOptions to KucoinSocketOptions
Added restClient.UnifiedApi.Account.GetDepositHistoryAsync endpoint
Added restClient.UnifiedApi.Account.GetWithdrawalHistoryAsync endpoint
Moved restClient.UnifiedApi.ExchangeData.GetPositionTiersAsync endpoint from Trading to ExchangeData
Added Contracts value to QuantityUnit Enum
Added AutoDeleverage to KucoinUaPositionUpdate model
Added ClientOrderId, TradeType to KucoinUaUserTradeUpdate model
Added UnifiedSocketPrivateTradeAddress to KucoinApiAddresses and KucoinEnvironment for WebSocket trade operations
Updated ProductType Enum values
Updated Unified API endpoints different Enum types for account/product types to ProductType Enum
Updated restClient.UnifiedApi.Trading.GetUserTradesAsync orderId type from long to string
Updated KucoinFuturesSymbol model
Updated KucoinUaLeverageUpdate model
Removed Unified API Enum parameters where Unified is only supported
Removed deprecated restClient.UnifiedApi.ExchangeData.GetCrossMarginSymbolsAsync, GetIsolatedMarginSymbolsAsync, GetCrossMarginConfigAsync endpoints
Removed deprecated restClient.UnifiedApi.Trading.SetDcpAsync, GetDcpAsync endpoints
Removed Unified API production warning
Fixed sizeUnit default value in Unified API PlaceOrder methods
Kucoin.Net Version 9.7.0
Updated CryptoExchange.Net to V13.1.0
Added withdrawType, isInner parameters to UTA GetWithdrawalQuotasAsync, updated response model
Added UTA EditOrderAsync endpoint
Added tradeType parameter to UTA GetUserTradesAsync endpoint
Added UTA SubscribeToFundingFeeUpdatesAsync overload accepting multiple symbols, added LastFundingRate to update model
Added UTA SubscribeToFundingFeeUpdatesAsync overload without symbol parameter for all symbols
Added Pnl to KucoinUaUserTrade and KucoinUaUserTradeUpdate models, made Tax nullable
Added AssetClass, SubMarketType to KucoinContract model
Updated Shared API GetFuturesSymbolsAsync asset type mapping
Updated UTA GetFundingRateAsync to GetFundingRatesAsync, updated response model
Updated KucoinUaAsset model
Updated UTA GetFiatPricesAsync base parameter to required
Updated UTA GetSpotSymbolsAsync, GetFuturesSymbolsAsync response models and enums
Updated UTA rate limits
Updated UTA endpoints to V2
Renamed Hold to Locked in KucoinUaSubAccountBalance model
Renamed To to ToAccountType and NetworkId to Network in KucoinUaDepositAddress model
Fixed side and orderType parameter serialization UTA trading
Kucoin.Net Version 9.6.0
- Updated CryptoExchange.Net to v13.0.0
- Shared APIs
- Added SharedApi V2 support
- Added
.SharedApiproperty to clients - Added
(I)KucoinSharedApiClientcontaining all V2 SharedApi references - Added
SharedApitoKucoinOptionsto provide SharedApi related options - See https://cryptoexchange.jkorf.dev/docs/shared-api?sharedApiVersion=v2 for more info about the V2 update and https://github.com/JKorf/CryptoExchange.Net/blob/master/docs/SHARED_API_V2_MIGRATION.md for migrating from V1
- SharedApi V1 will still be supported
- Rate limiting
- Added rate limit admission callback to client options to allow rate limit admission ruling on request definition
- Added
WithRateLimitAdmissionAsyncto client to allow rate limit admission ruling on a specific request - Update rate limit safety margin logic
- Fixed some rate limit calculation issues
- Request coalescing
- Sending identical public GET requests on the same client at the same time will only send a single request to the server and use the same response
- Coalescing is enabled by default and can be disabled with the
RequestCoalescingEnabledclient option
- Fixed proxy setting not being used for internal REST requests
Kucoin.Net Version 9.5.0
Updated to CryptoExchange.Net v12.5.0
Added LastFundingRate to KucoinContract model
Added MakerFeePercentage, TakerFeePercentage, MaxLongLeverage, TakerFeePercentage, MaxLongLeverage, MaxShortLeverage, UpperFundingCap, LowerFundingCap, LowerPriceLimitPercentage, UpperPriceLimitPercentage to SharedFuturesSymbol mapping
Kucoin.Net Version 9.4.0
Added restClient.UnifiedApi.ExchangeData.GetCallAuctionInfoAsync GetInterestRateIndexAsync and GetPlatformStatsAsync
Added socketClient.UnifiedApi.SubscribeToCallAuctionInfoUpdatesAsync subscription
Added MemoRegex and AddressRegex to KucoinAssetNetwork model
Added BizType EarnRedeem and updated EarnLock mapping values
Added UpdateTime to KucoinUaPosition model
Updated LiquidityRole on KucoinUaUserTrade to nullable
Kucoin.Net Version 9.3.0
Updated CryptoExchange.Net to version 12.4.0
Added calculation of AveragePrice on Shared order models if data is available and AveragePrice is not set
Added DebuggerDisplay attributes to Result models
Added AveragePrice property to SharedQuantity model
Updated SharedFuturesTicker, SharedSpotTicker, SharedTrade and SharedKline to use SharedOrderQuantity for volumes/quantities
Kucoin.Net Version 9.2.0
Updated CryptoExchange.Net to v12.2.0
Added SpotSymbolCatalog to Shared ISpotSymbolRestClient interface
Added FuturesSymbolCatalog to Shared IFuturesSymbolRestClient interface
Added BaseAssetType, BaseAssetSubType, QuoteAssetType and QuoteAssetSubType to GetSymbolsRequest model
Added DisplayName to SharedSpotSymbol and SharedFuturesSymbol models
Added BaseAssetType, BaseAssetSubType, QuoteAssetType and QuoteAssetSubType to SharedSpotSymbol and SharedFuturesSymbol models
Added DebuggerDisplay attributes to Shared models
Updated GetTickersAsync request weight from 15 to 5
Kucoin.Net Version 9.1.0
Updated CryptoExchange.Net to v12.1.0
Added OpenPrice, LastQuantity to KucoinAllTick model
Added TradeId to KucoinTrade model
Added ContractId to KucoinFuturesTrade model
Added DailyInterestRate to KucoinFundingRate model
Added FeeTaxRate to KucoinTradeFee model
Added OptionSubQuantity, MaxOptionSubQuantity to KucoinUserInfo model, updated quantity properties to int type
Added FailureReason, FailureReasonMessage, SubStatus properties to KucoinWithdrawal model
Added RiskRatio, PositionMargin to KucoinUaPosition and KucoinUaPositionUpdate models
Added restClient.UnifiedApi.Account.SetMarginModeAsync endpoint
Added restClient.UnifiedApi.Account.SetIsolatedMarginAsync endpoint
Added closeOrder parameter to restClient.UnifiedApi.Trading.PlaceOrderAsync
Added restClient.UnifiedApi.ExchangeData.GetFiatPricesAsync endpoint
Added type parameter to restClient.UnifiedApi.ExchangeData.GetKlinesAsync endpoint
Added PriceChange, PriceChangePercent, IndexPrice and MarkPrice to KucoinUaTicker model
Added CollateralStatus to KucoinUaBalanceAsset and KucoinUaBalanceUpdate models
Added SubscribeToFundingFeeUpdatesAsync and SubscribeToMarkPriceUpdatesAsync subscriptions to UnifiedApi websocket client
Updated KucoinContract with various missing properties
Updated KucoinDeposit with missing properties
Updated DepositStatus enum values
Removed Incremental value for OrderBookDepth enum, added Incremental10Ms value
Kucoin.Net Version 9.0.1
Fixed subscribing to user streams not triggering socket authentication if a public socket was already connected
Kucoin.Net Version 9.0.0
- Result types:
- (Web)CallResult types are replaced by HttpResult, WebSocketResult and QueryResult with the same logic
- WebSocketResult and QueryResult now return additional info for websocket operations
- Updated result types to record type
- Removed implicit result type conversion to bool,
if (result)no longer works, instead useif (result.Success) - Fixed result object nullability hinting, for example Data might be null if Success isn't checked for true
- Clients:
- Added ToString overrides on base API types
- Added Exchange property on BaseApiClient
- Added ApiCredentials property on Api clients
- Updated ILogger source from client name to topic specific client name
- Removed logging from client creation
- Fixed issue in SocketApiClient.GetSocketConnection causing requests to always wait the full max 10 seconds when there was a reconnecting socket
- Shared APIs:
- Added missing dedicated option types
- Added Discover method on ISharedClient interface, returning info on supported capabilities and operations
- Added ResetStaticExchangeParameters method on ExchangeParameters
- Added Status property to SharedWithdrawal model
- Added TradingModes property to SharedBalance model
- Updated Shared ExchangeParameters parameter names to be case insensitive
- Updated code comments
- Replaced ExchangeResult with ExchangeCallResult type
- Removed TradingMode from the response model, only maintained on models where it makes sense
- Added async streaming on UserDataTracker items with StreamUpdatesAsync
- Added cancellation token support to UserDataTracker starting
- Added SupportedEnvironments property to PlatformInfo
- Added Clear() method on UserClientProvider to clear all cached clients
- Added setter to KucoinExchange.RateLimiter to allow custom rate limit settings
- Added BizType EarnLock value
- Various small performance improvements
- Fixed websocket connection attempts counting towards rate limit even when server could not be reached
- Fixed RiskLimitLevel type on KucoinPositionRiskAdjustResultUpdate model