Synthetixio / simulation

Agent-based model of the proposed stablecoin.
24 stars 18 forks source link

Removed majority of hard coded agent code #65

Closed 0xdomrom closed 6 years ago

0xdomrom commented 6 years ago

Some cleanup of agent_manager, mostly to introduce player_names to agents/__init__.py

Can't think of a nicer way to have the individual player profit be calculated in stats.py without writing a new object.

Agent names need to be changed in four places now; agents/__init__.py, server.py/model.py(for initial values) and stats.py, any changes to the names will be reflected on the slider labels.