Skip to content

Releases: JKorf/HTX.Net

Version 7.0.0-beta2

23 Apr 13:50
Compare
Choose a tag to compare
  • Updated CryptoExchange.Net to version 9.0.0-beta2
  • Added Shared spot ticker QuoteVolume mapping
  • Fixed incorrect DataTradeMode on responses

Version 7.0.0-beta1

22 Apr 07:46
Compare
Choose a tag to compare
  • Updated CryptoExchange.Net to version 9.0.0-beta1, see https://github.com/JKorf/CryptoExchange.Net/releases/
  • Added support for Native AOT compilation
  • Added RateLimitUpdated event
  • Added SharedSymbol response property to all Shared interfaces response models returning a symbol name
  • Added GenerateClientOrderId method to UsdtFuturesApi and Spot Shared clients
  • Added IBookTickerRestClient implementation to SpotApi and UsdtFuturesApi Shared clients
  • Added ISpotOrderClientIdClient implementation to SpotApi Shared client
  • Added ISpotTriggerOrderRestClient implementation to SpotApi Shared client
  • Added IFuturesOrderClientIdClient implementation to UsdtFuturesApi Shared client
  • Added IFuturesTriggerOrderRestClient implementation to UsdtFuturesApi Shared client
  • Added IFuturesTpSlRestClient implementation to UsdtFuturesApi Shared client
  • Added takeProfitPrice, stopLossPrice parameter support for UsdtFuturesApi Shared PlaceFuturesOrderAsync endpoint
  • Added IsTriggerOrder property to SharedSpotOrder model
  • Added OptionalExchangeParameters and Supported properties to EndpointOptions
  • Refactored Shared clients quantity parameters and responses to use SharedQuantity
  • Updated all IEnumerable response and model types to array response types
  • Removed Newtonsoft.Json dependency
  • Removed legacy ISpotClient implementation
  • Removed legacy AddHTX(restOptions, socketOptions) DI overload
  • Fixed some typos
  • Fixed restClient.UsdtFuturesApi.Trading.PlaceIsolatedMarginTriggerOrderAsync and PlaceCrossMarginTriggerOrderAsync reduceOnly parameter
  • Fixed socketClient.UsdtFuturesApi.SubscribeToCrossMarginPositionUpdatesAsync updates
  • Fixed incorrect Symbol returned in some UsdtFuturesApi Shared socket updates

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
  • The AddHTX(restOptions, socketOptions) overload was removed but can be replaced by AddHTX(options), where options.Rest is the same as the previous versions restOptions and options.Socket is the same as previous versions socketOptions
  • 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

Version 6.9.1

28 Mar 12:26
Compare
Choose a tag to compare
  • Added QuoteQuantity to socketClient.SpotApi.SubscribeToOrderUpdatesAsync canceled order update
  • Fixed restClient.SpotApi.Trading.CancelAllOrdersAsync endpoint
  • Fixed shared client balance subscription updates

Version 6.9.0

11 Feb 10:01
Compare
Choose a tag to compare
  • Updated CryptoExchange.Net to version 8.8.0, see https://github.com/JKorf/CryptoExchange.Net/releases/
  • Added support for more SharedKlineInterval values
  • Added setting of DataTime value on websocket DataEvent updates
  • Added UpdateTime to HTXOrder response model
  • Added restClient.SpotApi.Trading.CancelAllOrdersAsync endpoint
  • Added missing parameters to restClient.SpotApi.Trading.GetOpenOrdersAsync endpoint
  • Added TotalTradeQuantity property to socketClient.SpotApi.SubscribeToOrderUpdatesAsync update model
  • Added restClient.SpotApi.ExchangeData.GetFullOrderBookAsync endpoint
  • Fix Mono runtime exception on rest client construction using DI

Version 6.8.2

22 Jan 10:54
Compare
Choose a tag to compare
  • Added restClient.SpotApi.ExchangeData.GetNetworksAsync

Version 6.8.1

07 Jan 13:46
Compare
Choose a tag to compare
  • Updated CryptoExchange.Net version
  • Added Type property to HTXExchange class

Version 6.8.0

23 Dec 15:16
Compare
Choose a tag to compare
  • Updated CryptoExchange.Net to version 8.5.0, see https://github.com/JKorf/CryptoExchange.Net/releases/
  • Added SetOptions methods on Rest and Socket clients
  • Added setting of DefaultProxyCredentials to CredentialCache.DefaultCredentials on the DI http client
  • Improved websocket disconnect detection

Version 6.7.2

08 Dec 09:50
Compare
Choose a tag to compare
  • Updated CryptoExchange.Net to version 8.4.4 to fix deserialization error in .net framework

Version 6.7.1

03 Dec 10:48
Compare
Choose a tag to compare

Version 6.7.0

02 Dec 15:56
Compare
Choose a tag to compare
  • Added AllowAppendingClientOrderId option
  • Updated client order id logic for client reference for the Spot API
  • Fix for orderbook creation via HTXOrderBookFactory