FB-003: on_day_start / on_day_end fire once per PERIOD, not per day [trap]
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
Hướng nghiên cứu
Start by reading engine.py around lines 209 and 229, the on_day_start and on_day_end docstrings in strategy.py, and the “Proposed enhancements” section of BUGS_FASTBT.md. Trace how the hooks are called for each period and how ctx.is_new_date signals date changes during ticks. Done means the hooks run for every date in a period and returning False from on_day_start skips only that date.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Severity: trap · Source: BUGS_FASTBT.md (2026-10-09)
engine.py:209 and engine.py:229 call them once per period, but their docstrings (strategy.py:431, :495) say "once per day". There is no per-date hook; the only per-date signal is polling ctx.is_new_date inside ticks. on_day_start returning False skips the whole period.
Impact: daily signal state (opening range, traded-today, daily counters) is built only on the period's first date.
Workaround: detect ctx.is_new_date in the tick hooks.
Fix: hook ladder — on_run_start → on_period_start → on_day_start/on_day_end (every date) → on_period_end → on_run_end (see BUGS_FASTBT.md "Proposed enhancements").
- Ngôn ngữ chính
- Python
- Star
- 28
- Fork
- 17
- Merge trung bình
- 5 giờ 7 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của uberdeveloper/fastbt
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
uberdeveloper/fastbt#29 · 2 bình luận ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
uberdeveloper/fastbt#31 ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
uberdeveloper/fastbt#30 ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
uberdeveloper/fastbt#28 ·
-
FB-008: close_trade mixes price and tick; stale exits are silent (zero-P&L fallback) [silent-wrong]Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 70/100
uberdeveloper/fastbt#27 ·
Tất cả issue của uberdeveloper/fastbt
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
task
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
danparshall/claude_researcher#87 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
datajoint/datajoint-python#1586 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
1D intercept of length 1 is accepted as `fix_params` in population GLM with more than 1 unitCó thể đã có người làm @dhvani7014 đã nhận hôm nay. Đang mởbug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
flatironinstitute/nemos#642 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Broken links in the docsĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
uniswap-python/uniswap-python#487 ·