- Python
- Django
-
Activate the enviroment by running the [venv/Scripts/active]
-
Before running get_raw_data.py set the API_KEY. In windows OS you can use [set API_KE Y=your_api_key ] in ubuntu you can use [export API_KEY="your_api_key"].
-
Run the api by [python manage.py runserver 8000]
- [http://127.0.0.1:8000/api/financial_data/] will show the list of stocks.
- [http://127.0.0.1:8000/api/statistics/?start_date=2023-01-27&end_date=2023-02-24&symbol=IBM] will show the statistics.