Commit 306c5833 by zihan

调整下卖单的频率

parent 35d1fad9
......@@ -88,7 +88,7 @@ class BiboxStrategy3 extends Strategy3 {
amount = collector.processAmount(midCurrency, baseCurrency2, parseFloat(order.executedQty*0.999));
setTimeout(()=>{
sellOrder();
},200);
},150);
returnOrder();
} else if (parseFloat(order.executedQty) > 0) {
returnAmount = parseFloat(returnAmount) * parseFloat(order.executedQty) / parseFloat(amount);
......@@ -100,7 +100,7 @@ class BiboxStrategy3 extends Strategy3 {
if (parseFloat(amount) > 0)
setTimeout(()=>{
sellOrder();
},200);
},150);
if (parseFloat(returnAmount) > 0)
returnOrder();
else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment