Skip to content

Commit 7678240

Browse files
authored
VER: Release 0.51.0
See release notes.
2 parents d119369 + 317d7f3 commit 7678240

File tree

11 files changed

+35
-32
lines changed

11 files changed

+35
-32
lines changed

CHANGELOG.md

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

3+
## 0.51.0 - 2025-04-08
4+
5+
#### Enhancements
6+
- Upgraded `databento-dbn` to 0.31.0
7+
- Fixed Python type annotation for `SystemMsg.is_heartbeat()` method that was previously annotated as a property
8+
39
## 0.50.0 - 2025-03-18
410

511
#### Enhancements

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.9 and
3232
The minimum dependencies as found in the `pyproject.toml` are also listed below:
3333
- python = "^3.9"
3434
- aiohttp = "^3.8.3"
35-
- databento-dbn = "0.29.0"
35+
- databento-dbn = "0.31.0"
3636
- numpy= ">=1.23.5"
3737
- pandas = ">=1.5.3"
3838
- pip-system-certs = ">=4.0" (Windows only)

databento/common/publishers.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -515,13 +515,13 @@ class Dataset(StringyMixin, str, Enum):
515515
XPSX_ITCH
516516
Nasdaq PSX TotalView-ITCH.
517517
BATS_PITCH
518-
Cboe BZX Depth Pitch.
518+
Cboe BZX Depth.
519519
BATY_PITCH
520-
Cboe BYX Depth Pitch.
520+
Cboe BYX Depth.
521521
EDGA_PITCH
522-
Cboe EDGA Depth Pitch.
522+
Cboe EDGA Depth.
523523
EDGX_PITCH
524-
Cboe EDGX Depth Pitch.
524+
Cboe EDGX Depth.
525525
XNYS_PILLAR
526526
NYSE Integrated.
527527
XCIS_PILLAR
@@ -810,13 +810,13 @@ def description(self) -> str:
810810
if self == Dataset.XPSX_ITCH:
811811
return "Nasdaq PSX TotalView-ITCH"
812812
if self == Dataset.BATS_PITCH:
813-
return "Cboe BZX Depth Pitch"
813+
return "Cboe BZX Depth"
814814
if self == Dataset.BATY_PITCH:
815-
return "Cboe BYX Depth Pitch"
815+
return "Cboe BYX Depth"
816816
if self == Dataset.EDGA_PITCH:
817-
return "Cboe EDGA Depth Pitch"
817+
return "Cboe EDGA Depth"
818818
if self == Dataset.EDGX_PITCH:
819-
return "Cboe EDGX Depth Pitch"
819+
return "Cboe EDGX Depth"
820820
if self == Dataset.XNYS_PILLAR:
821821
return "NYSE Integrated"
822822
if self == Dataset.XCIS_PILLAR:
@@ -897,13 +897,13 @@ class Publisher(StringyMixin, str, Enum):
897897
XPSX_ITCH_XPSX
898898
Nasdaq PSX TotalView-ITCH.
899899
BATS_PITCH_BATS
900-
Cboe BZX Depth Pitch.
900+
Cboe BZX Depth.
901901
BATY_PITCH_BATY
902-
Cboe BYX Depth Pitch.
902+
Cboe BYX Depth.
903903
EDGA_PITCH_EDGA
904-
Cboe EDGA Depth Pitch.
904+
Cboe EDGA Depth.
905905
EDGX_PITCH_EDGX
906-
Cboe EDGX Depth Pitch.
906+
Cboe EDGX Depth.
907907
XNYS_PILLAR_XNYS
908908
NYSE Integrated.
909909
XCIS_PILLAR_XCIS
@@ -2055,13 +2055,13 @@ def description(self) -> str:
20552055
if self == Publisher.XPSX_ITCH_XPSX:
20562056
return "Nasdaq PSX TotalView-ITCH"
20572057
if self == Publisher.BATS_PITCH_BATS:
2058-
return "Cboe BZX Depth Pitch"
2058+
return "Cboe BZX Depth"
20592059
if self == Publisher.BATY_PITCH_BATY:
2060-
return "Cboe BYX Depth Pitch"
2060+
return "Cboe BYX Depth"
20612061
if self == Publisher.EDGA_PITCH_EDGA:
2062-
return "Cboe EDGA Depth Pitch"
2062+
return "Cboe EDGA Depth"
20632063
if self == Publisher.EDGX_PITCH_EDGX:
2064-
return "Cboe EDGX Depth Pitch"
2064+
return "Cboe EDGX Depth"
20652065
if self == Publisher.XNYS_PILLAR_XNYS:
20662066
return "NYSE Integrated"
20672067
if self == Publisher.XCIS_PILLAR_XCIS:

