-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
**Bug Fixes** - When deserializing a product, price is set to default if the price is missing. - Small bug fix for TimeInForce enum. - Fixed Level2 Channel for the WebSocket. - MarginWindowMeasure is now correctly public. **New Additions** - Readers returned from the `websocket.connect` can be passed directly to listen. - Serialization added to Message Events. - Made `WebSocketClient::process_message()` publicly accessible. - `WebSocketClient::fetch_async()` and `WebSocketClient::fetch_sync()` added so that the user can obtain and process messages with closures. - Implemented From<Product> for ProductUpdate. - Added Result<(), String> as a return to the fetch_(a)sync functions. **Optimizations** - Updated snippets to adhere to best practices (linting). - Corrected the mutability for WebSocketClient connect() and `connect_endpoint()`. - Simplify messages to use no custom serde function. - Removed several unused crates. **Documentation** - README updates. - Updated websocket example. - Add example of pattern matching on events. **Breaking Changes** - Swapped names for `handle_reconnection` and `reconnect`, made `reconnect` public. - Removed `enable_user` from WebSocketClientBuilder. Toggled by providing authentication details. - Removed `MessageCallback` and `CandleCallback` traits. They were clunky in implmentation for the user. - Removed `candle_watcher`, this will be revisited in the future with the new listener system.
- Loading branch information
Showing
30 changed files
with
577 additions
and
1,064 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.