Skip to content

holdenmatt/Backtester.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backtester.io

Backtest asset allocations against historical data. A weekend project to help me rebalance my portfolio, and learn some new web technologies.

Architecture

Almost everything happens client-side in the browser:

  • app interactions,
  • all portfolio computations,
  • chart rendering (using HighCharts),
  • Backbone.js, Underscore, Twitter Bootstrap 2.0, jQuery...

The server is very simple:

  • serves static assets,
  • fetches monthly stock quotes from Yahoo, parses them, returns them as JSON,
  • Flask / Python, hosted on Heroku

Install

  1. Clone this repo.
  2. Run:
    $ virtualenv venv --distribute --no-site-packages
    $ source venv/bin/activate
    $ pip install -r requirements.txt

Run locally

$ (gem install foreman)
$ foreman start

Deploy to Heroku

http:https://devcenter.heroku.com/articles/python

$ heroku login
$ heroku create --stack cedar
$ git push heroku master

Thanks

Developed from my webapp-boilerplate, with thanks to:

About

Backtest investment allocations against historical data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages