FB-011: fill-forward walk is O(tick_index) per lookup [minor, performance]
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 52/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- python
- 領域
- backend, performance
調査の方向性
Start by reading context.py around lines 248 and 367, where get_spot and _get_bar_with_lag walk backward through ticks. Compare the per-instrument sorted-index and cached-pointer approaches described in the issue, then check for relevant tests in the repository. Done means missing-bar lookups avoid scanning every prior tick while returning the correct prior bar.
索引モデルが issue の本文から書いたものです。
説明
Severity: minor (performance) · Source: BUGS_FASTBT.md (2026-10-09)
For an instrument with no bar at the current tick, _get_bar_with_lag and get_spot walk back tick by tick (context.py:367, :248). In a monthly period (~9,000 ticks), every lookup on a missing strike walks back across the whole period.
Fix: a per-instrument sorted index with bisect, or a cached last-seen pointer.
- 主要言語
- Python
- スター
- 28
- フォーク
- 17
- 平均マージ
- 5時間 7分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
uberdeveloper/fastbt のほかの issue
-
FB-010: group_by_expiry silently falls back to a one-day period [minor]対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
uberdeveloper/fastbt#29 · コメント 2 件 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
uberdeveloper/fastbt#31 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
uberdeveloper/fastbt#28 ·
-
FB-008: close_trade mixes price and tick; stale exits are silent (zero-P&L fallback) [silent-wrong]オープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 70/100
uberdeveloper/fastbt#27 ·
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
uberdeveloper/fastbt#26 ·
uberdeveloper/fastbt の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
-
[Bug]: Importing weave changes the process-wide locale対応中かも @himanshu748 が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
UX
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
mediajunkie/piper-morgan-product#2008 · コメント 2 件 ·