question

Upvotes
Accepted
321 1 0 9

RFA数据是否支持HH:MM:SS.MMM?

RFA 数据和/或 RFA API 是否支持 HH:MM:SS.MILLISECONDS 的时间格式?使用RDM字段字典的数据类型是什么?谢谢

treprfa
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvote
Accepted
321 1 0 9

是的,RFA支持毫秒。

这些字段的数据类型是无符号整数64位,表示从午夜开始的毫秒数。如下,以及你可以使用下面的逻辑将其转换为HH:MM:SS.MMM:

1655449084620.png


此外,RFA通过以下字段支持纳秒数:

1655449109573.png

然而,这些字段的可用性取决于交易所。纳秒字段的OMM类型是TIME。欲了解更多信息,请参考《高精度时间编码》(Coding For High Precision Time)一文。


1655449084620.png (134.6 KiB)
1655449109573.png (338.5 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.