Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Download stock data and backtest moving average strategy#1

Draft
boothcz wants to merge 1 commit intomasterboothcz/algorithmic-trading-python:masterfrom
cursor/download-stock-data-and-backtest-moving-average-strategy-gpt-5.1-codex-ae8aboothcz/algorithmic-trading-python:cursor/download-stock-data-and-backtest-moving-average-strategy-gpt-5.1-codex-ae8aCopy head branch name to clipboard
Draft

Download stock data and backtest moving average strategy#1
boothcz wants to merge 1 commit intomasterboothcz/algorithmic-trading-python:masterfrom
cursor/download-stock-data-and-backtest-moving-average-strategy-gpt-5.1-codex-ae8aboothcz/algorithmic-trading-python:cursor/download-stock-data-and-backtest-moving-average-strategy-gpt-5.1-codex-ae8aCopy head branch name to clipboard

Conversation

@boothcz
Copy link
Owner

@boothcz boothcz commented Nov 24, 2025

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 <congzhang19881107@gmail.com>
@cursor
Copy link

cursor bot commented Nov 24, 2025

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.