Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
This is the Python script for acquiring and storing stock fund data for Bargain Stock Funds. This script requires lxml and python-psycopg2 and will not work without these packages. 1. Development environment: Open a terminal window and enter the following commands: cd git clone https://github.com/jhsu802701/bsf-python.git sudo su postgres -c psql CREATE ROLE [local username] SUPERUSER LOGIN; \q createdb pg_bsf 2. Go to the bsf-python directory. To run the short version, enter "python bsf.py". To run the long version, enter "python bsf.py long". The nightly.sh script is for use by cron in the production environment.