Type/to search
0
Follow
0
Followers
Cómo limitar el número de transacciones cuantitativas en una semana usando js
FAQ
Created 2018-04-08 19:48:07  
 3
 1969

Cómo limitar el número de transacciones cuantitativas en una semana usando js

  1. Si el timbre se puede obtener de las bolsas de valores, y si tiene una función.
  2. Cómo determinar que dos horarios difieren en una semana

Por favor, enseña.

Related Recommendations
Comment
All comments (3)

    已经解决,谢谢

    8 years ago

    谢谢回复,new data().getTime()获取的是实时时间,在回测时这个数据没有实际意义了,不知道在取ticker数据时是否可以有时间戳?

    8 years ago

    1、时间戳 有些交易所 在行情数据 里面提供的有, 有些没有。 另外 时间戳可以自己获取 , var timeStamp = new Date().getTime()
    2、时间戳 相减 算差值, 看是不是 大于了 1周的毫秒数。 举个例子 两个时间点 之间的 时间 是否大于 1分钟: endTimeStamp - beginTimeStamp > 1000 * 60 。
    至于 一周内限制交易笔数, 需要您自己设计实现。

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