Type/to search
0
Follow
0
Followers
Làm thế nào để phát hiện và trao đổi độ trễ?
FAQ
Created 2018-02-21 22:33:38  
 4
 2853

Trong thực tế, chúng ta đã thấy rất nhiều chiến lược của các nhà đầu tư có sự chậm trễ trong hiển thị và giao dịch, làm thế nào để có được nó?

Related Recommendations
Comment
All comments (4)

    多谢多谢

    9 years ago

    不客气 ^^

    9 years ago

    检测交易所延迟 一般使用的是 时间戳对比法(差值),写段代码给你:
    测试截图:
    img
    测试代码:

    function main(){ while(true){ var beginTime = new Date().getTime() var ticker = exchange.GetTicker() var endTime = new Date().getTime() LogStatus("GetTicker 接口延迟时间:", endTime - beginTime, "毫秒。") Sleep(500) } }
    9 years ago

    多谢多谢

    9 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)