Commit 97c9b684 by zihan

参数调整

parent 6a17d59b
...@@ -57,7 +57,7 @@ class Strategy3 { ...@@ -57,7 +57,7 @@ class Strategy3 {
const buyDelay = endTime - this.collector.getSymbolEventTime(buySymbol); const buyDelay = endTime - this.collector.getSymbolEventTime(buySymbol);
console.log('买入交易对延迟:' + buyDelay + " 卖出交易对延迟:" + sellDelay); console.log('买入交易对延迟:' + buyDelay + " 卖出交易对延迟:" + sellDelay);
} }
if(sellDelay > 1000){ if(sellDelay > 500){
console.log('延时过大,放弃该轮交易'); console.log('延时过大,放弃该轮交易');
return false; return false;
} }
......
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