Repository navigation
Releases
XT.Net Version 4.8.0
Updated CryptoExchange.Net to v13.2.2
XT.Net Version 4.7.0
Updated CryptoExchange.Net to V13.1.0
Added DailyOrderLimit to SymbolFilterType
XT.Net Version 4.6.0
- Updated CryptoExchange.Net to v13.0.0
- Shared APIs
- Added SharedApi V2 support
- Added
.SharedApiproperty to clients - Added
(I)XTSharedApiClientcontaining all V2 SharedApi references - Added
SharedApitoXTOptionsto provide SharedApi related options - Added GetUserFundingHistoryAsync implementation to Shared Futures REST API
- Added GetFundingInfoAsync implementation to Shared Futures REST API
- Added EditFuturesOrderAsync implementation to Shared Futures REST API
- Added CancelAllFuturesOrdersAsync implementation to Shared Futures REST API
- Added CancelAllFuturesSymbolOrdersAsync implementation to Shared Futures REST API
- Added PlaceMultipleFuturesOrdersAsync implementation to Shared Futures REST API
- Added GetAllIndexPricesAsync and GetIndexPriceAsync implementation to Shared Futures REST API
- Added GetAllMarkPricesAsync and GetMarkPriceAsync implementation to Shared Futures REST API
- Added GetLedgerAsync implementation to Shared Futures REST API
- Added GetLeverageTiersAsync implementation to Shared Futures REST API
- Added SubscribeToIndexPriceUpdatesAsync implementation to Shared Futures Socket API
- Added SubscribeToMarkPriceUpdatesAsync implementation to Shared Futures Socket API
- Added EditSpotOrderAsync implementation to Shared Spot REST API
- Added CancelAllSpotOrdersAsync implementation to Shared Spot REST API
- Added CancelAllSpotSymbolOrdersAsync implementation to Shared Spot REST API
- See https://cryptoexchange.jkorf.dev/docs/shared-api?sharedApiVersion=v2 for more info about the V2 update and https://github.com/JKorf/CryptoExchange.Net/blob/master/docs/SHARED_API_V2_MIGRATION.md for migrating from V1
- SharedApi V1 will still be supported
- Rate limiting
- Added rate limit admission callback to client options to allow rate limit admission ruling on request definition
- Added
WithRateLimitAdmissionAsyncto client to allow rate limit admission ruling on a specific request - Update rate limit safety margin logic
- Fixed some rate limit calculation issues
- Request coalescing
- Sending identical public GET requests on the same client at the same time will only send a single request to the server and use the same response
- Coalescing is enabled by default and can be disabled with the
RequestCoalescingEnabledclient option
- Added PartiallyCanceled to OrderStatus Enum
- Added OpenOrderFeeFrozen to XTFutuersBalanceUpdate model
- Updated AveragePrice to nullable in XTFuturesOrder model
- Updated UnrealizedPnl to nullable in XTPosition model
- Fixed REST Futures API CancelAllOrdersAsync request when not providing a symbol
- Fixed
idparameter not getting send with Futures GetAccountBillsAsync - Fixed Futures SubscribeToFundingRateUpdatesAsync subscribing to incorrect topic
XT.Net Version 4.5.0
Updated to CryptoExchange.Net v12.5.0
Added MaxTradeQuantity, MakerFeePercentage, TakerFeePercentage, MaxLongLeverage, MaxShortLeverage, UpperPriceLimitPercentage, LowerPriceLimitPercentage to SharedFuturesSymbol mapping
XT.Net Version 4.4.0
Added restClient.UsdtFuturesApi.Account.GetLeverageInfoAsync and Trading.GetUserTradeDetailsAsync endpoints
Updated network parameter to optional for GetDepositHistoryAsync and GetWithdrawalHistoryAsync endpoints
Updated error mapping to output message code for unmapped errors
Fixed restClient.UsdtFuturesApi.Trading.GetOpenOrdersAsync endpoint
XT.Net Version 4.3.0
Updated CryptoExchange.Net to version 12.4.0
Added calculation of AveragePrice on Shared order models if data is available and AveragePrice is not set
Added DebuggerDisplay attributes to Result models
Added AveragePrice property to SharedQuantity model
Added BusinessNameDefault property to XTFuturesSymbol model
Updated SharedFuturesTicker, SharedSpotTicker, SharedTrade and SharedKline to use SharedOrderQuantity for volumes/quantities
XT.Net Version 4.2.0
Updated CryptoExchange.Net to v12.2.0
Added SpotSymbolCatalog to Shared ISpotSymbolRestClient interface
Added FuturesSymbolCatalog to Shared IFuturesSymbolRestClient interface
Added BaseAssetType, BaseAssetSubType, QuoteAssetType and QuoteAssetSubType to GetSymbolsRequest model
Added DisplayName to SharedSpotSymbol and SharedFuturesSymbol models
Added BaseAssetType, BaseAssetSubType, QuoteAssetType and QuoteAssetSubType to SharedSpotSymbol and SharedFuturesSymbol models
Added DebuggerDisplay attributes to Shared models
Updated NeedsMemo on XTAsset to nullable
XT.Net Version 4.1.0
Updated CryptoExchange.Net to v12.1.0
Updated response models based on observed returned values
Fixed documentation links
XT.Net Version 4.0.0
- Result types:
- (Web)CallResult types are replaced by HttpResult, WebSocketResult and QueryResult with the same logic
- WebSocketResult and QueryResult now return additional info for websocket operations
- Updated result types to record type
- Removed implicit result type conversion to bool,
if (result)no longer works, instead useif (result.Success) - Fixed result object nullability hinting, for example Data might be null if Success isn't checked for true
- Clients:
- Added ToString overrides on base API types
- Added Exchange property on BaseApiClient
- Added ApiCredentials property on Api clients
- Updated ILogger source from client name to topic specific client name
- Removed logging from client creation
- Fixed issue in SocketApiClient.GetSocketConnection causing requests to always wait the full max 10 seconds when there was a reconnecting socket
- Shared APIs:
- Added missing dedicated option types
- Added Discover method on ISharedClient interface, returning info on supported capabilities and operations
- Added ResetStaticExchangeParameters method on ExchangeParameters
- Added Status property to SharedWithdrawal model
- Added TradingModes property to SharedBalance model
- Updated Shared ExchangeParameters parameter names to be case insensitive
- Updated code comments
- Replaced ExchangeResult with ExchangeCallResult type
- Removed TradingMode from the response model, only maintained on models where it makes sense
- Removed IListenKey support, listen keys now rely on internal management
- Fixed Shared Futures GetOpenFuturesOrdersAsync not returning partially filled orders
- Added futures GetOpenOrdersAsync endpoint
- Added async streaming on UserDataTracker items with StreamUpdatesAsync
- Added cancellation token support to UserDataTracker starting
- Added SupportedEnvironments property to PlatformInfo
- Added Clear() method on UserClientProvider to clear all cached clients
- Added setter to XTExchange.RateLimiter to allow custom rate limit settings
- Updated user subscription overloads without listenkey, now uses internal token manager
- Various small performance improvements
- Fixed websocket connection attempts counting towards rate limit even when server could not be reached
XT.Net Version 3.11.0
Updated CryptoExchange.Net to version 11.2.2
Added internal listen key management for user websocket subscriptions
Fixed user client provider not caching new client when previous client was disposed