Releases: databento/databento-python
Releases · databento/databento-python
databento 0.34.0
Release notes
Enhancements
- Added
pip-system-certsdependency for Windows platforms to prevent a connection issue inrequestswhen behind a proxy - Iteration of the
Liveclient will now automatically callLive.stopwhen the iterator is destroyed, such as when a for loop is escaped with an exception orbreakstatement.
Bug fixes
- Fixed an issue where
batch.downloadandbatch.download_asyncwould fail if requested files already existed in the output directory - Fixed an issue where
batch.download,batch.download_async, andtimeseries.get_rangecould use a lot of memory while streaming data - Fixed an issue where reusing a
Liveclient with an open output stream would drop DBN records when received at the same time as theMetadataheader
databento 0.33.0
Release notes
Enhancements
- The
Historical.batch.downloadandHistorical.batch.download_asyncmethods will now automatically retry the download if a rate limit (HTTP 429) error is received - The
Historical.batch.downloadandHistorical.batch.download_asyncmethods will now retry failed downloads automatically - The
Historical.batch.downloadandHistorical.batch.download_asyncmethods will now download files concurrently - The
output_dirparameter forHistorical.batch.downloadandHistorical.batch.download_asyncis now optional and will default to the current working directory if unspecified
Breaking changes
- The
enable_partial_downloadsparameter forHistorical.batch.downloadandHistorical.batch.download_asynchas been removed, partial files will always be resumed which was the default behavior - The parameters for
Historical.batch.downloadandHistorical.batch.download_asynchave been reordered becauseoutput_diris now optional,job_idnow comes first
databento 0.32.0
Release notes
Enhancements
- Improved exception messages when multiple
ErrorMsgare received by theLiveclient - Upgraded
databento-dbnto 0.17.1
Bug fixes
- Removed live session ID parsing to
int, that could cause a session to fail when
nothing was wrong
Breaking changes
- Renamed publishers from deprecated datasets to their respective sources (
XNAS.NLS
andXNYS.TRADESrespectively)
Deprecations
- Deprecated dataset values
FINN.NLSandFINY.TRADES
databento 0.31.1
Release notes
Enhancements
- Increase
Livesession connection and authentication timeouts - Added new
F_TOBandF_MAYBE_BAD_BOOKvariants toRecordFlags
Bug fixes
- Fixed an issue where calling
Live.subscribefrom aLiveclient callback would cause a deadlock
databento 0.31.0
Release notes
Enhancements
- Added
DBNStore.insert_symbology_jsonconvenience method for adding symbology data from a JSON dict or file path - Upgraded
databento-dbnto 0.16.0
databento 0.30.0
Release notes
Enhancements
- Changed how
SymbolMappingMsgobjects are ingested byInstrumentMapto single source the timestamp parsing from thedatabento-dbnpackage
Bug fixes
- Fixed an issue where setting a timezone in
DBNStore.to_dfcould cause invalid symbol mappings
Breaking changes
- Changed
Live.add_streamto use the exclusive write mode when handling file paths so existing files won't be overwritten
databento 0.29.0
Release notes
Enhancements
- Added
tzparameter toDBNStore.to_dfwhich will convert all timestamp fields from UTC to a specified timezone when used withpretty_ts
Bug fixes
Live.block_for_closeandLive.wait_for_closewill now callLive.stopwhen a timeout is reached instead ofLive.terminateto close the stream more gracefully
databento 0.28.0
Release notes
Enhancements
- Substantially increased iteration queue size
- Added methods
DBNQueue.enableandDBNQueue.disablefor controlling queue consumption - Added method
DBNQueue.is_enabledto signal the queue can accept records - Added method
DBNQueue.is_fullto signal the queue has reached capacity - Added enabled checks to
DBNQueue.putandDBNQueue.put_nowait
Breaking changes
- Iterating a
Liveclient after the streaming session has started will now raise aValueError. CallingLive.startis not necessary when iterating theLiveclient - Moved constant
databento.live.client.DEFAULT_QUEUE_SIZEtodatabento.live.session.DBN_QUEUE_CAPACITY - Removed
maxsizeparameter fromDBNQueueconstructor.DBNQueuenow subclassesSimpleQueueinstead - Removed property
DBNQueue.enabled, useDBNQueue.is_enabledinstead - Removed method
DBNQueue.is_half_full, useDBNQueue.is_fullinstead
Bug fixes
- Fixed an issue where DBN records could be dropped while iterating
- Fixed an issue where async iteration would block the event loop
databento 0.27.0
Release notes
Enhancements
- Added
Session.session_idproperty which will contain the numerical session ID once a live session has been authenticated - Upgraded
databento-dbnto 0.15.1
Breaking changes
- Renamed
DatabentoLiveProtocol.startedtoDatabentoLiveProtocol.is_startedwhich now returns a bool instead of anasyncio.Event
Bug fixes
- Fixed an issue where an error message from the live gateway would not properly raise an exception if the connection closed before
Live.startwas called
databento 0.26.0
Release notes
This release adds support for transcoding DBN data into Apache parquet.
Enhancements
- Added
DBNStore.to_parquetfor transcoding DBN data into Apache parquet usingpyarrow - Upgraded
databento-dbnto 0.15.0