# 'riskyasset' tests

**URL:** <https://discourse.vfitoolkit.com/t/riskyasset-tests/692>\
**Category:** Uncategorized\
**Created:** [July 25, 2026, 4:51am UTC](https://discourse.vfitoolkit.com/t/riskyasset-tests/692 "2026-07-25T04:51:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![robertdkirkby](https://discourse.vfitoolkit.com/user_avatar/discourse.vfitoolkit.com/robertdkirkby/32/287_2.png) [@robertdkirkby](https://discourse.vfitoolkit.com/u/robertdkirkby)\
**Post date:** [July 25, 2026, 4:51am UTC](https://discourse.vfitoolkit.com/t/riskyasset-tests/692/1 "2026-07-25T04:51:47Z")

</div>

‘riskyasset’ with aprime(d,u), which is used for portfolio-choice, now passes a whole bank of tests. This brings it in line with the kind of quality assurance that all the other ‘endogenous state types’ now pass. Should make it much more reliable.

These large banks of tests help ensure that VFI Toolkit behaves correctly across a massive range of applications (different combos of endogenous and exogenous states).

Note that this does not yet apply to the Epstein-Zin preferences implementations.

Here are all the tests for riskyasset:

> **[vfitoolkitTests/CoreFHorzRiskyAssetTests at main · vfitoolkit/vfitoolkitTests](https://github.com/vfitoolkit/vfitoolkitTests/tree/main/CoreFHorzRiskyAssetTests)**
>
> main/CoreFHorzRiskyAssetTests

---

<div class="post-metadata">

**Author:** ![robertdkirkby](https://discourse.vfitoolkit.com/user_avatar/discourse.vfitoolkit.com/robertdkirkby/32/287_2.png) [@robertdkirkby](https://discourse.vfitoolkit.com/u/robertdkirkby)\
**Post date:** [August 27, 2026, 4:10am UTC](https://discourse.vfitoolkit.com/t/riskyasset-tests/692/2 "2026-08-27T04:10:18Z")

</div>

Now applies to Epstein-Zin preferences with risky asset. New test bank covers all this so it should be highly reliable.
