Compare commits

...
2 Commits
Author SHA1 Message Date
Pedro Pinto 38bf38c62d Fixed price conversion for spread leg fill. 2018-08-02 20:22:58 +00:00
Jake Norbut 4e08a43d0c Cpp - updating HO to match RB per Kev 2018-08-02 14:12:13 -05:00
4 changed files with 14 additions and 5 deletions

No files matched your search

+4
View File
@@ -1,3 +1,7 @@
1.1.7
- Fixed spread leg price fill
- Fixed HO cash per point value
1.1.6
- Fixed occasional crash when filtering fills
- Fixed several cash per point multipliers
+1 -1
View File
@@ -666,7 +666,7 @@ CppConfig
cpp_entry { key: "HIB" value: 1000 }
cpp_entry { key: "HIL" value: 1000 }
cpp_entry { key: "HJC" value: 1000 }
cpp_entry { key: "HO" value: 420 }
cpp_entry { key: "HO" value: 42000 }
cpp_entry { key: "HO2" value: 42000 }
cpp_entry { key: "HO4" value: 42000 }
cpp_entry { key: "HOA" value: 5 }
@@ -218,9 +218,14 @@ void ExecutionGateway::on_exe_report(
: api::orderman::MANUAL_ORDER_INDICATOR_YES;
str_to(msg.get<fix::OrderID>(), &data->exchange_order_id);
if (msg.has<fix::Price>())
data->price = securities::decode_exchange_price(
*sec, Price(msg.get<fix::Price>()));
if (msg.has<fix::Price>()) {
if (data->leg_security)
data->price = securities::decode_exchange_price(
*data->leg_security, Price(msg.get<fix::Price>()));
else
data->price = securities::decode_exchange_price(
*sec, Price(msg.get<fix::Price>()));
}
else
data->price = Price(os::nan());
+1 -1
View File
@@ -11,7 +11,7 @@ $known_good = @{
"GE" = 2500
"HE" = 400
"HG" = 5000
"HO" = 420
"HO" = 42000
"LE" = 400
"M6E" = 125
"NG" = 100