Type/to search
8
Follow
0
Followers
Ayuda, GetDepth obtiene la frecuencia de tiempo de los datos y otros problemas
Help
Created 2022-09-23 22:53:38  Updated 2022-09-23 22:53:56
 1
 1178

Los grandes dioses, por favor, haganme dos preguntas:
1, el intervalo de tiempo de envío de la ordenbook de la bolsa de valores de Binance es de 250 ms, 500 ms y 100 ms. ¿Cuál es el intervalo de tiempo de 100 ms para obtener datos de la función GetDepth que el inventor empaquetó?
2, si en una estrategia, algunos datos se obtienen con estas funciones envasadas por el inventor, y otros datos se obtienen con websockets, ¿hay algún conflicto? ¿Qué hay que tener en cuenta?
Gracias por su guía. @DeusGrande @LittleDream

Related Recommendations
Comment
All comments (1)

    1,币安交易所的orderbook推送间隔时间,有250毫秒,500毫秒,100毫秒3种。发明者封装好的GetDepth函数,获取数据的时间间隔100ms还是多少?

    封装的GetDepth接口,是REST协议,发送请求获取数据,具体从请求到获取到数据时间不定通常为几百毫秒,具体和网络、交易所接口应答速度等因素有关。

    2,如果一个策略中,某些数据用发明者封装的这些函数来获取,另外一些数据用websocket来获取,会不会有什么冲突?有什么要注意的?

    这两种方式可以混用,不过要具体根据自己需求设计好。

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