Create an API that provides stock market data, including prices, trends, and basic analytics.
This challenge is tech-agnostic. Choose your preferred programming language, framework, database, and ORM. For junior level, focus on core technologies without advanced features like caching.
- Fetch and serve financial data
- Implement data aggregation
- Handle real-time or cached data
-
Environment Setup:
- Programming language and web framework
- Database
- Docker (recommended for containerization)
-
Implementation Details:
- Create endpoints to get stock prices, historical data, and market indices
- Integrate with a stock data API or use mock data
-
Testing:
- Test with real stock symbols like AAPL or GOOGL
- Add portfolio tracking
- Implement real-time updates with WebSockets
- Include technical indicators
By completing this challenge, you will learn to work with external APIs and financial data.
Happy coding!