Skip to content

Download stock data and backtest moving average strategy - #1

Draft
boothcz wants to merge 1 commit into
masterfrom
cursor/download-stock-data-and-backtest-moving-average-strategy-gpt-5.1-codex-ae8a
Draft

Download stock data and backtest moving average strategy#1
boothcz wants to merge 1 commit into
masterfrom
cursor/download-stock-data-and-backtest-moving-average-strategy-gpt-5.1-codex-ae8a

Conversation

@boothcz

@boothcz boothcz commented Nov 24, 2025

Copy link
Copy Markdown
Owner

Implement a backtesting engine for Apple stock data, including download, visualization, and strategy performance analysis.


Open in Cursor Open in Web

This commit introduces a backtesting engine for Apple (AAPL) stock data. It includes functionalities to download, cache, and visualize price data. The engine supports running custom trading strategies, with initial implementations for buy-and-hold, do-nothing, and a 20-day moving average strategy. Performance metrics are calculated and saved, and cumulative returns are plotted for comparison.

Co-authored-by: congzhang19881107 <[email protected]>
@cursor

cursor Bot commented Nov 24, 2025

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

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.

2 participants