Type/to search
0
Follow
0
Followers
파이썬에서의 K-라인 날짜 문제
Help
Created 2017-05-25 13:50:10  
 9
 2126

파이썬에서 현재 날짜를 재측정할 수 있는지 물어보세요. "record"의 "Time" 필드는 "timelocal"와 "strftime"로 변환하는 것이 매우 이상합니다.

Related Recommendations
Comment
All comments (9)

    是的 python 的 time 模块里面的 时间都是 浮点数 秒。

    9 years ago

    再想请问下,python下得回测,在非交易时间,系统会写大量 “错误:not login”,这个怎么解决比较好?谢谢!

    9 years ago

    img
    Python 版的商品期货交易类库 模板 我已经移植好了, 可以试下,里面有 IsTrading 函数。

    9 years ago

    js 下
    while (!exchange.IO("status")) {
    Sleep(500)
    }
    简而言之用exchange.IO("status")来判断是否连接上交易所
    另外用$.IsTrading(ContractType)来判断是否在期货品种的交易时间
    $.IsTrading 是zero期货商品库中的一个函数,你可以去找找自己移植一下

    9 years ago

    谢谢!

    9 years ago

    谢谢!

    9 years ago

    这,records里的time是毫秒,你要除以1000以后再转换

    9 years ago

    谢谢!

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