Skip to content

XT.Net Version 4.6.0

Choose a tag to compare

@JKorf JKorf released this 24 Sep 08:45
· 23 commits to main since this release
  • Updated CryptoExchange.Net to v13.0.0
  • Shared APIs
    • Added SharedApi V2 support
    • Added .SharedApi property to clients
    • Added (I)XTSharedApiClient containing all V2 SharedApi references
    • Added SharedApi to XTOptions to 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 WithRateLimitAdmissionAsync to 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 RequestCoalescingEnabled client 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 id parameter not getting send with Futures GetAccountBillsAsync
  • Fixed Futures SubscribeToFundingRateUpdatesAsync subscribing to incorrect topic