Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

obithelight/finance-with-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

8 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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%

AltStyle によって変換されたページ (->オリジナル) /