No description, website, or topics provided.
Ruby Shell
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 16 commits ahead of mendicant-original:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
example
lib
spec
.gitignore
Gemfile
Guardfile.example
README.md
Rakefile

README.md

Stocky

Prediction of stock options trend based on historical data.

Usage

Stocky reads provided input and parses it searching historical data. It supports either files accessible locally or downloadable from internet.

$ ./bin/stocky path/to/historical/data.txt

$ ./bin/stocky http://url.to/historical.csv?data=1

Input format

  • Data provided as an input must be in CSV format,
  • Newer data should be at the bottom of the file,
  • First row isnt relevant (header),
  • Trends about stock value are build from data available in 5th column (price of option at the end of the day),

Output

Stocky provides simple output idicating probability of price going up/down. Running this on real stock market data showhs that all types of trends are equally probable:

down -> down ~ 0.25
down -> up   ~ 0.25
up   -> down ~ 0.25
up   -> up   ~ 0.25