Skip to content

Commit b8f80d1

Browse files
ADD: Add new stat type for auction uncrossing
1 parent 246e14d commit b8f80d1

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

CHANGELOG.md

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

3+
## 0.19.0 - TBD
4+
5+
### Enhancements
6+
- Added new `UncrossingPrice` `StatType` variant
7+
38
## 0.18.1 - 2024-05-22
49

510
### Enhancements

include/databento/enums.hpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ namespace stat_type {
232232
// The type of statistic contained in a StatMsg.
233233
enum StatType : std::uint16_t {
234234
// The price of the first trade of an instrument. `price` will be set.
235+
// `quantity` will be set when provided by the venue.
235236
OpeningPrice = 1,
236237
// The probable price of the first trade of an instrument published during
237238
// pre-open. Both `price` and `quantity` will be set.
@@ -265,6 +266,7 @@ enum StatType : std::uint16_t {
265266
// be set.
266267
FixingPrice = 10,
267268
// The last trade price during a trading session. `price` will be set.
269+
// `quantity` will be set when provided by the venue.
268270
ClosePrice = 11,
269271
// The change in price from the close price of the previous trading session to
270272
// the most recent trading session. `price` will be set.
@@ -279,6 +281,12 @@ enum StatType : std::uint16_t {
279281
// The option delta associated with the settlement price. `price` will be set
280282
// with the standard precision.
281283
Delta = 15,
284+
// The auction uncrossing price. This is used for auctions that are neither
285+
// the
286+
// official opening auction nor the official closing auction. `price` will be
287+
// set. `quantity` will be set when provided by the venue.
288+
UncrossingPrice = 16,
289+
282290
};
283291
} // namespace stat_type
284292
using stat_type::StatType;

0 commit comments

Comments
 (0)