quote algo quantity hooked
This commit is contained in:
1 parent
7e3b1de70f
commit
76c3fe86c2
1 file changed
+1
-1
@@ -295,7 +295,7 @@ void QuotingAlgo::_fire_orders(double price){
|
||||
if(me->child_order_key==null_order_key())
|
||||
{
|
||||
me->child_order_key =
|
||||
_algo().launch_child(*me->algo_params->child_template, bts::Price(price), bts::Quantity(1));
|
||||
_algo().launch_child(*me->algo_params->child_template, bts::Price(price), bts::Quantity(me->algo->quantity()));
|
||||
return;
|
||||
}
|
||||
Update update;
|
||||
|
||||
Reference in new issue
Block a user