Skip to content

Feat/backtest stock pool selection - #442

Merged
hljhs-max merged 7 commits into
mainfrom
feat/backtest-stock-pool-selection
Sep 4, 2026
Merged

Feat/backtest stock pool selection#442
hljhs-max merged 7 commits into
mainfrom
feat/backtest-stock-pool-selection

Conversation

@hljhs-max

Copy link
Copy Markdown
Collaborator

Summary

This PR expands the backtesting system with reproducible US stock-pool selection and a minute-level market-data execution pipeline. Alpaca backtests now use 5-minute source bars aggregated into completed hourly decision bars, while agents continue making decisions once per hour. Orders are filled at the open of the exact next 5-minute bar, and portfolios are marked to market every five minutes.

With 5-minute data, agents can better capture intrahour market movements, making the input granularity more appropriate for an hourly trading cadence. The finer-grained price and volume data also helps distinguish different sources of market flow and identify patterns associated with institutional and retail order activity. Because agents still make decisions and invoke the model only once per hour, this improvement does not increase model calls or inference costs.

@vercel

vercel Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
agentic-trading-lab Ready Ready Preview Sep 4, 2026 1:07am UTC

@hljhs-max
hljhs-max merged commit 3ad23cb into main Sep 4, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant