Skip to content

wangzitian0/my_finance

Repository files navigation

my_finance

try use script to get stock data

how to build env

init

# go to your workspace
git clone git@github.com:wangzitian0/my_finance.git
cd my_finance
pip install pipenv
pipenv shell
# might need sudo permission
ansible-playbook ansible/init.yml --ask-become-pass

run

pipenv shell
# it would pull lastest data and code for two repo
ansible-playbook ansible/setup.yml
# exit the pipenv
exit
# if you need the interpreter like pycharm by
which python

dev

# use this to keep env
pipenv install xxx
pipenv install xxx --dev
pipenv lock --verbose

how to run

fetch the data

# get the Magnificent 7 data
python run_job.py

# or param of file name inside the data/config/yfinance_nasdaq100.yml
python run_job.py yfinance_nasdaq100.yml

About

try use script to get stock data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published