Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VER: Release 0.44.0 #77

Merged
merged 4 commits into from
Oct 23, 2024
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
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.44.0 - 2024-10-22

#### Enhancements
- Removed deprecated `databento.from_dbn`; `databento.read_dbn` can be used instead
- Upgraded `databento-dbn` to 0.23.0

#### Bug fixes
- Fixed an issue where `DBNStore.request_symbology` could request the wrong end date

## 0.43.1 - 2024-10-15

#### 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.22.1"
- databento-dbn = "0.23.0"
- numpy= ">=1.23.5"
- pandas = ">=1.5.3"
- pip-system-certs = ">=4.0" (Windows only)
Expand Down
2 changes: 0 additions & 2 deletions databento/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
from databento.common.publishers import Venue
from databento.common.symbology import InstrumentMap
from databento.common.types import DBNRecord
from databento.common.validation import deprecated
from databento.historical.client import Historical
from databento.live.client import Live
from databento.reference.client import Reference
Expand Down Expand Up @@ -110,7 +109,6 @@

# Convenience imports
enable_logging = bentologging.enable_logging
from_dbn = deprecated("databento.from_dbn")(DBNStore.from_file)
read_dbn = DBNStore.from_file
map_symbols_csv = symbology.map_symbols_csv
map_symbols_json = symbology.map_symbols_json
4 changes: 1 addition & 3 deletions databento/common/dbnstore.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,10 +771,8 @@ def request_symbology(self, client: Historical) -> dict[str, Any]:
"""
if self.end is None:
end_date = None
elif self.start.date() == self.end.date():
end_date = (self.start + pd.Timedelta(days=1)).date()
else:
end_date = self.end
end_date = self.end.ceil(freq="D").date()

return client.symbology.resolve(
dataset=self.dataset,
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.43.1"
__version__ = "0.44.0"
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "databento"
version = "0.43.1"
version = "0.44.0"
description = "Official Python client library for Databento"
authors = [
"Databento <[email protected]>",
Expand All @@ -27,12 +27,12 @@ repository = "https://github.com/databento/databento-python"
"Bug Tracker" = "https://github.com/databento/databento-python/issues"

[tool.poetry.dependencies]
python = "^3.9"
python = ">=3.9,<3.13"
aiohttp = [
{version = "^3.8.3", python = "<3.12"},
{version = "^3.9.0", python = "^3.12"}
]
databento-dbn = "0.22.1"
databento-dbn = "0.23.0"
numpy = [
{version = ">=1.23.5", python = "<3.12"},
{version = ">=1.26.0", python = "^3.12"}
Expand Down
Binary file added tests/data/GLBX.MDP3/test_data.bbo-1m.dbn.zst
Binary file not shown.
Binary file added tests/data/GLBX.MDP3/test_data.bbo-1s.dbn.zst
Binary file not shown.
Loading