Apr
4
Question, from Sushil Kedia
April 4, 2009 |
What may be a good way for generating synthetic series of stock prices that shows OHLC for each day? What assumptions are reasonable to make in this endeavor?
Adam G Replies:
How about bootstrapping an existing series to remove any serial correlation (which also would remove any persistence of vol shocks)? Could carry further and mix and match daily “bars” from various instruments into one synthetic in random order.
Comments
3 Comments so far
Archives
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- Older Archives
Resources & Links
- The Letters Prize
- Pre-2007 Victor Niederhoffer Posts
- Vic’s NYC Junto
- Reading List
- Programming in 60 Seconds
- The Objectivist Center
- Foundation for Economic Education
- Tigerchess
- Dick Sears' G.T. Index
- Pre-2007 Daily Speculations
- Laurel & Vics' Worldly Investor Articles
How about bootstrapping an existing series to remove any serial correlation (which also would remove any persistence of vol shocks)? Could carry further and mix and match daily “bars” from various instruments into one synthetic in random order.
During chart model development, I determined that creating an open from the prior close is an accurate way to start a new period calculation. Next build the high and low, then lastly the close.
Obtain historic data as far back as possible for the security to be modeled. Compute key statistics such as max moves, magnitude and number of up and down days, magnitude and number of consecutive up and down days, standard deviation for different lengths of time, etc, etc. Create the same statistics for your model and adjust formula input values to fit. I use a starter series of actual historic data.
I use these for modeling stock indices:
Inverse Normal Distribution with a slightly positive mean for daily open with a several prior periods price look-back component
Random range bands for daily high and low, with a last period high or low component dependant on current open direction, (per historic statistics)
Inverse Beta Distribution for daily close, use separate Inverse Beta Distribution calculation for an up or down day, (per historic statistics)
Standard deviation for distribution equations are a ratio of model created and randomly derived, with increased downside relative to upside volatility after consecutive down days, (per historic statistics)
Inverse Beta Distribution for random standard deviation
Hopefully the above information will be of assistance.
Good Luck
Anton
[Edited 2009/0406 6:18pm]
Adam,
It appears to me.
If the Highs and Lows are important, than the vols are important.
Hence, removing the persistence of vol shock would in most cases give a much different outcome. This would especially be true for the down markets, generally would not be as severe.
If the having accurate “ranges” for certain periods I would suggest.
Use GARCH to find the Vol for the day.
Use use this to find the nightly vol.
Use this with random number and appropriate to find the open.
Use a random draw and aa adjusted uniform distribution to place the open with respect to the range. You need to adjust the distribution because the open is diproportionaly equal to either the high of the day or the low.
Once the open is placed, this gives you the High and Low for the day.
Finally, likewise,use a random draw and aa adjusted uniform distribution to place the close with respect to the range. You need to adjust the distribution because the close is diproportionaly equal to either the high of the day or the low.