databento/historical/api/batch.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,7 @@ def submit_job(
102102
The end datetime of the request time range (exclusive).
103103
Assumes UTC as timezone unless passed a tz-aware object.
104104
If an integer is passed, then this represents nanoseconds since the UNIX epoch.
105-
Values are forward filled based on the resolution provided.
106-
Defaults to the same value as `start`.
105+
Defaults to the forward filled value of `start` based on the resolution provided.
107106
encoding : Encoding or str {'dbn', 'csv', 'json'}, default 'dbn'
108107
The data encoding.
109108
compression : Compression or str {'none', 'zstd'}, default 'zstd'

databento/historical/api/metadata.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,7 @@ def get_record_count(
286286
The end datetime for the request range (exclusive).
287287
Assumes UTC as timezone unless otherwise specified.
288288
If an integer is passed, then this represents nanoseconds since the UNIX epoch.
289-
Values are forward filled based on the resolution provided.
290-
Defaults to the same value as `start`.
289+
Defaults to the forward filled value of `start` based on the resolution provided.
291290
symbols : Iterable[str | int] or str or int, optional
292291
The instrument symbols to filter for. Takes up to 2,000 symbols per request.
293292
If 'ALL_SYMBOLS' or `None` then will select **all** symbols.
@@ -355,8 +354,7 @@ def get_billable_size(
355354
The end datetime for the request range (exclusive).
356355
Assumes UTC as timezone unless otherwise specified.
357356
If an integer is passed, then this represents nanoseconds since the UNIX epoch.
358-
Values are forward filled based on the resolution provided.
359-
Defaults to the same value as `start`.
357+
Defaults to the forward filled value of `start` based on the resolution provided.
360358
symbols : Iterable[str | int] or str, or int, optional
361359
The instrument symbols to filter for. Takes up to 2,000 symbols per request.
362360
If 'ALL_SYMBOLS' or `None` then will select **all** symbols.
@@ -425,8 +423,7 @@ def get_cost(
425423
The end datetime for the request range (exclusive).
426424
Assumes UTC as timezone unless otherwise specified.
427425
If an integer is passed, then this represents nanoseconds since the UNIX epoch.
428-
Values are forward filled based on the resolution provided.
429-
Defaults to the same value as `start`.
426+
Defaults to the forward filled value of `start` based on the resolution provided.
430427
mode : FeedMode or str {'live', 'historical-streaming', 'historical'}, default 'historical-streaming'
431428
The data feed mode for the request.
432429
symbols : Iterable[str | int] or str or int, optional

databento/historical/api/timeseries.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ def get_range(
6767
The end datetime of the request time range (exclusive).
6868
Assumes UTC as timezone unless passed a tz-aware object.
6969
If an integer is passed, then this represents nanoseconds since the UNIX epoch.
70-
Values are forward filled based on the resolution provided.
71-
Defaults to the same value as `start`.
70+
Defaults to the forward filled value of `start` based on the resolution provided.
7271
symbols : Iterable[str | int], or str, or int, optional
7372
The instrument symbols to filter for. Takes up to 2,000 symbols per request.
7473
If more than 1 symbol is specified, the data is merged and sorted by time.
@@ -164,8 +163,7 @@ async def get_range_async(
164163
The end datetime of the request time range (exclusive).
165164
Assumes UTC as timezone unless passed a tz-aware object.
166165
If an integer is passed, then this represents nanoseconds since the UNIX epoch.
167-
Values are forward filled based on the resolution provided.
168-
Defaults to the same value as `start`.
166+
Defaults to the forward filled value of `start` based on the resolution provided.
169167
symbols : Iterable[str | int] or str or int, optional
170168
The instrument symbols to filter for. Takes up to 2,000 symbols per request.
171169
If more than 1 symbol is specified, the data is merged and sorted by time.

databento/reference/api/adjustment.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ def get_range(
5757
The end datetime of the request time range (exclusive) based on `ex_date`.
5858
Assumes UTC as timezone unless passed a tz-aware object.
5959
If an integer is passed, then this represents nanoseconds since the UNIX epoch.
60+
Defaults to the forward filled value of `start` based on the resolution provided.
6061
symbols : Iterable[str] or str, optional
6162
The symbols to filter for. Takes up to 2,000 symbols per request.
6263
If more than 1 symbol is specified, the data is merged and sorted by time.

databento/reference/api/corporate.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ def get_range(
6161
The end datetime of the request time range (exclusive) based on `index`.
6262
Assumes UTC as timezone unless passed a tz-aware object.
6363
If an integer is passed, then this represents nanoseconds since the UNIX epoch.
64+
Defaults to the forward filled value of `start` based on the resolution provided.
6465
index : str, default 'event_date'
6566
The index column used for filtering the `start` and `end` time range
6667
and for record ordering.

databento/reference/api/security.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def get_range(
5858
The end datetime of the request time range (exclusive) based on `index`.
5959
Assumes UTC as timezone unless passed a tz-aware object.
6060
If an integer is passed, then this represents nanoseconds since the UNIX epoch.
61+
Defaults to the forward filled value of `start` based on the resolution provided.
6162
index : str, default 'ts_effective'
6263
The index column used for filtering the `start` and `end` time range
6364
and for record ordering.

databento/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.50.0"
1+
__version__ = "0.51.0"

0 commit comments

Comments
 (0)