Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#25 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
56/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
28
Fork
17
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di uberdeveloper/fastbt

Tutte le issue di uberdeveloper/fastbt

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.