Insider trading readers subtract a day from explicit FileDate timestamps

Abierto Apto para principiantes
#17 1 comentario 0 reacciones 0 asignados Ver en GitHub

@quantconnect-kronos ya está trabajando en esto.

Desde el 17/11/2026.

  • #19 de @quantconnect-kronos — abierto

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
90/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
csharp
Área
data

Línea de trabajo

Empieza por las expresiones de análisis en QuiverInsiderTrading.cs y QuiverInsiderTradingUniverse.cs; después, comprueba la serialización del downloader mencionada en el issue. Añade pruebas de regresión para ambos lectores usando las filas proporcionadas y actualiza la aserción existente del formato compacto. La tarea estará terminada cuando se conserven en ambos lectores las marcas de tiempo de FileDate proporcionadas explícitamente y las pruebas pasen.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

kronos:skip priority:P2

Problem

QuiverInsiderTrading.Reader and QuiverInsiderTradingUniverse.Reader subtract one day from FileDate even when the CSV explicitly supplies the filing timestamp. This makes the reported filing time one day earlier than the stored value, affecting filters and intervals based on FileDate.

This is present on master at b9f250fc550bf963b71a0b0050000f17d23f0c0b; it is independent of legacy column-count handling.

Synthetic reproduction

With a read date of 2026-05-08, parse these current-layout rows using the corresponding readers:

20260508,20260507093000,20260507,P,150.25,100,500,A,D,Example Person,CEO,T,T,F,
AAPL R735QTJ8XC9X,AAPL,20260507093000,20260507,P,150.25,100,500,A,D,Example Person,CEO,T,T,F,

For the per-ticker reader, use an AAPL SubscriptionDataConfig; the universe reader accepts a null config.

Both readers return:

Expected FileDate: 2026-05-07 09:30:00
Actual FileDate:   2026-05-06 09:30:00

Verified with two local NUnit cases against the base readers: both fail with exactly that expected/actual difference.

Cause and required outcome

  • QuiverInsiderTrading.cs:167 and QuiverInsiderTradingUniverse.cs:150 on the cited commit apply .AddDays(-1) to the result of the entire parse-or-fallback expression.
  • DataProcessing/QuiverInsiderTradingDataDownloader.cs:119–124 serializes a non-omitted filing timestamp directly, without a compensating day offset.
  • FileDate is documented as the time the transaction was filed and became publicly available. The separate Time/EndTime convention does not require altering this supplied timestamp.

Preserve explicitly supplied filing timestamps in both readers and add regression coverage. Existing compact-format coverage currently asserts the shifted per-ticker value and will need to reflect the corrected behavior. Suggestion: apply any intended fallback adjustment only to the missing-value branch, not to an explicit timestamp.

Priority is P2 because the verified impact is limited to this metadata field; evidence of broader user impact 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

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de QuantConnect/Lean.DataSource.QuiverQuant

Todos los issues de QuantConnect/Lean.DataSource.QuiverQuant

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.