Releases: databento/databento-cpp
Releases · databento/databento-cpp
0.22.0
Release notes
Enhancements
- Added
Intraday
variant toDatasetCondition
in preparation for intraday data being
available from the historical API - Renamed
example
directory toexamples
- Renamed
test
directory totests
- Added new publisher values for
XCIS.BBOTRADES
andXNYS.BBOTRADES
Breaking changes
- Removed previously deprecated
DatasetCondition::Bad
variant
0.21.0
Release notes
Enhancements
- Added new publisher value for
DBEQ.SUMMARY
Breaking changes
- Renamed
SType::Nasdaq
variant toSType::NasdaqSymbol
- Renamed
SType::Cms
variant toSType::CmsSymbol
Bug fixes
- Added missing
ToString
andFromString
branches forSType::NasdaqSymbol
and
SType::CmsSymbol
- Removed
has_header_v
variable template that broke C++11 compatibility
0.20.1
Release notes
Enhancements
- Improved installation with
CMake
: license is now installed, transitive dependencies are configured
when importing package
0.20.0
Release notes
This release adds support for encoding DBN within the C++ client.
It also improves historical symbology support with the new TsSymbolMap
class that
handles mapping historical records to a text symbol. To support this class, several types
for date fields were changed from strings or ints to date::year_month_day
.
Enhancements
- Added
TsSymbolMap
to support historical symbology where mappings change between days - Added
DbnEncoder
class for encoding DBN data - Added blocking API similar to
LiveBlocking
toDbnFileStore
with newGetMetadata
andNextRecord
methods - Added
BboMsg
record struct for futurebbo-1m
andbbo-1s
schemas - Added
PitSymbol
map constructor fromMetadata
and adate::year_month_day
- Added
Metadata::CreateSymbolMap
andMetadata::CreateSymbolMapForDate
methods for
creating symbology maps from historical metadata - Added blocking API similar to
LiveBlocking
toDbnFileStore
- Added
SymbologyResolution::CreateSymbolMap
method for creating a symbology map from
a symbology resolution response - Added
InFileStream
andOutFileStream
helper classes for reading and writing binary
output respectively
Breaking changes
- Added new dependency on Howard Hinnant's date library
- Added
ILogReceiver*
parameter to allDbnDecoder
constructors and oneDbnFileStore
constructor - Removed type
StrMappingInterval
.MappingInterval
is now also used inSymbologyResolution
. - Changed
Bbo1sMsg
andBbo1mMsg
to be aliases forBboMsg
- Changed type of
start_date
andend_date
inMappingInterval
todate::year_month_day
- Added
stype_in
andstype_out
fields toSymbologyResolution
to support creating
aTsSymbolMap
0.19.1
Release notes
Enhancements
- Added
Upgrade()
method toMetadata
to update the metadata fields according to a
VersionUpgradePolicy
- Added new publisher values for
XNAS.BASIC
andXNAS.NLS
Bug fixes
- Fixed issue where
Metadata
wasn't upgraded when passing
VersionUpgradePolicy::Upgrade
0.19.0
Release notes
Enhancements
- Added configurable
heartbeat_interval
parameter for live clients that determines the
timeout before heartbeatSystemMsg
records will be sent. It can be configured via
theSetHeartbeatInterval
method of theLiveBuilder
- Added
SetAddress
method toLiveBuilder
for configuring a custom gateway address
without using the constructor directly - Added new
UncrossingPrice
StatType
variant - Added new publisher values for
XNAS.BASIC
- Added
SetDataset(Dataset)
overload toLiveBuilder
- Added new off-market publisher values for
IFEU.IMPACT
andNDEX.IMPACT
Breaking changes
- Added
heartbeat_interval
parameter to theLive
constructors - Removed
start_date
andend_date
fields fromDatasetRange
struct
in favor ofstart
andend
- Removed live
Subscribe
method overloads withuse_snapshot
parameter in favor of separateSubscribeWithSnapshot
method
Bug fixes
- Fixed overloading of live
Subscribe
methods - Fixed live subscribing with default-constructed
UnixNanos
- Fixed descriptions for
FINN
andFINY
publishers.
0.18.1
Release notes
Enhancements
- Added live
Subscribe
function overload withuse_snapshot
parameter - Added
GetIf
method toRecord
that allowsif
chaining for handling multiple
record types - Added record type checking to
Record::Get
method to catch programming errors
and prevent reading invalid data
Bug fixes
- Added missing symbol chunking for live
Subscribe
overloads withconst std::string&
start
parameter
0.18.0
Release notes
Breaking changes
- Changed
FlagSet
to be more class-like:- Added predicate methods and setters for each bit flag
- Improved string formatting
- Removed bitwise operators. Bitwise operations can be performed by first casting to a
std::uint8_t
or calling theRaw()
method
- Changed format of
display_factor
andprice_ratio
to a fixed-precision decimal for
InstrumentDefMsg
andInstrumentDefMsgV1
to match existing values and DBN crate - Changed format of
unit_of_measure_qty
to a fixed-precision decimal for
InstrumentDefMsgV1
to matchInstrumentDefMsg
0.17.1
0.17.0
Release notes
Enhancements
- Added
StatusMsg
record, andStatusAction
,StatusReason
,TradingEvent
, and
TriState
enums - Added
CbboMsg
record and correspondingConsolidatedBidAskPair
structure - Added new enum values for
Schema
andRType
corresponding to new schemas
cbbo
,cbbo-1s
,cbbo-1m
,tcbbo
,bbo-1s
,bbo-1m
- Added
Volatility
andDelta
StatType
variants - Added
Undefined
andTimeProRata
MatchAlgorithm
variants - Changed format of
unit_of_measure_qty
to a fixed-precision decimal - Added logic to skip
find_package
call ifnlohmann_json
andhttplib
targets
already exist (credit: @akovachev) - Added specific instructions for installing dependencies on Ubuntu and macOS (credit: @camrongodbout)
Breaking changes
- Renamed publishers from deprecated datasets to their respective sources (
XNAS.NLS
andXNYS.TRADES
respectively)
Deprecations
- Deprecated dataset values
FINN.NLS
andFINY.TRADES
Bug fixes
- Fixed out-of-order initialization in
DbnDecoder
(credit: @Hailios) - Renamed
MatchAlgorithm::EurodollarOptions
toMatchAlgorithm::EurodollarFutures