Skip to content

Generate email reports about various technical indicators

Notifications You must be signed in to change notification settings

bwwu/stockbuddy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequisites

  • Install go compiler.
  • (Optional) Docker.

Instructions

  1. Create a project dir under $GOPATH/src
mkdir -p $GOPATH/src/github.com/bwwu/stockbuddy
cd $GOPATH/src/github.com/bwwu/stockbuddy
git clone git@github.com:bwwu/stockbuddy.git
  1. Compile stockbuddy.
go build .
  1. Set TradingBot password as an env var.
export STOCKBUDDY_PASSWORD=<password>
  1. Run stockbuddy with appropriate flags, for example:
./stockbuddy --mail_to="foo@example.com,bar@example.com"

Runtime flags

Name Description Example Usage
mail_to comma-separated list of emails "a@foo.com,b@bar.com"
nomail run stockbuddy without sending --nomail=True
use_watchlist path to csvs of ticker symbols "path/to/stocks.csv"

Default watchlist is located at watchlists/default.txt.

Using Docker

You can also use Docker for development.

  1. Build the image setting the stockbuddy password.
docker build -t stockbuddy --build-arg secret=$STOCKBUDDY_PASSWORD
  1. Run the image.
docker run stockbuddy

About

Generate email reports about various technical indicators

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published