Skip to content

Set up Cursor Cloud dev environment (AGENTS.md) - #1

Draft
devansh-dek wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-ba78
Draft

Set up Cursor Cloud dev environment (AGENTS.md)#1
devansh-dek wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-ba78

Conversation

@devansh-dek

Copy link
Copy Markdown
Owner

Summary

Sets up the development environment for this Python quant-trading toolkit and documents it for future Cloud agents.

  • Adds AGENTS.md with a ## Cursor Cloud specific instructions section covering the venv-based setup, lint/test/backtest/walk-forward commands, and the optional live paper-trading mode (needs Binance Testnet keys).
  • Configures the startup update script (venv creation + pip install -e ".[dev]").

No application code was changed.

Verification

All commands run inside the project-local venv/ (Python 3.12).

Step Command Result
Verify python scripts/verify_setup.py All checks OK
Lint ruff check src tests config scripts run_*.py All checks passed
Tests pytest tests/ -v 12 passed
Backtest python run_backtest.py --report -41.66% return, HTML report generated
Walk-forward python run_walkforward.py 12 OOS windows, aggregate metrics produced

Live paper trading (run_live.py) is an optional mode requiring user-provided Binance Testnet keys in .env; without them the exchange wrapper fails gracefully (expected).

Backtest HTML report

Backtest report metrics
Equity curve and drawdown

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

Co-authored-by: devansh.2023ug1058 <devansh.2023ug1058@iiitranchi.ac.in>
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