FB-011: fill-forward walk is O(tick_index) per lookup [minor, performance]
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 52/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- python
- Área
- backend, performance
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 28
- Forks
- 17
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de uberdeveloper/fastbt
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
uberdeveloper/fastbt#29 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
uberdeveloper/fastbt#20 ·
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
uberdeveloper/fastbt#31 ·
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
uberdeveloper/fastbt#28 ·
-
FB-008: close_trade mixes price and tick; stale exits are silent (zero-P&L fallback) [silent-wrong]Abiertobug
Dificultad 3/5 1-2 días Aptitud para principiantes 70/100
uberdeveloper/fastbt#27 ·
Todos los issues de uberdeveloper/fastbt
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
aws-samples/sample-per-model-bedrock#191 ·
Los mantenedores suelen responder en 1 día
-
area: docs enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
PyTomography/PyTomography#331 ·
Los mantenedores suelen responder en 1 día
-
effort: low prio: low ready
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
digitalfabrik/integreat-cms#4616 ·
Los mantenedores suelen responder en 5 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
FuRongJun-1999/dsh-memory#226 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug difficulty:2 good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
MakazhanAlpamys/Soup#1865 ·
Los mantenedores suelen responder en 1 día