Commit 6a159772 by zihan

bug fixed

parent 894b1d11
...@@ -77,7 +77,7 @@ class BiboxStrategy3 extends Strategy3 { ...@@ -77,7 +77,7 @@ class BiboxStrategy3 extends Strategy3 {
} }
console.log("buy@" + buySymbol + " amount:" + amount + " price:" + buyPrice); console.log("buy@" + buySymbol + " amount:" + amount + " price:" + buyPrice);
orderService.order(buySymbol, buyPrice, amount, constants.OrderSideBuy, constants.TimeInForceFOK orderService.order(buySymbol, buyPrice, amount, constants.OrderSideBuy, constants.TimeInForceIOC
, (error, order) => { , (error, order) => {
if (error) { if (error) {
console.error("buy error:"); console.error("buy error:");
......
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