Merge branch 'vwap' of bitbucket.org:bluetradesys/spark into vwap

This commit is contained in:
Kevin Darby committed 2020-02-19 14:18:59 -05:00
commit 49342e30dd
2 files changed
+4

No files matched your search

+2
View File
@@ -74,6 +74,7 @@ message OrderDefinition {
OrderSubType sub_type = 12;
uint32 attach_target_order_key = 16;
CustomOrderDefinition custom_def = 11;
string external_order_id = 20;
}
message CustomOrderDefinition
@@ -392,6 +393,7 @@ message OrderState {
HIDDEN = 1;
}
DisplayStatus display_status=23;
string external_order_id = 105;
oneof custom {
// native order types
@@ -92,6 +92,8 @@ class OrderStateUpdateEvent : public mercury::Event<OrderStateUpdateEvent> {
result.set_filled_at_attach_time_quantity(filled_at_attach_time_quantity);
result.set_last_msg(last_msg);
result.set_display_status(display_status);
if(definition)
result.set_external_order_id(definition->external_order_id());
return result;
}