Commit 79536ed0 by zihan

参数调整

parent 145762fd
...@@ -247,7 +247,7 @@ class Strategy3 { ...@@ -247,7 +247,7 @@ class Strategy3 {
const rawReturnPrice = result[8]; const rawReturnPrice = result[8];
const buyFirst = result[9]; const buyFirst = result[9];
if (totalMarginRate > this._getMinMargin()) { if (totalMarginRate > this._getMinMargin()) {
console.log(`发现利差:${totalMarginRate},buyDepth:${buyDepth},sellDepth${sellDepth},returnDepth${returnDepth},tl:${returnAmount}`); console.log(`发现利差:${totalMarginRate},buyDepth:${buyDepth},sellDepth${sellDepth},returnDepth${returnDepth}`);
return [baseCurrency1, midCurrency, baseCurrency2, totalMarginRate, buyPrice, sellPrice, returnPrice, amount, returnAmount, rawBuyPrice, rawSellPrice, rawReturnPrice, buyFirst]; return [baseCurrency1, midCurrency, baseCurrency2, totalMarginRate, buyPrice, sellPrice, returnPrice, amount, returnAmount, rawBuyPrice, rawSellPrice, rawReturnPrice, buyFirst];
} }
} }
......
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