Monday, May 5, 2025
Xval v0.7.27 - Module Parameters


Xval v0.7.27 - Module Parameters
We demoed Xval to one customer who asked: How do I set the valuation date? I promised to build an easy way to do that. Now, here it is.
xact Loading...
The params block says that the module expects a date parameter called valuation_date. If not provided, the valuation date will be 12/31/2024. The parameter can be referred to by simply using its name: valuation_date. Complicated, I know.
Setting parameters
When you go to run a module with a params block, Xval will let you set values for each parameter.
It's as easy as that. Now we can kickoff the run with those parameters set. The projection date will progress from the valuation date we set.
projection
t | projection_date |
---|---|
0 | 2025-12-31 |
1 | 2026-01-31 |
2 | 2026-02-28 |
... | ... |
1439 | 2145-11-30 |
Next Steps
We will continue building out the params feature by adding the ability to set parameters from within a Model. That will let users configure parameters within an Xval model.
You can try the new params feature yourself at demo.xval.io.