portfolio+ command line interface for firebase operations.
pip install pyfirebasestockscli
Export the following environment variables:
export DATABASE_URL=https://<name>.firebaseio.com
export CRED_JSON=/path/to/firebase_sdk.json
export DATA_ROOT=/path/to/strategies
Create database and delete existing:
stocks -c
Update prices and filter:
stocks -u
Update prices:
stocks -p
Create strategies:
stocks -s