Releases: databento/databento-python
Releases · databento/databento-python
databento 0.63.0
Release notes
Enhancements
- Upgraded
databento-dbn
to 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_id
from the response ofbatch.list_jobs()
andbatch.submit_job()
- Upgraded
databento-dbn
to 0.40.0- Removed
hd
property from records in Python. Header fields are accessible
directly from the record - Removed ability to directly instantiate most enums from an
int
in Python and coercion
fromint
in__eq__
. They can still be instantitated with thefrom_int
class method.
WriteSide.from_int(66)
instead ofSide(66)
andSide.BID == Side.from_int(66)
instead ofSide.BID == 66
. Affected enums:Side
Action
InstrumentClass
MatchAlgorithm
UserDefinedInstrument
SecurityUpdateAction
SType
Schema
Encoding
Compression
TriState
- Removed string coercion in
__init__
and__eq__
forRType
,SystemCode
, and
ErrorCode
enums in Python. It can still be instantiated from astr
with the
from_str
class method. WriteRType.from_str("mbo")
instead ofRType("mbo")
andRType.TRADES == RType.from_str("trades")
instead ofRType.TRADES == "trades"
- Removed
Enhancements
- Added
END_OF_INTERVAL
variant toSystemCode
enum
databento 0.61.0
Release notes
Breaking changes
- Modified the
states
parameter inbatch.list_jobs()
Enhancements
- Added
JobState
enum - Added export of
SystemCode
andErrorCode
fromdatabento_dbn
to the rootdatabento
package - Added
F_PUBLISHER_SPECIFIC
flag toRecordFlags
enum
Bug fixes
- Bumped the minimum version requirement for
requests
to 0.27.0
databento 0.60.0
Release notes
Enhancements
- Added
parquet_schema
option toDBNStore.to_parquet()
for overriding the pyarrow schema. - Upgraded
databento-dbn
to 0.39.0- Added
side()
andunpaired_side()
methods toImbalanceMsg
that convert the fields
of the same name to theSide
enum - Added
pretty_auction_time
property in Python forImbalanceMsg
- Added
action
andts_in_delta
getters toBboMsg
- Added
ts_recv
getter toStatusMsg
- Added missing floating-point price getters to
InstrumentDefMsg
record 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_time
field inImbalanceMsg
to be formatted as a timestamp - Fixed a regression where some enum constructors no longer raised a
DBNError
in
Python
- Added
Bug fixes
- Removed unused
S3
andDisk
variants fromDelivery
enum
databento 0.59.0
Release notes
Enhancements
- Upgraded
databento-dbn
to 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:
XEER
toXEEE
XEER.EOBI
toXEEE.EOBI
XEER.EOBI.XEER
toXEEE.EOBI.XEEE
XEER.EOBI.XOFF
toXEEE.EOBI.XOFF
databento 0.58.0
Release notes
Enhancements
- Changed the
tz
parameter inDBNStore.to_df()
to acceptdatetime.tzinfo
instead ofpytz.BaseTzInfo
explicitly - Modified the dependency specification for
databento_dbn
to allow for compatible patch versions - Upgraded
databento-dbn
to 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-dbn
to 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_out
with 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_out
populated
databento 0.57.0
Release notes
Enhancements
- Upgraded
databento-dbn
to 0.36.0- Added missing Python type stubs for several leg properties of
InstrumentDefMsg
- Added missing Python type stubs for several leg properties of
Bug fixes
- Fixed an issue where the zstandard frame size could limit the size of
DataFrame
objects returned byDBNStore.to_df()
when acount
was specified
Deprecations
- Deprecated
int
andpd.Timestamp
types forstart_date
andend_date
parameters which will be removed in a future release
databento 0.56.0
Release notes
Breaking changes
- Updated the names of several subfields in the
Reference.corporate_actions.get_range(...)
response,
under thedate_info
,event_info
, andrate_info
fields. The following subfields were renamed:decl_currency
renamed todeclared_currency
decl_gross_amount
renamed todeclared_gross_amount
f_x_rate
renamed tofx_rate
iss_new_name
renamed toissuer_new_name
iss_old_name
renamed toissuer_old_name
new_bbg_company_id
renamed tonew_bbg_comp_id
new_bbg_company_tk
renamed tonew_bbg_comp_ticker
new_bbg_exh_id
renamed tonew_figi
new_bbg_exh_tk
renamed tonew_figi_ticker
new_min_tra_qty
renamed tonew_min_trading_qty
new_mktsg_id
renamed tonew_market_segment_id
new_reg_s144_a
renamed tonew_reg_s144a
new_unit_sec_id
renamed tonew_unit_security_id
offeree_iss_id
renamed toofferee_issuer_id
offeror_iss_id
renamed toofferor_issuer_id
old_bbg_company_id
renamed toold_bbg_comp_id
old_bbg_company_tk
renamed toold_bbg_comp_ticker
old_bbg_exh_id
renamed toold_figi
old_bbg_exh_tk
renamed toold_figi_ticker
old_min_tra_qty
renamed toold_min_trading_qty
old_mktsg_id
renamed toold_market_segment_id
old_reg_s144_a
renamed toold_reg_s144a
old_unit_sec_id
renamed toold_unit_security_id
pp_sec_id
renamed topp_security_id
poolfactor
renamed topool_factor
pre_offer_q_ty
renamed topre_offer_qty
qual_st_cap_gains
renamed toqual_short_term_cap_gains
redem_percentage
renamed toredemption_percentage
st_cap_gains
renamed toshort_term_cap_gains
sec_new_name
renamed tosecurity_new_name
sec_old_name
renamed tosecurity_old_name
section199_a_foreign_tax_paid
renamed tosection199a_foreign_tax_paid
section199_a_inc_div
renamed tosection199a_inc_div
section199_a_st_cap_gain
renamed tosection199a_short_term_cap_gain
tra_isin
renamed totrading_isin
tra_sec_id
renamed totrading_security_id
us_deposit_receiptateto_currency
renamed tousd_rate_to_currency
cashbak
renamed tocash_back
companyulsory_acq_date
renamed tocompulsory_acq_date
frankdiv
renamed tofranked_div
lead_plntiff_deadline_date
renamed tolead_plaintiff_deadline_date
maxprice
renamed tomax_price
minprice
renamed tomin_price
redem_premium
renamed toredemption_premium
redem_price
renamed toredemption_price
unit_frankdiv
renamed tounfranked_div
Enhancements
- Upgraded
databento-dbn
to 0.35.1
databento 0.55.1
Release notes
Bug fixes
- Fixed decoding of DBN versions 1 and 2 statistics in
DBNStore.to_df()