Repository navigation
Version 2.0.0
- 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 FuturesApi and Spot Shared clients
- Added IBookTickerRestClient implementation to FuturesApi and SpotApi Shared clients
- Added IFuturesTriggerOrderRestClient implementation to FuturesApi Shared clients
- Added IFuturesTpSlRestClient implementation to FuturesApi Shared clients
- Added takeProfitPrice, stopLossPrice parameter support to V4Api PlaceFuturesOrderAsync
- Added TakeProfitPrice, StopLossPrice to SharedFuturesOrder model
- Added TakeProfitPrice, StopLossPrice to SharedPosition model
- Added QuoteVolume property mapping to SharedSpotTicker model
- Added OptionalExchangeParameters and Supported properties to EndpointOptions
- Added conversion of symbol to lowercase in various places
- Added All property to retrieve all available environment on XTEnvironment
- 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
- Fixed some typos
- Fixed incorrect DataTradeMode on certain Shared interface responses
- Fixed Futures CancelAllTrackOrdersAsync endpoint
- Fixed deserialization error in XTOrder model
Updates notes:
- Processing responses which previously returned an IEnumerable now return an array. Although you can still call
ToListorToArraythis 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*/)orSharedQuantity.Contracts(/*qty*/). - Quantity responses for the Shared interfaces have the same logic, quantities are wrapped in the
SharedOrderQuantitymodel, containing theQuantityInBaseAsset,QuantityInQuoteAssetandQuantityInContractsproperties. - 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
XT, it is now splitXT.RestClientandXT.SocketClient. Update any logic depending on this accordingly.