-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
There are several features needed by SHARKFin agents that go beyond HARK agents.
These include:
- A store of number of shares owned
- Some metadata that helps with the fact that we are using daily market returns while HARK agents generally operate quarterly or annually -- this is handled by the
macro_dayproperty
Currently, these are handled through monkey-patching / direct variable assignment on the AgentType objects by the simulation code.
This is a mess because these interventions are ad hoc and there's nothing except the simulation code logic to maintain the necessary invariants in the underlying data structures.
We should have better containment on this functionality, and locate it on the agent objects themselves, so the simulation code can focus on the simulation loop structure not the agent manipulations.
Reactions are currently unavailable