Fixed initialization bug in sniper.
This commit is contained in:
1 parent
b980e39ebb
commit
4d2ba5fc41
1 file changed
+1
-1
@@ -398,7 +398,7 @@ bool check_for_cumm_price_qty(const SniperPolygon& p,
|
||||
Quantity cumm_qty){
|
||||
if(cumm_qty.value()==0)
|
||||
return true;
|
||||
double price_at_cumm_qty;
|
||||
double price_at_cumm_qty = 0;
|
||||
for (auto& l : p.legs){
|
||||
Price l_comp_price; Quantity l_comp_qty;
|
||||
api::Side cross_side = get_leg_cross_market_side(trade_side,l);
|
||||
|
||||
Reference in new issue
Block a user