bkrajendra / trader-dss

Automatically exported from code.google.com/p/trader-dss
0 stars 0 forks source link

update_gains works backwards #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When working out how much a stock has gained, the function works backwards.

What is the expected output? 
  The 10, 20, 30, 50, 100, 200 day gains should contain how much the stock
has gained in that many days.

What do you see instead?
  It finds the quote 10, 20, etc. days ago and says how much it will gain
in the next 10, 20, etc. days. Like telling the future, only in the past!

Please use labels and text to provide additional information.

Original issue reported on code.google.com by peter.st...@1ab.ltd.uk on 12 Jan 2010 at 9:57

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r8.

Original comment by peter.st...@1ab.ltd.uk on 12 Jan 2010 at 11:05

GoogleCodeExporter commented 9 years ago
Issue 2 has been merged into this issue.

Original comment by peter.st...@1ab.ltd.uk on 12 Jan 2010 at 11:09