Skip to content

Releases: JKorf/CryptoClients.Net

CryptoClients.Net Version 3.4.2

29 Jul 11:22
Compare
Choose a tag to compare

CryptoClients.Net Version 3.4.1

29 Jul 09:50
Compare
Choose a tag to compare
  • Fixed CoinW missing in all exchanges reference

CryptoClients.Net Version 3.4.0

29 Jul 09:34
Compare
Choose a tag to compare

Version 3.3.0

20 Jun 11:48
Compare
Choose a tag to compare

Version 3.2.0

11 Jun 12:54
Compare
Choose a tag to compare

Version 3.1.0

02 Jun 09:05
Compare
Choose a tag to compare

Version 3.0.0

14 May 11:23
Compare
Choose a tag to compare
  • Added RateLimitUpdated event to Exchanges class
  • Added ApiEnvironments property to ExchangeInfo model
  • Added ApiEnvironments property to GlobalExchangeOptions
  • Added GenerateClientOrderId method to ExchangeRestClient
  • Added additional methods to ExchangeRestClient/ExchangeSocketClient for easier access
  • Added support for Native AOT compilation
  • Added IBookTickerRestClient Shared implementations
  • Added ISpotTriggerOrderRestClient Shared implementations
  • Added ISpotOrderClientIdClient Shared implementations
  • Added IFuturesTriggerOrderRestClient Shared implementations
  • Added IFuturesOrderClientIdClient Shared implementations
  • Added IFuturesTpSlRestClient Shared implementations
  • Added automatic conversion of asset names to commonly used names for some exchanges
  • Added SharedSymbol property to response models which is filled when before that call a GetSpotSymbolsAsync/GetFuturesSymbolsAsync has been called
  • Updated various Shared response models with additional properties
  • Updated Exchange specific ApiCredentials types to base ApiCredentials type which now support a Pass parameter
  • Updated IEnumerable response types to Array types
  • Updated logging SourceContext to include the client type
  • Updated some logging logic, errors no longer contain any data, exception are not logged as string but instead forwarded to structured logging
  • Removed legacy ISpotClient support
  • Removed Newtonsoft.Json dependency
  • Fixed various issues
  • Updated reference CryptoExchange.Net version from 8.8.0 to 9.0.0
  • Updated Binance.Net from version 10.19.0 to version 11.0.0
  • Updated BingX.Net from version 1.21.0 to version 2.0.0
  • Updated Bitfinex.Net from version 8.1.1 to version 9.0.0
  • Updated Bitget.Net from version 1.22.1 to version 2.0.0
  • Updated BitMart.Net from version 1.15.1 to version 2.0.0
  • Updated BitMEX.Net from version 1.1.0 to version 2.0.0
  • Updated Bybit.Net from version 4.4.1 to version 5.0.0
  • Updated Coinbase.Net from version 1.9.1 to version 2.0.0
  • Updated CoinEx.Net from version 8.0.1 to version 9.0.0
  • Updated CoinGecko.Net from version 3.4.0 to version 4.0.0
  • Updated CryptoCom.Net from version 1.6.0 to version 2.0.0
  • Updated DeepCoin.Net from version 1.0.5 to version 2.0.0
  • Updated GateIo.Net from version 1.22.0 to version 2.0.0
  • Updated HTX.Net from version 6.9.1 to version 7.0.0
  • Updated HyperLiquid.Net from version 1.1.2 to version 2.0.0
  • Updated Kraken.Net from version 5.7.1 to version 6.0.0
  • Updated Kucoin.Net from version 6.1.0 to version 7.0.0
  • Updated Mexc.Net from version 2.1.0 to version 3.0.0
  • Updated OKX.Net from version 2.16.0 to version 3.0.0
  • Updated WhiteBit.Net from version 1.5.0 to version 2.0.0
  • Updated XT.Net from version 1.2.1 to version 2.0.0
  • See exchange specific release notes for more details

Updates notes:

  • Processing responses which previously returned an IEnumerable now return an array. Although you can still call ToList or ToArray this overhead can now be removed
  • When providing quantities for the Shared interfaces you now need to specify the type of quantity: SharedQuantity.Base(/*qty*/), SharedQuantity.Quote(/*qty*/) or SharedQuantity.Contracts(/*qty*/).
  • Quantity responses for the Shared interfaces have the same logic, quantities are wrapped in the SharedOrderQuantity model, containing the QuantityInBaseAsset, QuantityInQuoteAsset and QuantityInContracts properties.
  • See https://cryptoexchange.jkorf.dev/client-libs/shared/quantities for more info on the new quantity notations
  • Structured logging SourceContext now include the client type, previously the SourceContext was always [ExchangeName], it is now split [ExchangeName].RestClient and [ExchangeName].SocketClient. Update any logic depending on this accordingly.
  • AssetAlias configuration has been added. When using Shared interfaces automatic mapping is enabled between certain asset exchange names and their common names, for example between USDT and UST on Bitfinex. This behaviour can be disabled using [ExchangeName]Exchange.AssetAliases.AutoConvertEnabled = false;. Previously the mapping was being applied inconsistently.

Version 2.14.0

