0.2.0-alpha40
Pre-releaseAvailable on NuGet.
This release includes significant refactoring including removal of the web socket client and cache managers (functionality relocated) and removal of several namespaces (to simplify usage). The automatic streaming start/stop feature has been moved from the managers to a lower-level and is now a built-in part of the I...WebSocketClient
implementations (the IUserDataWebSocketManager
and composite managers remain). For those not wanting the automatic stream control, look to the IBinanceWebSocketStream
and I...Client
'advanced' implementations. Examples and sample applications have been updated.
The fundamental change in this release is the separation of IJsonStream
into a simpler IJsonStream
and the new IJsonPublisher
(both are JSON producers). The publisher handles subscriptions for the combined stream functionality where the web socket stream URI is automatically modified and changes to the URI trigger the automatic web socket abort and re-connect.
The architecture diagram has been updated.
Changes:
- FIX:
SymbolStatisticCache
link to client and unsubscribe for #75. (thanks @tompetko). - BREAKING: Remove all
...ClientManager
and...CacheManager
classes moving functionality to existing...WebSocketClient
and new...WebSocketCache
.- Move
IWatchdogTimer
toIJsonStreamController
(monitors JSON producer/stream rather than client data). - Move
IJsonStreamController
to newIAutoJsonStreamPublisher
.
- Move
- BREAKING: Remove several namespaces including Api, Market, Account, Account.Orders, etc.
- BREAKING: Change
IJsonProvider
toIJsonProducer
,IJsonObserver
toIJsonSubscriber
,ObservedStreams
property toSubscribedStreams
, andProvidesStreams
property toPublishedStreams
. - BREAKING: Remove cancellation token from client events (expect to be handled quickly and synchronously).
- BREAKING: Move all controllers to
Utility
namespace. - Add delay when calculating average timestamp offset.
- Add
IWatchdogTimer.IsEnabled
control. - Update static assets and symbols.