Skip to content

Instantly share code, notes, and snippets.

@johngriffin
Last active December 31, 2018 12:46
Show Gist options
  • Save johngriffin/2d585f0aadcf10e49a223e1d6dc543ca to your computer and use it in GitHub Desktop.
Save johngriffin/2d585f0aadcf10e49a223e1d6dc543ca to your computer and use it in GitHub Desktop.
{
"env": {
"buy_cost": 0.01,
"sell_cost": 0.01,
"max_volume": 10000,
"ticks_in_hour": 1,
"price_function": {
"type": "piecewise_linear",
"intervals": [
[
0,
2000000
],
[
2000000,
3000000
],
[
3000000,
9000000
]
],
"a": [
0,
0.000000999,
0.000000666
],
"b": [
0.001,
0.001,
1
]
}
},
"experiment": {
"epoch": 100000,
"dump_policy": false
},
"agents": [
{
"growth_rate_per_year": 0,
"starting_population": 100,
"name": "staker",
"type": "staker"
},
{
"population": 1,
"growth_rate_per_year": 4,
"starting_population": 100,
"name": "daily",
"type": "regular_user",
"subtype": "daily_user"
},
{
"population": 1,
"growth_rate_per_year": 4,
"starting_population": 70,
"name": "monthly",
"type": "regular_user",
"subtype": "monthly_user"
},
{
"population": 1,
"growth_rate_per_year": 4,
"starting_population": 50,
"name": "annual",
"type": "regular_user",
"subtype": "annual_user"
},
{
"population": 1,
"name": "service_provider",
"type": "service_provider",
"selling_interval_in_days": 1,
"sell_threshold": 1.05,
"revenue_fraction_to_sell": 0.1
},
{
"population": 1,
"name": "founder",
"type": "founder",
"initial_tokens_held": 2000000,
"vesting_time_in_days": 1095,
"tokens_locked_days": 365,
"min_sale_price": 1,
"sma_window_days": 30,
"max_std_dev": 0.001
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment