Skip to content

Commit 680debb

Browse files
authored
VER: Release 0.46.0
2 parents 8104d83 + d212856 commit 680debb

9 files changed

Lines changed: 55 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## 0.46.0 - 2026-01-20
4+
5+
### Enhancements
6+
- Added new off-market publisher for Cboe Futures Exchange (`XCBF_PITCH_XOFF`)
7+
- Added new `StatType` variants to be used by `XCBF.PITCH` dataset:
8+
- `UpperPriceLimit`
9+
- `LowerPriceLimit`
10+
- `BlockVolume`
11+
- `VenueSpecificVolume1`
12+
313
## 0.45.0 - 2025-12-10
414

515
### Enhancements

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
cmake_minimum_required(VERSION 3.24..4.0)
1+
cmake_minimum_required(VERSION 3.24..4.2)
22

33
#
44
# Project details
55
#
66

77
project(
88
databento
9-
VERSION 0.45.0
9+
VERSION 0.46.0
1010
LANGUAGES CXX
1111
DESCRIPTION "Official Databento client library"
1212
)

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ representative at an online or offline event.
6060

6161
Instances of abusive, harassing, or otherwise unacceptable behavior may be
6262
reported to the community leaders responsible for enforcement at
63-
info@nautechsystems.io.
63+
support@databento.com.
6464
All complaints will be reviewed and investigated promptly and fairly.
6565

6666
All community leaders are obligated to respect the privacy and security of the

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ include(FetchContent)
2626
FetchContent_Declare(
2727
databento
2828
GIT_REPOSITORY https://github.com/databento/databento-cpp
29-
GIT_TAG HEAD
29+
GIT_TAG main
3030
)
3131
FetchContent_MakeAvailable(databento)
3232

include/databento/enums.hpp

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,20 @@ enum StatType : std::uint16_t {
416416
// official opening auction nor the official closing auction. `price` will be set.
417417
// `quantity` will be set when provided by the venue.
418418
UncrossingPrice = 16,
419+
// The exchange defined upper price limit. `price` will be set with the standard
420+
// precision.
421+
UpperPriceLimit = 17,
422+
// The exchange defined lower price limit. `price` will be set with the standard
423+
// precision.
424+
LowerPriceLimit = 18,
425+
// The number of Block contracts cleared for an instrument on the previous trading
426+
// date.
427+
// `quantity` will be set. `ts_ref` will indicate the trading date of the volume.
428+
BlockVolume = 19,
429+
// A venue specific volume statistic. Refer to the venue documentation for more
430+
// information.
431+
// `quantity` will be set.
432+
VenueSpecificVolume1 = 10001,
419433
};
420434
} // namespace stat_type
421435
using stat_type::StatType;

include/databento/publishers.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,8 @@ enum class Publisher : std::uint16_t {
409409
XeeeEobiXoff = 104,
410410
// Cboe Futures Exchange
411411
XcbfPitchXcbf = 105,
412+
// Cboe Futures Exchange - Off-Market Trades
413+
XcbfPitchXoff = 106,
412414
};
413415

414416
// Get a Publisher's Venue.

pkg/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Maintainer: Databento <support@databento.com>
22
_pkgname=databento-cpp
33
pkgname=databento-cpp-git
4-
pkgver=0.45.0
4+
pkgver=0.46.0
55
pkgrel=1
66
pkgdesc="Official C++ client for Databento"
77
arch=('any')

src/enums.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,18 @@ const char* ToString(StatType stat_type) {
520520
case StatType::UncrossingPrice: {
521521
return "UncrossingPrice";
522522
}
523+
case StatType::UpperPriceLimit: {
524+
return "UpperPriceLimit";
525+
}
526+
case StatType::LowerPriceLimit: {
527+
return "LowerPriceLimit";
528+
}
529+
case StatType::BlockVolume: {
530+
return "BlockVolume";
531+
}
532+
case StatType::VenueSpecificVolume1: {
533+
return "VenueSpecificVolume1";
534+
}
523535
default: {
524536
return "Unknown";
525537
}

src/publishers.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -916,6 +916,9 @@ Venue PublisherVenue(Publisher publisher) {
916916
case Publisher::XcbfPitchXcbf: {
917917
return Venue::Xcbf;
918918
}
919+
case Publisher::XcbfPitchXoff: {
920+
return Venue::Xoff;
921+
}
919922
default: {
920923
throw InvalidArgumentError{
921924
"PublisherVenue", "publisher",
@@ -1241,6 +1244,9 @@ Dataset PublisherDataset(Publisher publisher) {
12411244
case Publisher::XcbfPitchXcbf: {
12421245
return Dataset::XcbfPitch;
12431246
}
1247+
case Publisher::XcbfPitchXoff: {
1248+
return Dataset::XcbfPitch;
1249+
}
12441250
default: {
12451251
throw InvalidArgumentError{
12461252
"PublisherDataset", "publisher",
@@ -1567,6 +1573,9 @@ const char* ToString(Publisher publisher) {
15671573
case Publisher::XcbfPitchXcbf: {
15681574
return "XCBF.PITCH.XCBF";
15691575
}
1576+
case Publisher::XcbfPitchXoff: {
1577+
return "XCBF.PITCH.XOFF";
1578+
}
15701579
default: {
15711580
return "Unknown";
15721581
}
@@ -1895,6 +1904,9 @@ Publisher FromString(const std::string& str) {
18951904
if (str == "XCBF.PITCH.XCBF") {
18961905
return Publisher::XcbfPitchXcbf;
18971906
}
1907+
if (str == "XCBF.PITCH.XOFF") {
1908+
return Publisher::XcbfPitchXoff;
1909+
}
18981910
throw InvalidArgumentError{"FromString<Publisher>", "str",
18991911
"unknown value '" + str + '\''};
19001912
}

0 commit comments

Comments
 (0)