Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

FB-011: fill-forward walk is O(tick_index) per lookup [minor, performance]

オープン
#30 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python

調査の方向性

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 の本文から書いたものです。

説明

bug

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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

uberdeveloper/fastbt のほかの issue

uberdeveloper/fastbt の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。