Config¶
midas.config
¶
YAML config loading for portfolio and strategy definitions.
load_portfolio(path)
¶
Load portfolio config and allocation constraints from YAML.
Returns (portfolio, constraints) tuple.
Source code in src/midas/config.py
load_strategies(path)
¶
Load strategy configs and allocation-level knobs from YAML.
Returns (strategies, constraints) tuple. sigmoid_steepness and rebalance_threshold live at the top level of the strategies file because they are meta-strategy knobs (how scores are blended/acted on).