You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two options to run the code(Run them locally or run on Google Cloud). See instructions below for each
First Option: Run code locally(Slow, takes around 3-5 minutes on my computer)
1. create virtual environment by running command below
python -m venv .venv
2. Install all the project dependency using by running command below
pip install -r requirements.txt
3. Activate your virtual environment()
.venv\scripts\activate
4. Go to option_pricing_api.py and price your preferred option by changing parameters as shown in screenshot below and run this file( make sure your virtual environment is activated or selected)
Second Option: Run code google cloud(很快 30 秒左右, 不需要任何安装, 新手推荐这个选项)