Skip to content

Releases: JKorf/HTX.Net

HTX.Net Version 7.5.1

21 Aug 12:20
Compare
Choose a tag to compare
  • Fixed futures error parsing
  • Added additional insufficient balance error mapping
  • Added websocket error check for unknown symbol

HTX.Net Version 7.5.0

20 Aug 11:20
Compare
Choose a tag to compare
  • Updated CryptoExchange.Net to version 9.5.0, see https://github.com/JKorf/CryptoExchange.Net/releases/
  • Added improved error parsing
  • Updated rest request sending too prevent duplicate parameter serialization
  • Updated restClient.SpotApi.Trading.PlaceMultipleOrderAsync to return CallResult objects allowing for improved error handling
  • Fixed restClient.UsdtFuturesApi.Account.GetTradingStatusAsync endpoint deserialization

Updates notes:

  • Error.Code is deprecated, use Error.ErrorCode instead for checking specific errors

HTX.Net Version 7.4.0

04 Aug 11:34
Compare
Choose a tag to compare

HTX.Net Version 7.3.1

01 Aug 07:56
Compare
Choose a tag to compare
  • Fixed Shared spot Ticker subscriptions throwing exception if open price is 0

HTX.Net Version 7.3.0

23 Jul 12:20
Compare
Choose a tag to compare

HTX.Net Version 7.2.0

15 Jul 11:11
Compare
Choose a tag to compare

Version 7.1.0

02 Jun 07:15
Compare
Choose a tag to compare

Version 7.0.0

13 May 14:05
Compare
Choose a tag to compare
  • Updated CryptoExchange.Net to version 9.0.0, 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
  • Added QuoteVolume property mapping to SharedSpotTicker model
  • Added All property to retrieve all available environment on HTXEnvironment
  • 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 deserialization error for restClient.UsdtFuturesApi.Account.GetIsolatedMarginAccountInfoAsync
  • Fixed incorrect DataTradeMode on certain Shared interface responses
  • 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
  • Structured logging SourceContext now include the client type, previously the SourceContext was always HTX, it is now split HTX.RestClient and HTX.SocketClient. Update any logic depending on this accordingly.

Version 7.0.0-beta3

01 May 12:00
Compare
Choose a tag to compare
  • Updated CryptoExchange.Net version to 9.0.0-beta5
  • Added property to retrieve all available API environments

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