Skip to content

Instantly share code, notes, and snippets.

@dsyang
Created October 9, 2011 07:44
Show Gist options
  • Save dsyang/1273415 to your computer and use it in GitHub Desktop.
Save dsyang/1273415 to your computer and use it in GitHub Desktop.
Stock Market Problem on actual stocks
info] Running RunStocks
Running test.Some(10.0) start: 1 | end: 7
Running on GOOG weekly prices from 2004-2010: The jump: Some(614.86) Buy on:2004-08-30 Sell at: 2007-12-03
seq time: 9(ms)
par time: 10(ms)
Running on ARMH weekly prices from 2000-2010: The jump: Some(15.77) Buy on:2000-01-18 Sell at: 2000-02-28
seq time: 15(ms)
par time: 19(ms)
Running on AAPL weekly prices from 1990-2010: The jump: Some(208.64999999999998) Buy on:1997-12-22 Sell at: 2010-01-04
seq time: 45(ms)
par time: 33(ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment