Commit 53503bb 1 parent 06785e9 commit 53503bb Copy full SHA for 53503bb
File tree 3 files changed +18
-0
lines changed
3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 6
6
- Changed default ` upgrade_policy ` to ` Upgrade ` so by default the primary record types
7
7
can always be used
8
8
9
+ ##### Bug fixes
10
+ - Added missing ` StatType::Vwap ` variant used in the ICE datasets
11
+ - Added missing ` ToString ` and ` operator<< ` handling for ` StatType::ClosePrice ` and
12
+ ` StatType::NetChange `
13
+
9
14
## 0.15.0 - 2024-01-16
10
15
11
16
### Breaking changes
Original file line number Diff line number Diff line change @@ -254,6 +254,10 @@ enum StatType : std::uint16_t {
254
254
// The change in price from the close price of the previous trading session to
255
255
// the most recent trading session. `price` will be set.
256
256
NetChange = 12 ,
257
+ // / The volume-weighted average price (VWAP) during the trading session.
258
+ // / `price` will be set to the VWAP while `quantity` will be the traded
259
+ // / volume.
260
+ Vwap = 13 ,
257
261
};
258
262
} // namespace stat_type
259
263
using stat_type::StatType;
Original file line number Diff line number Diff line change @@ -462,6 +462,15 @@ const char* ToString(StatType stat_type) {
462
462
case StatType::FixingPrice: {
463
463
return " FixingPrice" ;
464
464
}
465
+ case StatType::ClosePrice: {
466
+ return " ClosePrice" ;
467
+ }
468
+ case StatType::NetChange: {
469
+ return " NetChange" ;
470
+ }
471
+ case StatType::Vwap: {
472
+ return " Vwap" ;
473
+ }
465
474
default : {
466
475
return " Unknown" ;
467
476
}
You can’t perform that action at this time.
0 commit comments