Releases: JKorf/HTX.Net
Releases · JKorf/HTX.Net
Version 7.0.0-beta2
- 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
- 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
orToArray
this overhead can now be removed - The
AddHTX(restOptions, socketOptions)
overload was removed but can be replaced byAddHTX(options)
, whereoptions.Rest
is the same as the previous versionsrestOptions
andoptions.Socket
is the same as previous versionssocketOptions
- When providing quantities for the Shared interfaces you now need to specify the type of quantity:
SharedQuantity.Base(/*qty*/)
,SharedQuantity.Quote(/*qty*/)
orSharedQuantity.Contracts(/*qty*/)
- Quantity responses for the Shared interfaces have the same logic, quantities are wrapped in the
SharedOrderQuantity
model, containing theQuantityInBaseAsset
,QuantityInQuoteAsset
andQuantityInContracts
properties - See https://cryptoexchange.jkorf.dev/client-libs/shared/quantities for more info on the new quantity notations
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
Version 6.9.0
- 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
- Added restClient.SpotApi.ExchangeData.GetNetworksAsync
Version 6.8.1
- Updated CryptoExchange.Net version
- Added Type property to HTXExchange class
Version 6.8.0
- 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
- Updated CryptoExchange.Net to version 8.4.4 to fix deserialization error in .net framework
Version 6.7.1
- Updated CryptoExchange.Net to version 8.4.3, see https://github.com/JKorf/CryptoExchange.Net/releases/
- Fix for AllowAppendingClientOrderId options setting
Version 6.7.0
- Added AllowAppendingClientOrderId option
- Updated client order id logic for client reference for the Spot API
- Fix for orderbook creation via HTXOrderBookFactory