US daily vs 5-minute volume mismatch + history_candlesticks 301607 limit:0 entitlement clarification
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by reviewing the referenced issues #1216, #1191, #913, #849, and #662, then check the documentation for candlesticks(count=1000), history_candlesticks_by_date, and history_candlesticks_by_offset. Done means documenting the applicable entitlement and quota behavior, the volume-data contract, and whether an upgrade changes either behavior.
由索引模型根据 Issue 内容生成。
描述
Summary
Longbridge Customer Services referred this technical question to this repository.
I am validating a read-only US-equity intraday research workflow through the connected Longbridge OpenAPI/MCP tools and need clarification on two reproducible data-contract/entitlement issues.
No credentials, account identifiers, tokens, or trading permissions are included here.
1. Daily vs complete 5-minute volume/turnover mismatch
Instrument: VTI.US
Adjustment: no forward adjustment
5-minute candles: trade_sessions=all (Overnight, Pre, Intraday, Post)
2026-09-23
- Native daily candle volume: 2,581,335 shares
- Native daily candle turnover: 978,481,653
- All 288/288 completed 5-minute bars from 04:00 UTC Sep 23 to 04:00 UTC Sep 24:
- summed volume: 1,929,865 shares
- summed turnover: 731,429,163.447
- 5-minute totals are approximately 74.76% of the daily totals.
2026-09-24
- Native daily candle volume: 2,600,775 shares
- All 288/288 completed 5-minute bars:
- summed volume: 1,759,623 shares
- 5-minute volume is 67.66% of the daily volume.
Similar discrepancies have appeared on other liquid US symbols.
Could the Longport team please confirm:
- The exact venue/tape and eligible trade-condition coverage of daily vs 1m/5m bars.
- Whether off-exchange/TRF trades, odd lots, auctions/crosses, delayed trades, or corrections are treated differently between daily and intraday candles.
- Whether daily candles can be updated with trades/corrections that are not propagated to minute candles.
- Whether there is a documented same-source normalization or alternative OpenAPI endpoint that can provide a consistent regular-hours 5-minute time-of-day volume baseline and ADV20.
2. Historical candlestick entitlement returns 301607 with limit:0
The connected account can retrieve recent candlesticks(count=1000) 5-minute data and 20 daily candles, but history_candlesticks_by_date returns:
301607
history candlestick symbol count out of limit
requested:0/limit:0
Additional reproduction from 2026-09-28:
NVDA.US, native unadjusted RTH 5-minute request: recentcandlesticks(count=1000)provided only 12 fully completed prior sessions.history_candlesticks_by_offsetlooking further back returned an empty list without an explanatory error.history_candlesticks_by_dateforNVDA.US, 2026-08-28 through 2026-09-09, returned 301607 requested:0/limit:0.
I found existing issues including #1216, #1191, #913, #849 and #662 concerning historical-candlestick quota/301607.
The limit:0 behavior therefore appears to be a known class of issue, but I still need clarification on the exact entitlement applicable to the connected account and whether a paid entitlement changes it.
Please clarify:
- Is date-range/offset historical access a separate entitlement from recent
candlesticks? - How can the live remaining monthly symbol/history quota be checked programmatically?
- What current entitlement or upgrade is required to retrieve at least 20 completed US RTH 5-minute sessions for a bounded personal research universe of roughly 8–20 symbols?
- If there is a paid tier, what is the current monthly all-in price and does the existing OpenAPI/MCP connection inherit the upgraded permissions without replacing credentials?
- Critically, would such an upgrade affect only historical depth/quota, or would it also change the daily-vs-minute volume/tape discrepancy described above?
The purpose is data validation only. I do not want to infer that purchasing a higher entitlement would fix the volume-population inconsistency unless Longport confirms that explicitly.
Thank you.
- 主要语言
- TypeScript
- 星标
- 61
- 派生
- 30
- 平均合并
- 7 小时 27 分钟
- 30 天内合并 PR
- 19
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
longbridge/developers 的其他 Issue
-
最新版的Python 4.3.2 sdk 根本跑不通这个代码啊可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 65/100
longbridge/developers#1109 ·
维护者通常 1 天内回复
-
难度 4/5 1-2 天 新手友好度 35/100
longbridge/developers#1310 · 3 条评论 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
longbridge/developers#1309 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
longbridge/developers#1308 · 3 条评论 ·
维护者通常 1 天内回复
-
SDK5.2.2: clarify HK candle endpoints, daily trading-date labels and revision/adjustment semantics未关闭
难度 4/5 3-5 天 新手友好度 48/100
longbridge/developers#1302 · 1 条评论 ·
维护者通常 1 天内回复
查看 longbridge/developers 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 83/100
awslabs/visual-asset-management-system#1278 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 67/100
mifi/lossless-cut#3213 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 83/100
plasma-umass/scalene#1123 ·
维护者通常 1 天内回复