Releases: databento/databento-python
Releases · databento/databento-python
databento 0.66.0
Release notes
Enhancements
- Added a property
Live.session_idwhich returns the streaming session ID when the client is connected - Streams added with
Live.add_stream()which do not define an exception handler will now emit a warning if an exception is raised while executing the callback - Callback functions added with
Live.add_callback()which do not define an exception handler will now emit a warning if an exception is raised while executing the callback - Upgraded
databento-dbnto 0.44.0- Added logic to set
codewhen upgrading version 1SystemMsgto newer versions
- Added logic to set
Bug fixes
- Streams opened by
Live.add_stream()will now close properly when the streaming session is closed
databento 0.65.0
Release notes
Deprecations
- Deprecated
modeparameter inmetadata.get_cost, which will be removed in a future release
Enhancements
- Added export of
CBBOMsgandBBOMsgfromdatabento_dbnto the rootdatabentopackage - Upgraded
databento-dbnto 0.43.0- Added export of
F_PUBLISHER_SPECIFICconstant to Python - Added explicit
Unsetvariant forSystemCodeandErrorCode - Changed Python getters for enum fields to return the underlying type when no known variant can be found. As a result, these getters no longer raise an exception
- Added export of
Breaking changes
- Removed support for Python 3.9 due to end of life
databento 0.64.0
Release notes
Enhancements
- Upgraded
databento-dbnto 0.42.0- Added
ts_indexandpretty_ts_indexproperties for records in Python which provides the timestamp that is most appropriate for indexing - Fixed type stub for
channel_idto allow None
- Added
Bug fixes
- Fixed type hint for
startparameter inLive.subscribe()
databento 0.63.0
Release notes
Enhancements
- Upgraded
databento-dbnto 0.41.0
Bug fixes
- Fixed an issue where calling
Live.stop()would not clean up the client state once the socket is closed
databento 0.62.0
Release notes
This release delivers a number of breaking changes to the Python interface for DBN records to provide a cleaner and more consistent API.
Breaking changes
- Removed
bill_idfrom the response ofbatch.list_jobs()andbatch.submit_job() - Upgraded
databento-dbnto 0.40.0- Removed
hdproperty from records in Python. Header fields are accessible
directly from the record - Removed ability to directly instantiate most enums from an
intin Python and coercion
fromintin__eq__. They can still be instantitated with thefrom_intclass method.
WriteSide.from_int(66)instead ofSide(66)andSide.BID == Side.from_int(66)
instead ofSide.BID == 66. Affected enums:SideActionInstrumentClassMatchAlgorithmUserDefinedInstrumentSecurityUpdateActionSTypeSchemaEncodingCompressionTriState
- Removed string coercion in
__init__and__eq__forRType,SystemCode, and
ErrorCodeenums in Python. It can still be instantiated from astrwith the
from_strclass method. WriteRType.from_str("mbo")instead ofRType("mbo")
andRType.TRADES == RType.from_str("trades")instead ofRType.TRADES == "trades"
- Removed
Enhancements
- Added
END_OF_INTERVALvariant toSystemCodeenum
databento 0.61.0
Release notes
Breaking changes
- Modified the
statesparameter inbatch.list_jobs()
Enhancements
- Added
JobStateenum - Added export of
SystemCodeandErrorCodefromdatabento_dbnto the rootdatabentopackage - Added
F_PUBLISHER_SPECIFICflag toRecordFlagsenum
Bug fixes
- Bumped the minimum version requirement for
requeststo 0.27.0
databento 0.60.0
Release notes
Enhancements
- Added
parquet_schemaoption toDBNStore.to_parquet()for overriding the pyarrow schema. - Upgraded
databento-dbnto 0.39.0- Added
side()andunpaired_side()methods toImbalanceMsgthat convert the fields
of the same name to theSideenum - Added
pretty_auction_timeproperty in Python forImbalanceMsg - Added
actionandts_in_deltagetters toBboMsg - Added
ts_recvgetter toStatusMsg - Added missing floating-point price getters to
InstrumentDefMsgrecord types from all
DBN versions - Added more floating-point price getters to
ImbalanceMsg - Added floating-point price getter to
StatMsg - Standardize Python
__init__type signatures - Changed
auction_timefield inImbalanceMsgto be formatted as a timestamp - Fixed a regression where some enum constructors no longer raised a
DBNErrorin
Python
- Added
Bug fixes
- Removed unused
S3andDiskvariants fromDeliveryenum
databento 0.59.0
Release notes
Enhancements
- Upgraded
databento-dbnto 0.37.1- Fix buffer growth in
DbnFsm::write_all(), which is used byDBNDecoder.write()
- Fix buffer growth in
Breaking changes
- Renamed the following Venue, Dataset, and Publishers:
XEERtoXEEEXEER.EOBItoXEEE.EOBIXEER.EOBI.XEERtoXEEE.EOBI.XEEEXEER.EOBI.XOFFtoXEEE.EOBI.XOFF
databento 0.58.0
Release notes
Enhancements
- Changed the
tzparameter inDBNStore.to_df()to acceptdatetime.tzinfoinstead ofpytz.BaseTzInfoexplicitly - Modified the dependency specification for
databento_dbnto allow for compatible patch versions - Upgraded
databento-dbnto 0.36.2- Fixed change in behavior where Python
DBNDecoder.decode()wouldn't always decode all available data on the first call
- Fixed change in behavior where Python
databento 0.57.1
Release notes
Enhancements
- Changed the following Venue, Publisher, and Dataset descriptions:
- "ICE Futures Europe (Financials)" renamed to "ICE Europe Financials"
- "ICE Futures Europe (Commodities)" renamed to "ICE Europe Commodities"
- Upgraded
databento-dbnto 0.36.1- Fixed setting of ts_out property of DbnFsm based on decoded metadata. This
was preventing ts_out from being correctly decoded in the Python DBNDecoder - Fixed decoding of
ts_outwith first records in DBNDecoder
- Fixed setting of ts_out property of DbnFsm based on decoded metadata. This
Bug fixes
- Fixed an issue where DBN records from the Live client where not having their
ts_outpopulated