Skip to content

Commit a57cf33

Browse files
committed
MOD: Upgrade databento_dbn to 0.19.0
1 parent d712a7a commit a57cf33

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Changelog
22

3-
## 0.36.4 - TBD
3+
## 0.37.0 - TBD
44

55
#### Enhancements
66
- A disconnected `Live` client can now be reused with a different dataset
7-
- Upgraded `databento-dbn` to 0.18.3
7+
- Upgraded `databento-dbn` to 0.19.0
88

99
## 0.36.3 - 2024-07-02
1010

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The library is fully compatible with the latest distribution of Anaconda 3.8 and
3232
The minimum dependencies as found in the `pyproject.toml` are also listed below:
3333
- python = "^3.8"
3434
- aiohttp = "^3.8.3"
35-
- databento-dbn = "0.18.3"
35+
- databento-dbn = "0.19.0"
3636
- numpy= ">=1.23.5"
3737
- pandas = ">=1.5.3"
3838
- pip-system-certs = ">=4.0" (Windows only)

databento/common/constants.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from typing import Final
44

55
import numpy as np
6+
from databento_dbn import BBOMsg
67
from databento_dbn import CBBOMsg
78
from databento_dbn import ImbalanceMsg
89
from databento_dbn import InstrumentDefMsg
@@ -47,8 +48,8 @@
4748
Schema.CBBO_1S: CBBOMsg,
4849
Schema.CBBO_1M: CBBOMsg,
4950
Schema.TCBBO: CBBOMsg,
50-
Schema.BBO_1S: MBP1Msg,
51-
Schema.BBO_1M: MBP1Msg,
51+
Schema.BBO_1S: BBOMsg,
52+
Schema.BBO_1M: BBOMsg,
5253
}
5354

5455
SCHEMA_STRUCT_MAP_V1: Final[dict[Schema, type[DBNRecord]]] = {
@@ -69,6 +70,6 @@
6970
Schema.CBBO_1S: CBBOMsg,
7071
Schema.CBBO_1M: CBBOMsg,
7172
Schema.TCBBO: CBBOMsg,
72-
Schema.BBO_1S: MBP1Msg,
73-
Schema.BBO_1M: MBP1Msg,
73+
Schema.BBO_1S: BBOMsg,
74+
Schema.BBO_1M: BBOMsg,
7475
}

databento/common/types.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010

1111
DBNRecord = Union[
12+
databento_dbn.BBOMsg,
1213
databento_dbn.CBBOMsg,
1314
databento_dbn.MBOMsg,
1415
databento_dbn.MBP1Msg,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ aiohttp = [
3232
{version = "^3.8.3", python = "<3.12"},
3333
{version = "^3.9.0", python = "^3.12"}
3434
]
35-
databento-dbn = "0.18.3"
35+
databento-dbn = "0.19.0"
3636
numpy = [
3737
{version = ">=1.23.5", python = "<3.12"},
3838
{version = "^1.26.0", python = "^3.12"}

0 commit comments

Comments
 (0)