feat(loaders): add local data loader for CSV/Parquet/DuckDB files#252
Merged
Conversation
- New 'local' loader reads OHLCV from user-configured CSV/Parquet/DuckDB sources - Config file at ~/.vibe-trading/data-bridge/config.yaml maps symbols to files - Symbols prefixed with 'local:' auto-route to the local data source - Integrated into loader registry with fallback chain support Signed-off-by: Robin1987China <fanrenzhige@163.com>
0d053b6 to
d07cd27
Compare
5 tasks
warren618
added a commit
that referenced
this pull request
Jun 18, 2026
…252 (#266) #260 Research Autopilot shipped two reproduced runtime-breaking bugs: - run_research_autopilot never received the host session_id (it read only kwargs, which the LLM cannot know), so every call errored 'session_id is required'. Inject default_session_id via build_registry like the goal tools. - generate_backtest_config returned a run_dir under ~/.vibe-trading/runs, which safe_run_dir rejected, breaking the advertised write_file -> backtest handoff. Add ~/.vibe-trading/runs to the allowed run roots. Also validate the derived backtest source against VALID_SOURCES (fall back to 'auto' with a warning) and document the goal-replace semantics. #252 local loader silently emptied tz-aware CSV/Parquet inputs (a tz-naive vs tz-aware Timestamp comparison raised TypeError that was swallowed). Normalize the timezone in _normalize_columns. Adds registry-level + end-to-end tests for both autopilot tools and a tz regression test for the loader.
warren618
added a commit
that referenced
this pull request
Jun 23, 2026
…Bridge / Research Delivery) (#297) Mark Research Autopilot (Phase 1-3, #260/#267), the local Data Bridge loader (#252), and the scheduled-research scheduler/executor (#272/#278/#288) as shipped in the Roadmap status column across all 5 READMEs. Feature descriptions left intact so SQL connectors and multi-channel outbound delivery still read as pending. Closes #294.
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.
Summary
Adds a
localdata loader for users to bring their own OHLCV data files(CSV, Parquet, DuckDB) into backtests without third-party APIs.
Changes
agent/backtest/loaders/local_loader.py— @register LocalLoader^local:symbol patternTests