Few Clarifications in longbridge

未关闭
#1,362 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript
领域
api

调研方向

Start by locating the Go SDK PushDepth documentation and the description of its Sequence, Bid, and Ask fields; the issue does not name files or tests. Clarify the timestamp’s meaning and units, whether it can indicate quote freshness, where to find source timestamps, and how null sides should be handled. Done when the documentation answers all five questions; the issue does not identify a specific documentation entry point or review criteria.

由索引模型根据 Issue 内容生成。

描述

question

Dear Longbridge Technical Support,

We are using the Longbridge Go SDK v0.32.0 with an active OPRA US Options Quotes subscription.

During live market testing, we successfully received stock and option depth updates through PushDepth.

After synchronizing our system clock, converting the Sequence field to a Unix timestamp resulted in differences of approximately -35 to +62 milliseconds compared with our local UTC reception time.

Could you please clarify the following:

  1. Does PushDepth.Sequence represent a Unix timestamp in nanoseconds?
  2. Does it represent the original exchange event time, Longbridge server processing time, or another timestamp?
  3. Can it reliably be used to verify the freshness of option Bid/Ask prices?
  4. Is there another API field or method that provides the original Bid/Ask source timestamp?
  5. When Bid or Ask is null in a PushDepth update, should the previous value be retained, or should that side of the order book be considered unavailable?

We need this information to implement reliable market data freshness and trading risk controls.

Thank you for your assistance.

主要语言
TypeScript
星标
62
派生
31
平均合并
1 天 17 小时
30 天内合并 PR
30

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

longbridge/developers 的其他 Issue

查看 longbridge/developers 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。