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

FB-006: period-end force close is hard-wired to the last (thin, untradeable) tick [silent-wrong in practice]

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
56/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python

調査の方向性

Start with engine.py:222-226 and trace how the period’s last date and clock[-1] determine EOD_FORCE fills. Check existing engine tests for period-end close behavior. Done means the engine supports force_close_time="15:15:00" on the period’s last date and the tests cover the resulting fill time.

索引モデルが issue の本文から書いたものです。

説明

bug

Severity: silent-wrong in practice · Source: BUGS_FASTBT.md (2026-10-09)

engine.py:222-226 always closes at clock[-1], which is 15:30:59 on expiry day. That bar is thin, and from 2026-08-03 spot is frozen after 15:15 (CAS break), so EOD_FORCE fills there are not tradeable prices. There is no force_close_time, so every multi-day strategy has to code its own expiry-day exit.

Workaround: exit on the expiry date at 15:15 in strategy code, and treat any EOD_FORCE as a bug.
Fix: add an engine force_close_time="15:15:00" applied on the period's last date.

主要言語
Python
スター
28
フォーク
17
平均マージ
8時間 50分
マージ済み PR(30日)
2

環境構築

はじめの一歩

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

uberdeveloper/fastbt のほかの issue

uberdeveloper/fastbt の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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