Skip to content

Commit

Permalink
MOD: Export BBOMsg and CBBOMsg
Browse files Browse the repository at this point in the history
  • Loading branch information
nmacholl committed Jul 22, 2024
1 parent b47f236 commit 1cbe6dd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ This release adds a new feature to the `Live` client for automatically reconnect
- Added `Live.add_reconnect_callback` method for specifying a callback to handle client reconnections
- Added platform information to the user agent reported by the `Historical` and `Live` clients
- Upgraded `databento-dbn` to 0.19.1
- Added `BBOMsg`, `CBBOMsg`, and `StatusMsg` exports to the root `databento` package

#### Breaking changes
- Calling `Live.stop` will now clear all user streams and callbacks
Expand Down
18 changes: 12 additions & 6 deletions databento/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import logging
import warnings

from databento_dbn import BBOMsg
from databento_dbn import CBBOMsg
from databento_dbn import Compression
from databento_dbn import Encoding
from databento_dbn import ErrorMsg
Expand All @@ -14,6 +16,7 @@
from databento_dbn import Schema
from databento_dbn import StatMsg
from databento_dbn import StatType
from databento_dbn import StatusMsg
from databento_dbn import SType
from databento_dbn import SymbolMappingMsg
from databento_dbn import SystemMsg
Expand Down Expand Up @@ -75,22 +78,25 @@
"RollRule",
"Schema",
"SplitDuration",
"StatType",
"SType",
"SymbologyResolution",
# DBN Record Types
"Metadata",
"BBOMsg",
"CBBOMsg",
"ErrorMsg",
"ImbalanceMsg",
"InstrumentDefMsg",
"MBOMsg",
"MBP1Msg",
"MBP10Msg",
"TradeMsg",
"OHLCVMsg",
"StatMsg",
"InstrumentDefMsg",
"ImbalanceMsg",
"ErrorMsg",
"StatType",
"SystemMsg",
"StatusMsg",
"SymbolMappingMsg",
"SystemMsg",
"TradeMsg",
]

# Setup logging
Expand Down

0 comments on commit 1cbe6dd

Please sign in to comment.