Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

FB-009: fill-forward crosses overnight gaps and expiries without warning [silent-wrong]

Đang mở
#28 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
backend, fintech-quant

Hướng nghiên cứu

Start by reading the lag walks in context.py at lines 248 and 367, then trace how integer periods select contract legs across dates. Check the tests covering missing bars, date changes, and expiry boundaries. Done when overnight lag is reported in calendar terms or flagged, and an integer chunk crossing an expiry produces a warning.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

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

The lag walks (context.py:248 spot, :367 instruments) count clock ticks across dates. At 09:15 a missing bar returns yesterday's close with a small lag, which looks almost live.

With period=int N, a chunk that crosses an expiry keeps the old contract's legs. The files hold one expiry per date, so after expiry those legs never get another bar and stay frozen at their last price until the chunk ends.

Workaround: whole expiry cycles only; an int period must not span an expiry.
Fix: report the lag in calendar terms (or flag a date change); warn when an int chunk crosses an expiry.

Ngôn ngữ chính
Python
Star
28
Fork
17
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của uberdeveloper/fastbt

Tất cả issue của uberdeveloper/fastbt

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.