0
Follow
1
Followers
Kode contohnya adalah:
function main(){
while(true){
onTick()
Sleep(1000)
}
}
function onTick(){
Log (--mengacu pada--)
}
Hasilnya adalah bahwa log tidak dicetak setiap detik, tetapi secara acak setiap 2 menit, 4 menit, 8 menit, 10 menit, dan menghapus Sleep tetap sama, mengapa?
2020-04-30 23:02:00 Informasi -- waktu --
2020-04-30 23:00:00 Informasi -- waktu --
2020-04-30 22:58:00 Informasi -- waktu --
2020-04-30 22:54:00 Informasi -- waktu --
2020-04-30 22:50:00 Informasi -- waktu --
2020-04-30 22:46:00 Informasi -- waktu --
2020-04-30 22:36:00 Informasi -- waktu --
2020-04-30 22:32:00 Informasi -- waktu --
2020-04-30 22:24:00 Informasi -- waktu --
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
