Commit 7d98596 Jack Culhane
committed
1 parent 3b5f748 commit 7d98596 Copy full SHA for 7d98596
File tree 3 files changed +27
-0
lines changed
3 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## 0.25.0 - TBD
4
4
5
+ ### Enhancements
6
+ - Added new IntelligentCross venues ` ASPN ` , ` ASMT ` , and ` ASPI `
7
+
5
8
### Deprecations
6
9
- Deprecated ` Packaging ` enum and ` packaging ` field on ` BatchJob ` . These will be
7
10
removed in a future version. All files from a batch job can be downloaded with the
Original file line number Diff line number Diff line change @@ -93,6 +93,12 @@ enum class Venue : std::uint16_t {
93
93
Ltse = 42 ,
94
94
// Off-Exchange Transactions - Listed Instruments
95
95
Xoff = 43 ,
96
+ // IntelligentCross ASPEN Intelligent Bid/Offer
97
+ Aspn = 44 ,
98
+ // IntelligentCross ASPEN Maker/Taker
99
+ Asmt = 45 ,
100
+ // IntelligentCross ASPEN Inverted
101
+ Aspi = 46 ,
96
102
};
97
103
98
104
// A source of data.
Original file line number Diff line number Diff line change @@ -140,6 +140,15 @@ const char* ToString(Venue venue) {
140
140
case Venue::Xoff: {
141
141
return " XOFF" ;
142
142
}
143
+ case Venue::Aspn: {
144
+ return " ASPN" ;
145
+ }
146
+ case Venue::Asmt: {
147
+ return " ASMT" ;
148
+ }
149
+ case Venue::Aspi: {
150
+ return " ASPI" ;
151
+ }
143
152
default : {
144
153
return " Unknown" ;
145
154
}
@@ -282,6 +291,15 @@ Venue FromString(const std::string& str) {
282
291
if (str == " XOFF" ) {
283
292
return Venue::Xoff;
284
293
}
294
+ if (str == " ASPN" ) {
295
+ return Venue::Aspn;
296
+ }
297
+ if (str == " ASMT" ) {
298
+ return Venue::Asmt;
299
+ }
300
+ if (str == " ASPI" ) {
301
+ return Venue::Aspi;
302
+ }
285
303
throw InvalidArgumentError{" FromString<Venue>" , " str" ,
286
304
" unknown value '" + str + ' \' ' };
287
305
}
You can’t perform that action at this time.
0 commit comments