Skip to content
Some simple tools for analyzing the stock market
Python Mako
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
LICENSE
Python.gitignore
README.md

README.md

StockAnalyzer

A collection of tools to help analyze the stock exchange.

Setup

Install python3 & numpy/scipy/sklearn Install postgres

Run python3 src/sa/models.py to create the database table/models needed (change src/sa/database.py as needed).

Install Library

sudo python3 src/setup.py install # install sa library

Scrapers

cd src/scrapers/
python3 listmanager.py -q # loads the listings table (do this first)
python3 listmanager.py -e # loads the event_history table (dividends/splits)
python3 listmanager.py -h # loads the price_history table

python3 morningstarscraper.py # loads morning star data

Bots

cd src/bots/

python3 [botname.py] # run a given bot (some bots need manual code changes)

Future Ideas

-Twitter Emotionality as features

You can’t perform that action at this time.