sbenthall / SHARKFin

Simulating Heterogeneous Agents with Finance
7 stars 5 forks source link

Way of configuring AgentPopulation from command line or config inputs #179

Open sbenthall opened 1 year ago

sbenthall commented 1 year ago

We are currently defining the population traits in Python file: https://github.com/sbenthall/SHARKFin/blob/master/simulate/parameters.py

But for FIRE SHARK, we will need to sync up the AMMPs configuration and macro/consumer population with respect to, for example, risk aversion.

It would be better to have a cleaner way to specify a population's configuration, for example as YAML file.

This would be a good HARK feature eventually (as AgentPopulation is a good HARK feature).

sbenthall commented 1 year ago

Maybe to start, just have several populations defined in Python, with a string that can refer to them.

sbenthall commented 1 year ago

Hacky start to this in #185 for 0.4. Pushing this issue and its wider scope to a later milestone.