Universe generation drops stored entries for coins absent from current output
還沒有人認領這個 Issue。
評估
研究方向
從 CoinGeckoDataDownloader.cs 中的 GenerateUniverseFiles 開始,追蹤它如何將 _processedUniverseFolder 傳遞給 SaveContentToFile。使用提供的設定,透過 GenerateUniverseFiles 新增一個迴歸測試,其中有一筆已儲存的 coin 不在目前的輸出中。已儲存的資料列獲得保留、取得的 coin 資料列獲得更新,且測試通過時,即為完成。
由索引模型根據 Issue 內容生成。
描述
Problem
GenerateUniverseFiles drops stored universe entries for coins that have no output coin file in the current run. It returns true after writing the incomplete universe.
This is reproducible on master (0b89b5a).
Reproduction
- Construct
CoinGeckoUniverseDataDownloaderwith distinct, empty destination and processed directories. - Write
processed/universe/20260808.csvcontaining:BTC,64879.756,21708815799.29,1301953613966.19 ETH,3000,10000000000,360000000000 - Write only
destination/eth.csv, containing:20260808,3001,10000000000,360100000000 - Call
GenerateUniverseFiles().
Observed: it returns true, and destination/universe/20260808.csv contains only:
ETH,3001,10000000000,360100000000
The stored BTC row is absent.
Cause and expected result
GenerateUniverseFiles passes _processedUniverseFolder to SaveContentToFile, but the helper appends another universe component. It looks for processed/universe/universe/20260808.csv, so it never reads the existing file.
Preserve the stored BTC row and replace the ETH row with its fetched value. Add a regression through GenerateUniverseFiles, with a coin absent from the current output, so the production caller's directory arguments are exercised. Suggestion: make the helper and caller agree on whether the processed directory already includes universe.
- 主要語言
- C#
- 星號
- 5
- 分支
- 9
- 平均合併
- 3 天 8 小時
- 30 天內合併 PR
- 1
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
QuantConnect/Lean.DataSource.CoinGecko 的其他 Issue
-
難度 3/5 1-2 天 新手友好度 35/100
查看 QuantConnect/Lean.DataSource.CoinGecko 的全部 Issue
相似的 Issue
-
bug emitter:client:csharp
難度 2/5 1-3 小時 新手友好度 84/100
microsoft/typespec#12572 · 1 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
-
needs-area-label
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 2 天內回覆
-
AWS Lambda: KeyNotFoundException drops HTTP-triggered transactions when allowAllHeaders is disabled未關閉bug
難度 2/5 1-3 小時 新手友好度 70/100
newrelic/newrelic-dotnet-agent#3949 · 1 則留言 ·
維護者通常 1 天內回覆
-
area-networking
難度 2/5 1-3 小時 新手友好度 78/100
dotnet/aspnetcore#70545 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 87/100
維護者通常 1 天內回覆