CNBC and insider trading readers return the day before the upload date for an empty AdviceDate/FileDate
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 82/100
Línea de trabajo
Inspecciona las ramas de respaldo en QuiverCNBC.cs, QuiverCNBCsUniverse.cs, QuiverInsiderTrading.cs y QuiverInsiderTradingUniverse.cs y, después, revisa las pruebas con nombre para los lectores con fechas vacías. Confirma que los valores vacíos de AdviceDate y FileDate devuelvan la fecha de carga, mientras que las fechas explícitas, Time y EndTime conserven su comportamiento actual; las pruebas deberían cubrir ambos lectores para cada conjunto de datos.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
When the downloaders omit the date column because it equals the upload date, the readers' fallback returns the upload date minus one day instead of the upload date.
DataProcessing/QuiverCNBCDataDownloader.cs:114-118leavesAdviceDateempty when the advice date equals the upload date, with the comment "Reader falls back to uploadedDate in that case".DataProcessing/QuiverInsiderTradingDataDownloader.cs:119-123leavesFileDateempty when its calendar day equals the upload date, with the comment "Reader falls back to uploadedDate, preserving the day".- The readers return
uploadedDate.AddDays(-1)for an empty column:QuiverCNBC.cs,QuiverCNBCsUniverse.cs,QuiverInsiderTrading.cs,QuiverInsiderTradingUniverse.cs(after #22 and #19; onmasterthe offset is applied to the whole expression, with the same result for an empty column).
Reproduction
A CNBC row uploaded on 2026-05-08 with advice date 2026-05-08 is written as:
20260508,,0,Example Person,catalyst
Expected AdviceDate: 2026-05-08
Actual AdviceDate: 2026-05-07
The insider trading readers do the same for a filing on its upload day: FileDate comes back one day before it.
Required outcome
An empty AdviceDate / FileDate column reads back as the upload date the downloader omitted it for, in both readers of each dataset. Time / EndTime and explicit values stay as they are. Tests Reader_EmptyAdviceDateFallsBackToUploadedMinusOne, UniverseReader_EmptyAdviceDateFallsBackToDateMinusOne and the insider trading empty-FileDate tests assert the current shifted value and would change.
Suggestion: drop the .AddDays(-1) from the fallback branch once #22 and #19 are merged.
Priority is P2: the impact is a one-day error in a metadata field on rows whose date equals the upload day; evidence of algorithms relying on these fields would raise it.
- Lenguaje dominante
- C#
- Estrellas
- 0
- Forks
- 3
- Merge medio
- 39 min
- PR fusionados (30 d)
- 4
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 QuantConnect/Lean.DataSource.QuiverQuant
-
CNBC readers subtract a day from explicit AdviceDate valuesPosiblemente ocupada @quantconnect-kronos la tomó hoy. Abiertokronos:develop:working priority:P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
Insider trading readers subtract a day from explicit FileDate timestampsPosiblemente ocupada @quantconnect-kronos la tomó hace 3 días. Abiertopriority:P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
QuantConnect/Lean.DataSource.QuiverQuant#17 · 1 comentario ·
-
priority:P2
Dificultad 4/5 3-5 días Aptitud para principiantes 49/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
Todos los issues de QuantConnect/Lean.DataSource.QuiverQuant
Issues similares
-
area:jobads-cv bug FE mvp P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
klasolsson81/jobbliggaren#2271 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
resend/resend-dotnet#185 ·
Los mantenedores suelen responder en 1 día
-
Bug IronPython Python 3
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
pyrevitlabs/pyRevit#4184 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
yusei36/KeePassPasskey#66 · 2 comentarios ·
Los mantenedores suelen responder en 1 día