Stock Backtester and Analysis application for EOD (End-of-day) data.
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.
UserLists
databases
resources
src
README.md

README.md

Deprecated: See https://github.com/effinggames/stock-trader for a better version written in Scala.

Stock Backtester and Analysis application for EOD (End-of-day) data. Easy creation of java-based scripts, macros, user lists without touching internal code. Uses hot-reloading to rapidly edit scripts without restarting. Automatically downloads data from Yahoo finance.

Easy to setup - Steps:

  1. Download source and open in favorite IDE (I like Eclipse)
  2. Add JVM options to run configuration: -d64 -Xms512m -Xmx4g
  3. Add all the jars in resource folder to the build path
  4. Run starting from the main QuantTrader class
  5. Enter 'database download' to download initial set of Yahoo finance EOD data (~10 minutes).
  6. Then enter 'backtest test' to verify everything works, or 'help' to see all commands.

Add custom backtesting scripts to: com.qt.modules.backtest.scripts
Add custom backtesting macros to: com.qt.modules.backtest.macros
Add custom stock lists (SP500, NASDAQ100, etc) to: /UserLists (then do 'database rebuild')

Example Script:

Screenshots:

Please fork and improve :)