0
Follow
1
Followers
示例代码如下:
function main(){
while(true){
onTick()
Sleep(1000)
}
}
function onTick(){
Log('--计时--')
}
结果日志并不是每秒打印一次,而是随机2分钟,4分钟,8分钟,10分钟一次,把Sleep去掉还是一样,请问这是什么原因?
2020-04-30 23:02:00 信息 --计时--
2020-04-30 23:00:00 信息 --计时--
2020-04-30 22:58:00 信息 --计时--
2020-04-30 22:54:00 信息 --计时--
2020-04-30 22:50:00 信息 --计时--
2020-04-30 22:46:00 信息 --计时--
2020-04-30 22:36:00 信息 --计时--
2020-04-30 22:32:00 信息 --计时--
2020-04-30 22:24:00 信息 --计时--
Related Recommendations
Advanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engineHow to install ta-lib on linux docker?5.5 Trading strategy optimization
Comment
All comments (1)
- 1
