Welcome to the Stock Manager system. This is your hub for stock trading, portfolio management, and market analysis.
For POST endpoints, use tools like curl or Postman:
# Execute a trade
curl -X POST http://localhost:5000/stock/api/trade \
-H "Content-Type: application/json" \
-d '{"symbol": "AAPL", "action": "BUY", "quantity": 100}'
# Run a backtest
curl -X POST http://localhost:5000/stock/api/backtest \
-H "Content-Type: application/json" \
-d '{"strategy_name": "Test Strategy", "start_date": "2023-01-01", "end_date": "2024-01-01"}'
# Create portfolio
curl -X POST http://localhost:5000/stock/api/portfolio \
-H "Content-Type: application/json" \
-d '{"name": "My Portfolio", "holdings": []}'