Skip to content

Commit

Permalink
MOD: Upgrade databento_dbn to 0.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nmacholl committed Oct 4, 2024
1 parent bd0eca4 commit e396111
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## 0.43.0 - TBD

#### Enhancements
- Upgraded `databento-dbn` to 0.22.0

#### Breaking changes
- Removed support for Python 3.8 due to end of life

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The library is fully compatible with the latest distribution of Anaconda 3.9 and
The minimum dependencies as found in the `pyproject.toml` are also listed below:
- python = "^3.9"
- aiohttp = "^3.8.3"
- databento-dbn = "0.20.1"
- databento-dbn = "0.22.0"
- numpy= ">=1.23.5"
- pandas = ">=1.5.3"
- pip-system-certs = ">=4.0" (Windows only)
Expand Down
5 changes: 3 additions & 2 deletions databento/common/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import numpy as np
from databento_dbn import BBOMsg
from databento_dbn import CBBOMsg
from databento_dbn import CMBP1Msg
from databento_dbn import ImbalanceMsg
from databento_dbn import InstrumentDefMsg
from databento_dbn import InstrumentDefMsgV1
Expand Down Expand Up @@ -42,7 +43,7 @@
Schema.STATUS: StatusMsg,
Schema.TBBO: MBP1Msg,
Schema.TRADES: TradeMsg,
Schema.CBBO: CBBOMsg,
Schema.CMBP_1: CMBP1Msg,
Schema.CBBO_1S: CBBOMsg,
Schema.CBBO_1M: CBBOMsg,
Schema.TCBBO: CBBOMsg,
Expand All @@ -64,7 +65,7 @@
Schema.STATUS: StatusMsg,
Schema.TBBO: MBP1Msg,
Schema.TRADES: TradeMsg,
Schema.CBBO: CBBOMsg,
Schema.CMBP_1: CMBP1Msg,
Schema.CBBO_1S: CBBOMsg,
Schema.CBBO_1M: CBBOMsg,
Schema.TCBBO: CBBOMsg,
Expand Down
1 change: 1 addition & 0 deletions databento/common/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
DBNRecord = Union[
databento_dbn.BBOMsg,
databento_dbn.CBBOMsg,
databento_dbn.CMBP1Msg,
databento_dbn.MBOMsg,
databento_dbn.MBP1Msg,
databento_dbn.MBP10Msg,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ aiohttp = [
{version = "^3.8.3", python = "<3.12"},
{version = "^3.9.0", python = "^3.12"}
]
databento-dbn = "0.20.1"
databento-dbn = "0.22.0"
numpy = [
{version = ">=1.23.5", python = "<3.12"},
{version = "^1.26.0", python = "^3.12"}
Expand Down
2 changes: 1 addition & 1 deletion tests/test_common_symbology.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def create_symbol_mapping_message(
SymbolMappingMsg
"""
return SymbolMappingMsg( # type: ignore [call-arg]
return SymbolMappingMsg(
publisher_id=publisher_id,
instrument_id=instrument_id,
ts_event=ts_event,
Expand Down
1 change: 1 addition & 0 deletions tests/test_live_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1520,6 +1520,7 @@ async def test_live_stream_with_reuse(
"cbbo-1s",
"cbbo-1m",
"tcbbo",
"cmbp-1",
"bbo-1s",
"bbo-1m",
):
Expand Down

0 comments on commit e396111

Please sign in to comment.