fidoandfido / blackswan

Blackswan Stock Game
Other
2 stars 0 forks source link

Graphing of code on stock split broken #32

Closed fidoandfido closed 13 years ago

fidoandfido commented 13 years ago

Code should be updated to allow 'break' in line when stock splits, or some other method to indicate the stock has split and not jsut declined in value by 1/2 or whatever.

fidoandfido commented 13 years ago

Inserting a null value into the time series will 'break' the line. So, what should happen is if the stock splits, then at the time the stock splits there should be three values:

fidoandfido commented 13 years ago

Done. Graphs still look pretty 'special' but a fair bit better than before. Reasonably happy with how it has turned out.