Fall back to the backup coarse universe file for fundamental properties in live trading - #9752
Open
jhonabreul wants to merge 5 commits into
Open
Conversation
…es in live trading The universe subscription already falls back to the backup coarse universe file when the expected one is not available, but the per symbol fundamental properties read through the CoarseFundamentalDataProvider did not, returning defaults.
…r wrapper Moves the backup universe file data provider out of the live custom data subscription enumerator factory so the coarse fundamental data provider can reuse it instead of duplicating the fallback logic.
Martin-Molinero
approved these changes
Aug 26, 2026
Martin-Molinero
approved these changes
Aug 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Follow-up to #9690. Fundamental universes fell back to the backup universe file for the symbol list, but the per-symbol properties (
Price,DollarVolume, ...) are resolved throughCoarseFundamentalDataProvider, which fetchedfundamental/coarse/<date>.csvdirectly and returned defaults when it was missing.BackupUniverseFileDataProviderinCommon: the fallback wrapper moved out ofLiveCustomDataSubscriptionEnumeratorFactory, same behavior.CoarseFundamentalDataProvider.Initializewraps its data provider with it in live mode.Related Issue
N/A
Motivation and Context
Selections filtering on price or volume saw zeros when running off the backup universe file.
Requires Documentation Change
No.
How Has This Been Tested?
BackupUniverseFileDataProviderTestsandCoarseFundamentalDataProviderTests: fallback, no fallback when the expected file exists or in backtesting, defaults when neither file exists.LiveTradingDataFeedTests: addedFutureChaincases to the backup fallback test.Types of changes
Checklist:
bug-<issue#>-<description>orfeature-<issue#>-<description>