Skip to content

Commit 1cbe6dd

Browse files
committed
MOD: Export BBOMsg and CBBOMsg
1 parent b47f236 commit 1cbe6dd

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ This release adds a new feature to the `Live` client for automatically reconnect
1010
- Added `Live.add_reconnect_callback` method for specifying a callback to handle client reconnections
1111
- Added platform information to the user agent reported by the `Historical` and `Live` clients
1212
- Upgraded `databento-dbn` to 0.19.1
13+
- Added `BBOMsg`, `CBBOMsg`, and `StatusMsg` exports to the root `databento` package
1314

1415
#### Breaking changes
1516
- Calling `Live.stop` will now clear all user streams and callbacks

databento/__init__.py

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import logging
22
import warnings
33

4+
from databento_dbn import BBOMsg
5+
from databento_dbn import CBBOMsg
46
from databento_dbn import Compression
57
from databento_dbn import Encoding
68
from databento_dbn import ErrorMsg
@@ -14,6 +16,7 @@
1416
from databento_dbn import Schema
1517
from databento_dbn import StatMsg
1618
from databento_dbn import StatType
19+
from databento_dbn import StatusMsg
1720
from databento_dbn import SType
1821
from databento_dbn import SymbolMappingMsg
1922
from databento_dbn import SystemMsg
@@ -75,22 +78,25 @@
7578
"RollRule",
7679
"Schema",
7780
"SplitDuration",
81+
"StatType",
7882
"SType",
7983
"SymbologyResolution",
8084
# DBN Record Types
8185
"Metadata",
86+
"BBOMsg",
87+
"CBBOMsg",
88+
"ErrorMsg",
89+
"ImbalanceMsg",
90+
"InstrumentDefMsg",
8291
"MBOMsg",
8392
"MBP1Msg",
8493
"MBP10Msg",
85-
"TradeMsg",
8694
"OHLCVMsg",
8795
"StatMsg",
88-
"InstrumentDefMsg",
89-
"ImbalanceMsg",
90-
"ErrorMsg",
91-
"StatType",
92-
"SystemMsg",
96+
"StatusMsg",
9397
"SymbolMappingMsg",
98+
"SystemMsg",
99+
"TradeMsg",
94100
]
95101

96102
# Setup logging

0 commit comments

Comments
 (0)