28 Mar 12:50
Compare
Choose a tag to compare
  • Updated Binance.Net from version 10.18.0 to version 10.19.0
    • Added quoteAsset parameter to restClient.SpotApi.Account.GetWalletBalancesAsync endpoint
    • Added Denomination property to restClient.SpotApi.Account.GetUserAssetsAsync response model
    • Updated SimpleEarn locked response models
    • Updated request weight of restClient.SpotApi.ExchangeData.GetAggregatedTradeHistoryAsync to 4
  • Updated Bitget.Net from version 1.21.0 to version 1.22.1
    • Added demo trading environment
    • Added restClient.FuturesApiV2.ExchangeData.GetOiLimitsAsync endpoint
    • Added CrossRiskRate and UnrealizedPnl properties to futures balance websocket update model
    • Added missing Trigger Order Plan Type Enum values
    • Fixed ProductType parsing for shared socket subscriptions
  • Updated BitMart.Net from version 1.14.0 to version 1.15.1
    • Added stpMode parameter to restClient.UsdFuturesApi.Trading.PlaceOrderAsync endpoint
    • Added restClient.UsdFuturesApi.Trading.EditOrderAsync endpoint
    • Added ReceiveWindow Rest client option for signed requests
  • Updated Bybit.Net from version 4.3.2 to version 4.4.1
    • Added socketClient.V5PrivateApi.PlaceMultipleOrdersAsync, EditMultipleOrdersAsync and CancelMultipleOrdersAsync requests
    • Added SlippageTolerance support for orders
    • Removed incorrect id parameters checks from some endpoints
  • Updated Coinbase.Net from version 1.8.1 to version 1.9.1
    • Fixed deserialization issue for restClient.AdvancedTradeApi.Account.GetPerpetualPortfolioSummaryAsync
  • Updated GateIo.Net from version 1.21.0 to version 1.22.0
    • Added BaseAssetName and QuoteAssetName to GateIoSymbol model
    • Added MarketId property to GateIoTradeUpdate and GateIoUserTradeUpdate models
    • Added socketClient.PerpetualFuturesApi.SubscribeToContractStatsUpdatesAs…ync subscription
    • Fixed shared PerpetualFuturesApi GetBalances returning error
  • Updated HTX.Net from version 6.9.0 to version 6.9.1
    • Added QuoteQuantity to socketClient.SpotApi.SubscribeToOrderUpdatesAsync canceled order update
    • Fixed restClient.SpotApi.Trading.CancelAllOrdersAsync endpoint
    • Fixed shared client balance subscription updates
  • Updated HyperLiquid.Net from version 1.1.0 to version 1.1.2
    • Fixed deserialization of spot exchange info
    • Fixed testnet support
  • Updated Kucoin.Net from version 6.0.1 to version 6.1.0
    • Added restClient.SpotApi.HfTrading.GetOpenOrdersV2Async endpoint
    • Added TransactionId property to KucoinUserTrade model
    • Added missing value to BizType enum
    • Fixed some values for restClient.SpotApi.Account.GetAccountLedgersAsync bizType parameter
    • Fixed deserialization issue for restClient.SpotApi.Account.GetAccountLedgersAsync
  • Updated OKX.Net from version 2.15.1 to version 2.16.0
    • Added restClient.UnifiedApi.ExchangeData.GetEstimatedFuturesSettlementPriceAsync endpoint
    • Added restClient.UnifiedApi.ExchangeData.GetSettlementHistoryAsync endpoint
    • Added settlement biz type enums values
    • Added NonSettlementEntryPrice and SettledPnl to OKXPosition model
    • Added FutureSettlement property to OKXInstrument model
    • Added ThirdQuarter to InstrumentAlias enum values
    • Correctly set update type to snapshot for account and position socket updates
  • Updated WhiteBit.Net from version 1.4.0 to version 1.5.0
    • Added clientOrderId parameter to restClient.V4Api.Trading.CancelOrderAsync, renamed id to orderId and made it optional
    • Added WhiteBitNonceProvider
    • Updated restClient.V4Api.Trading.EditOrderAsync to support by clientOrderId

Version 2.13.2

07 Mar 12:37
Compare
Choose a tag to compare
  • Updated DeepCoin.Net from version 1.0.2 to version 1.0.5
    • Fixed Volume and QuoteVolume properties being inversed on DeepCoinTicker model
    • Fixed DeepCoinOrderBookFactory Create with SharedSymbol parameter not formatting correctly
    • Fixed handling websocket order book updates with the same sequence number split over 2 messages
    • Fixed restClient.ExchangeApi.Account.KeepAliveUserStreamAsync endpoint
  • Updated GateIo.Net from version 1.20.1 to version 1.21.0
    • Added Networks info to GateIoAsset model
    • Updated shared rest GetAssetsAsync request with network info
  • Updated Kucoin.Net from version 6.0.0 to version 6.0.1
    • Fix restClient.SpotApi.Account.GetAccountsAsync accountType parameter serialization
  • Updated OKX.Net from version 2.15.0 to version 2.15.1
    • Fixed internal exception when receiving empty snapshot update in socketClient.UnifiedApi.Trading.SubscribeToPositionUpdatesAsync

Version 2.13.1

04 Mar 12:57
Compare
Choose a tag to compare
  • Updated DeepCoin.Net to version 1.0.2 to fix spot subscription issue