75 lines
2.4 KiB
Python
75 lines
2.4 KiB
Python
"""Named preset configurations for the MYCO system."""
|
|
|
|
PRESETS: dict[str, dict] = {
|
|
"Conservative": {
|
|
"n_reserve_assets": 3,
|
|
"vault_names": ["USDC", "ETH", "DAI"],
|
|
"surface_lambdas": [1.0, 1.0, 1.0],
|
|
"initial_target_weights": [0.5, 0.25, 0.25],
|
|
"pamm_alpha_bar": 5.0,
|
|
"pamm_xu_bar": 0.9,
|
|
"pamm_theta_bar": 0.7,
|
|
"static_fee": 0.005,
|
|
"surge_fee_rate": 0.02,
|
|
"imbalance_threshold": 0.2,
|
|
"flow_memory": 0.999,
|
|
"flow_threshold": 0.05,
|
|
"max_labor_mint_fraction": 0.05,
|
|
"max_subscription_mint_fraction": 0.05,
|
|
"max_staking_bonus_fraction": 0.03,
|
|
},
|
|
"Balanced": {
|
|
"n_reserve_assets": 3,
|
|
"vault_names": ["USDC", "ETH", "DAI"],
|
|
"surface_lambdas": [1.0, 1.0, 1.0],
|
|
"initial_target_weights": [0.34, 0.33, 0.33],
|
|
"pamm_alpha_bar": 10.0,
|
|
"pamm_xu_bar": 0.8,
|
|
"pamm_theta_bar": 0.5,
|
|
"static_fee": 0.003,
|
|
"surge_fee_rate": 0.05,
|
|
"imbalance_threshold": 0.2,
|
|
"flow_memory": 0.999,
|
|
"flow_threshold": 0.10,
|
|
"max_labor_mint_fraction": 0.10,
|
|
"max_subscription_mint_fraction": 0.10,
|
|
"max_staking_bonus_fraction": 0.05,
|
|
},
|
|
"Aggressive": {
|
|
"n_reserve_assets": 3,
|
|
"vault_names": ["USDC", "ETH", "DAI"],
|
|
"surface_lambdas": [1.0, 1.0, 1.0],
|
|
"initial_target_weights": [0.34, 0.33, 0.33],
|
|
"pamm_alpha_bar": 20.0,
|
|
"pamm_xu_bar": 0.6,
|
|
"pamm_theta_bar": 0.3,
|
|
"static_fee": 0.001,
|
|
"surge_fee_rate": 0.10,
|
|
"imbalance_threshold": 0.2,
|
|
"flow_memory": 0.999,
|
|
"flow_threshold": 0.20,
|
|
"max_labor_mint_fraction": 0.15,
|
|
"max_subscription_mint_fraction": 0.15,
|
|
"max_staking_bonus_fraction": 0.08,
|
|
},
|
|
"High-Risk": {
|
|
"n_reserve_assets": 3,
|
|
"vault_names": ["USDC", "ETH", "DAI"],
|
|
"surface_lambdas": [1.0, 1.0, 1.0],
|
|
"initial_target_weights": [0.34, 0.33, 0.33],
|
|
"pamm_alpha_bar": 50.0,
|
|
"pamm_xu_bar": 0.4,
|
|
"pamm_theta_bar": 0.1,
|
|
"static_fee": 0.0,
|
|
"surge_fee_rate": 0.20,
|
|
"imbalance_threshold": 0.2,
|
|
"flow_memory": 0.999,
|
|
"flow_threshold": 0.30,
|
|
"max_labor_mint_fraction": 0.20,
|
|
"max_subscription_mint_fraction": 0.20,
|
|
"max_staking_bonus_fraction": 0.10,
|
|
},
|
|
}
|
|
|
|
DEFAULT_PRESET = "Balanced"
|