Skip to content

Finance with Python - Learn Python by diving into details of Stock market and build a ML model to predict Stock Prices

Notifications You must be signed in to change notification settings

utk09-NCL/finance-with-python-ai-ml-week

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Finance with Python | GHW AI/ML Week 2025

Session 1

Setup Python Environment

  1. Ensure Python is installed on your system - https://www.python.org/downloads/
  2. Open Terminal in VSCode
  3. Ensure you're in the project folder <path-to-finance-with-python> folder
  4. Create Virtual Environment: https://docs.python.org/3/library/venv.html
    • python -m venv finance_env
  5. Activate Virtual Environment
    • Mac/Linux: source finance_env/bin/activate
    • Windows: .\finance_env\Scripts\activate
  6. Verify Activation
    • Mac/Linux: which python
    • Windows: where python
  7. Install required packages
    • pip install numpy pandas matplotlib yfinance mplfinance plotly jupyter
  8. Create requirements.txt file
    • pip freeze > requirements.txt
    • To install from requirements.txt file: pip install -r requirements.txt
  9. To Deactivate virtual environment (when needed)
    • Mac/Linux/Windows: deactivate
  10. VSCode Integration
    • Press Ctrl/Cmd + Shift + P
    • Type: "Python: Select Interpreter"
    • Choose the interpreter: finance_env

Open Jupyter Notebook

  1. Open Jupyter Notebook:
    • In Terminal: jupyter notebook
    • This should open in browser
  2. Create a new Python3 notebook in the desired folder

About

Finance with Python - Learn Python by diving into details of Stock market and build a ML model to predict Stock Prices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published