Merge branch 'spartan_tas' of bitbucket.org:bluetradesys/spark into spartan_tas
This commit is contained in:
commit
bb1e7df7a9
1 file changed
+1
-1
@@ -351,7 +351,7 @@ INIT_VECTOR_OVERLOAD(one_legged)
|
||||
} // namespace synth_samples
|
||||
|
||||
MDP3Quantity expected_volume(const LegMarkets& synth) {
|
||||
return MDP3Quantity(ranges::min(ranges::view::transform(synth, [](const auto& l) {
|
||||
return MDP3Quantity(ranges::min(ranges::views::transform(synth, [](const auto& l) {
|
||||
return book_utils::volume(std::get<2>(l)).value() / abs(std::get<0>(l)).value();
|
||||
})));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user