Skip to content

CryptoExchange.Net V12#9

Merged
JKorf merged 12 commits into
mainfrom
feature/shared-update
Jun 29, 2026
Merged

CryptoExchange.Net V12#9
JKorf merged 12 commits into
mainfrom
feature/shared-update

Conversation

@JKorf

@JKorf JKorf commented Jun 27, 2026

Copy link
Copy Markdown
Owner
  • 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 use if (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
  • Added user subscription overloads without listenkey which manages the listen key internally

  • 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

  • Various small performance improvements

  • Fixed websocket connection attempts counting towards rate limit even when server could not be reached

@JKorf JKorf merged commit f2b0c4d into main Jun 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant