Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.51.0 - 2025-04-08

#### Enhancements
- Upgraded `databento-dbn` to 0.31.0
- Fixed Python type annotation for `SystemMsg.is_heartbeat()` method that was previously annotated as a property

## 0.50.0 - 2025-03-18

#### Enhancements
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.29.0"
- databento-dbn = "0.31.0"
- numpy= ">=1.23.5"
- pandas = ">=1.5.3"
- pip-system-certs = ">=4.0" (Windows only)
Expand Down
32 changes: 16 additions & 16 deletions databento/common/publishers.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,13 +515,13 @@ class Dataset(StringyMixin, str, Enum):
XPSX_ITCH
Nasdaq PSX TotalView-ITCH.
BATS_PITCH
Cboe BZX Depth Pitch.
Cboe BZX Depth.
BATY_PITCH
Cboe BYX Depth Pitch.
Cboe BYX Depth.
EDGA_PITCH
Cboe EDGA Depth Pitch.
Cboe EDGA Depth.
EDGX_PITCH
Cboe EDGX Depth Pitch.
Cboe EDGX Depth.
XNYS_PILLAR
NYSE Integrated.
XCIS_PILLAR
Expand Down Expand Up @@ -810,13 +810,13 @@ def description(self) -> str:
if self == Dataset.XPSX_ITCH:
return "Nasdaq PSX TotalView-ITCH"
if self == Dataset.BATS_PITCH:
return "Cboe BZX Depth Pitch"
return "Cboe BZX Depth"
if self == Dataset.BATY_PITCH:
return "Cboe BYX Depth Pitch"
return "Cboe BYX Depth"
if self == Dataset.EDGA_PITCH:
return "Cboe EDGA Depth Pitch"
return "Cboe EDGA Depth"
if self == Dataset.EDGX_PITCH:
return "Cboe EDGX Depth Pitch"
return "Cboe EDGX Depth"
if self == Dataset.XNYS_PILLAR:
return "NYSE Integrated"
if self == Dataset.XCIS_PILLAR:
Expand Down Expand Up @@ -897,13 +897,13 @@ class Publisher(StringyMixin, str, Enum):
XPSX_ITCH_XPSX
Nasdaq PSX TotalView-ITCH.
BATS_PITCH_BATS
Cboe BZX Depth Pitch.
Cboe BZX Depth.
BATY_PITCH_BATY
Cboe BYX Depth Pitch.
Cboe BYX Depth.
EDGA_PITCH_EDGA
Cboe EDGA Depth Pitch.
Cboe EDGA Depth.
EDGX_PITCH_EDGX
Cboe EDGX Depth Pitch.
Cboe EDGX Depth.
XNYS_PILLAR_XNYS
NYSE Integrated.
XCIS_PILLAR_XCIS
Expand Down Expand Up @@ -2055,13 +2055,13 @@ def description(self) -> str:
if self == Publisher.XPSX_ITCH_XPSX:
return "Nasdaq PSX TotalView-ITCH"
if self == Publisher.BATS_PITCH_BATS:
return "Cboe BZX Depth Pitch"
return "Cboe BZX Depth"
if self == Publisher.BATY_PITCH_BATY:
return "Cboe BYX Depth Pitch"
return "Cboe BYX Depth"
if self == Publisher.EDGA_PITCH_EDGA:
return "Cboe EDGA Depth Pitch"
return "Cboe EDGA Depth"
if self == Publisher.EDGX_PITCH_EDGX:
return "Cboe EDGX Depth Pitch"
return "Cboe EDGX Depth"
if self == Publisher.XNYS_PILLAR_XNYS:
return "NYSE Integrated"
if self == Publisher.XCIS_PILLAR_XCIS:
Expand Down
3 changes: 1 addition & 2 deletions databento/historical/api/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ def submit_job(
The end datetime of the request time range (exclusive).
Assumes UTC as timezone unless passed a tz-aware object.
If an integer is passed, then this represents nanoseconds since the UNIX epoch.
Values are forward filled based on the resolution provided.
Defaults to the same value as `start`.
Defaults to the forward filled value of `start` based on the resolution provided.
encoding : Encoding or str {'dbn', 'csv', 'json'}, default 'dbn'
The data encoding.
compression : Compression or str {'none', 'zstd'}, default 'zstd'
Expand Down
9 changes: 3 additions & 6 deletions databento/historical/api/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,7 @@ def get_record_count(
The end datetime for the request range (exclusive).
Assumes UTC as timezone unless otherwise specified.
If an integer is passed, then this represents nanoseconds since the UNIX epoch.
Values are forward filled based on the resolution provided.
Defaults to the same value as `start`.
Defaults to the forward filled value of `start` based on the resolution provided.
symbols : Iterable[str | int] or str or int, optional
The instrument symbols to filter for. Takes up to 2,000 symbols per request.
If 'ALL_SYMBOLS' or `None` then will select **all** symbols.
Expand Down Expand Up @@ -355,8 +354,7 @@ def get_billable_size(
The end datetime for the request range (exclusive).
Assumes UTC as timezone unless otherwise specified.
If an integer is passed, then this represents nanoseconds since the UNIX epoch.
Values are forward filled based on the resolution provided.
Defaults to the same value as `start`.
Defaults to the forward filled value of `start` based on the resolution provided.
symbols : Iterable[str | int] or str, or int, optional
The instrument symbols to filter for. Takes up to 2,000 symbols per request.
If 'ALL_SYMBOLS' or `None` then will select **all** symbols.
Expand Down Expand Up @@ -425,8 +423,7 @@ def get_cost(
The end datetime for the request range (exclusive).
Assumes UTC as timezone unless otherwise specified.
If an integer is passed, then this represents nanoseconds since the UNIX epoch.
Values are forward filled based on the resolution provided.
Defaults to the same value as `start`.
Defaults to the forward filled value of `start` based on the resolution provided.
mode : FeedMode or str {'live', 'historical-streaming', 'historical'}, default 'historical-streaming'
The data feed mode for the request.
symbols : Iterable[str | int] or str or int, optional
Expand Down
6 changes: 2 additions & 4 deletions databento/historical/api/timeseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ def get_range(
The end datetime of the request time range (exclusive).
Assumes UTC as timezone unless passed a tz-aware object.
If an integer is passed, then this represents nanoseconds since the UNIX epoch.
Values are forward filled based on the resolution provided.
Defaults to the same value as `start`.
Defaults to the forward filled value of `start` based on the resolution provided.
symbols : Iterable[str | int], or str, or int, optional
The instrument symbols to filter for. Takes up to 2,000 symbols per request.
If more than 1 symbol is specified, the data is merged and sorted by time.
Expand Down Expand Up @@ -164,8 +163,7 @@ async def get_range_async(
The end datetime of the request time range (exclusive).
Assumes UTC as timezone unless passed a tz-aware object.
If an integer is passed, then this represents nanoseconds since the UNIX epoch.
Values are forward filled based on the resolution provided.
Defaults to the same value as `start`.
Defaults to the forward filled value of `start` based on the resolution provided.
symbols : Iterable[str | int] or str or int, optional
The instrument symbols to filter for. Takes up to 2,000 symbols per request.
If more than 1 symbol is specified, the data is merged and sorted by time.
Expand Down
1 change: 1 addition & 0 deletions databento/reference/api/adjustment.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def get_range(
The end datetime of the request time range (exclusive) based on `ex_date`.
Assumes UTC as timezone unless passed a tz-aware object.
If an integer is passed, then this represents nanoseconds since the UNIX epoch.
Defaults to the forward filled value of `start` based on the resolution provided.
symbols : Iterable[str] or str, optional
The symbols to filter for. Takes up to 2,000 symbols per request.
If more than 1 symbol is specified, the data is merged and sorted by time.
Expand Down
1 change: 1 addition & 0 deletions databento/reference/api/corporate.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def get_range(
The end datetime of the request time range (exclusive) based on `index`.
Assumes UTC as timezone unless passed a tz-aware object.
If an integer is passed, then this represents nanoseconds since the UNIX epoch.
Defaults to the forward filled value of `start` based on the resolution provided.
index : str, default 'event_date'
The index column used for filtering the `start` and `end` time range
and for record ordering.
Expand Down
1 change: 1 addition & 0 deletions databento/reference/api/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def get_range(
The end datetime of the request time range (exclusive) based on `index`.
Assumes UTC as timezone unless passed a tz-aware object.
If an integer is passed, then this represents nanoseconds since the UNIX epoch.
Defaults to the forward filled value of `start` based on the resolution provided.
index : str, default 'ts_effective'
The index column used for filtering the `start` and `end` time range
and for record ordering.
Expand Down
2 changes: 1 addition & 1 deletion databento/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.50.0"
__version__ = "0.51.0"
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "databento"
version = "0.50.0"
version = "0.51.0"
description = "Official Python client library for Databento"
authors = [
"Databento <support@databento.com>",
Expand Down Expand Up @@ -32,7 +32,7 @@ aiohttp = [
{version = "^3.8.3", python = "<3.12"},
{version = "^3.9.0", python = "^3.12"}
]
databento-dbn = "0.29.0"
databento-dbn = "0.31.0"
numpy = [
{version = ">=1.23.5", python = "<3.12"},
{version = ">=1.26.0", python = "^3.12"}
Expand Down