matteoredaelli / strategico

Automatically exported from code.google.com/p/strategico
GNU General Public License v3.0
1 stars 1 forks source link

Forcing period.end in EvalItem #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Sometimes it is useful to do predictions using a subset of historical data 
(maybe excluding the latest values in order to check how good are predictions)

Solution

Add period.end parameter in the functions
 EvalItem*
 Item.GetData
 ...

And using project.config$period.end as default value

This issue is related to #15 (useful for subsetting/ordering historical data)

Original issue reported on code.google.com by matteo.redaelli on 17 May 2011 at 10:14

GoogleCodeExporter commented 9 years ago
From today Item.GetData has 2 new parameters: period.start and period.end
If null, the default values of the project will be used

TODO: add teh 2 parameters also to Eval* functions

Original comment by matteo.redaelli on 18 May 2011 at 6:01

GoogleCodeExporter commented 9 years ago

Original comment by matteo.redaelli on 30 Jan 2012 at 8:04