@@ -6,6 +6,49 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66
77## [ Unreleased]
88
9+ ## [ v0.2.0] - 2020-09-02
10+ ` v0.2.0 ` is a minor release refactored most of the project to adopt async/await
11+ syntax, added support of streaming live "tick-by-tick" data from IB, and
12+ restructured the project.
13+
14+ ### Added
15+ - Module ` ibpy_native.utils.datatype ` to hold ` Enum ` or ` TypedDict ` for types of
16+ function arguments or return objects.
17+ - Listener to receive system notifications from IB (via
18+ ` ibpy_native.interfaces.listeners.NotificationListener ` ) in public class
19+ ` ibpy_native.bridge.IBBridge ` .
20+ - Corresponding setter ` set_on_notify_listener(listener) ` .
21+ - Function ` ibpy_native.bridge.IBBridge.search_detailed_contracts(contract) ` to
22+ search for contracts with complete details from IB's database. This newly
23+ implemented function is recommended to replace the deprecated functions
24+ ` get_us_stock_contract(symbol) ` & ` get_us_future_contract(symbol, contract_month) `
25+ in ` IBBridge ` .
26+ - Feature of streaming live "tick-by-tick" data from IB via functions
27+ ` ibpy_native.bridge.IBBridge.stream_live_ticks(contract, listener, tick_type=ibpy_native.utils.datatype.LiveTicks.LAST) ` and
28+ ` ibpy_native.bridge.IBBridge.stop_live_ticks_stream(stream_id) ` .
29+
30+ ### Changed
31+ - Existing code to align the code style with
32+ [ Google Python Style Guide] ( https://google.github.io/styleguide/pyguide.html#s3.16-naming ) .
33+ - Module files location to group them in corresponding sub-packages.
34+ - Name of classes, variables, and functions to get rid of the prepended double
35+ underscore and prepended single underscore for all non-public classes/members
36+ to mark for internal usage.
37+ - Mechanism of internal queue management.
38+ - Minimum Python version requirement to ` 3.7 ` as some of the built-in feature of
39+ ` 3.7 ` is being used in the project.
40+
41+ ### Deprecated
42+ - Function ` ibpy_native.bridge.IBBridge.get_us_stock_contract(symbol) ` .
43+ - Function ` ibpy_native.bridge.IBBridge.get_us_future_contract(symbol, contract_month) ` .
44+ - Script ` cmd/fetch_us_historical_ticks.py ` . This script might be updated to
45+ work with the refactored functions in future release, but it's not usable for
46+ now.
47+
48+ ### Removed
49+ - Argument ` timeout ` on all APIs implemented (use function
50+ ` asyncio.wait_for(aw, timeout, *, loop=None) ` for timeout instead if needed).
51+
952## [ v0.1.4] - 2020-06-01
1053` v0.1.4 ` is a hotfix release addressing the issue of various errors which will
1154be raised while fetching the historical ticks.
@@ -84,7 +127,8 @@ returns with `finished` mark as `True` unexpectedly while IB returns less than
841271000 records but there're more historical ticks those should be fetched
85128in next request.
86129
87- [ Unreleased ] : https://github.com/Devtography/ibpy_native/compare/v0.1.4...HEAD
130+ [ Unreleased ] : https://github.com/Devtography/ibpy_native/compare/v0.2.0...HEAD
131+ [ v0.2.0 ] : https://github.com/Devtography/ibpy_native/compare/v0.2.0...v0.1.4
88132[ v0.1.4] : https://github.com/Devtography/ibpy_native/compare/v0.1.4...v0.1.3
89133[ v0.1.3 ] : https://github.com/Devtography/ibpy_native/compare/v0.1.3...v0.1.2
90134[ v0.1.2 ] : https://github.com/Devtography/ibpy_native/compare/v0.1.2...v0.1.1
0 commit comments