CNBC and insider trading readers return the day before the upload date for an empty AdviceDate/FileDate
まだ誰も着手していません。
評価
調査の方向性
QuiverCNBC.cs、QuiverCNBCsUniverse.cs、QuiverInsiderTrading.cs、QuiverInsiderTradingUniverse.cs のフォールバック分岐を調べ、その後、日付が空の reader に関する名前付きテストを確認してください。AdviceDate と FileDate の値が空の場合はアップロード日を返し、明示的な日付、Time、EndTime は現在の動作を維持することを確認してください。テストでは各データセットの両方の reader を対象にしてください。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- C#
- スター
- 0
- フォーク
- 3
- 平均マージ
- 39分
- マージ済み PR(30日)
- 4
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
QuantConnect/Lean.DataSource.QuiverQuant のほかの issue
-
CNBC readers subtract a day from explicit AdviceDate values対応中かも @quantconnect-kronos が今日担当しました。 オープンkronos:develop:working priority:P2
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
Insider trading readers subtract a day from explicit FileDate timestamps対応中かも @quantconnect-kronos が 3 日前に担当しました。 オープンpriority:P2
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
QuantConnect/Lean.DataSource.QuiverQuant#17 · コメント 1 件 ·
-
priority:P2
難易度 4/5 3〜5日 初心者へのやさしさ 49/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
QuantConnect/Lean.DataSource.QuiverQuant の issue をすべて見る
似ている issue
-
area:jobads-cv bug FE mvp P3
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
klasolsson81/jobbliggaren#2271 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
resend/resend-dotnet#185 ·
メンテナーはふだん 1 日以内に返信
-
Bug IronPython Python 3
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
pyrevitlabs/pyRevit#4184 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
yusei36/KeePassPasskey#66 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信