Skip to content

Commit 98779d9

Browse files
authored
VER: Release 0.56.0
2 parents 4f3a516 + 6a86cf1 commit 98779d9

5 files changed

Lines changed: 26 additions & 2 deletions

File tree

CHANGELOG.md

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

3+
## 0.56.0 - 2026-05-05
4+
5+
### Enhancements
6+
- Added `Index` `InstrumentClass` variant
7+
- Added `StatType` variants `IndicativeClosePrice` and `VenueSpecificPrice1`
8+
39
## 0.55.0 - 2026-04-28
410

511
### Enhancements

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.24..4.2)
66

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

include/databento/enums.hpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ enum InstrumentClass : char {
171171
Call = 'C',
172172
// A future.
173173
Future = 'F',
174+
// An index.
175+
Index = 'I',
174176
// A stock.
175177
Stock = 'K',
176178
// A spread composed of multiple instrument classes.
@@ -436,10 +438,17 @@ enum StatType : std::uint16_t {
436438
// date.
437439
// `quantity` will be set. `ts_ref` will indicate the trading date of the volume.
438440
BlockVolume = 19,
441+
// The probable price of the last trade of an instrument published during the trading
442+
// session. `price` will be set.
443+
IndicativeClosePrice = 20,
439444
// A venue specific volume statistic. Refer to the venue documentation for more
440445
// information.
441446
// `quantity` will be set.
442447
VenueSpecificVolume1 = 10001,
448+
// A venue specific price statistic. Refer to the venue documentation for more
449+
// information.
450+
// `price` will be set.
451+
VenueSpecificPrice1 = 10002,
443452
};
444453
} // namespace stat_type
445454
using stat_type::StatType;

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.55.0
4+
pkgver=0.56.0
55
pkgrel=1
66
pkgdesc="Official C++ client for Databento"
77
arch=('any')

src/enums.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,9 @@ const char* ToString(InstrumentClass instrument_class) {
253253
case InstrumentClass::Future: {
254254
return "Future";
255255
}
256+
case InstrumentClass::Index: {
257+
return "Index";
258+
}
256259
case InstrumentClass::Stock: {
257260
return "Stock";
258261
}
@@ -546,9 +549,15 @@ const char* ToString(StatType stat_type) {
546549
case StatType::BlockVolume: {
547550
return "BlockVolume";
548551
}
552+
case StatType::IndicativeClosePrice: {
553+
return "IndicativeClosePrice";
554+
}
549555
case StatType::VenueSpecificVolume1: {
550556
return "VenueSpecificVolume1";
551557
}
558+
case StatType::VenueSpecificPrice1: {
559+
return "VenueSpecificPrice1";
560+
}
552561
default: {
553562
return "Unknown";
554563
}

0 commit comments

Comments
 (0)