Skip to content

Commit ed5ab7c

Browse files
keitajclaude
andauthored
docs: refresh stale "Phase 1" docstring in mm_config (#135)
The module-level docstring still described mm_config as Phase 1 with four sub-configs, but Phases 2–3 (PRs #129, #130, #131) and the auto-exclude work (PR #132) added six more groups. Rewrite the opening paragraph so it reflects the current set without naming a specific phase that will keep going stale. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent cdf559f commit ed5ab7c

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

strategies/mm_config.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
"""Configuration dataclasses for ``MarketMakingStrategy``.
22
3-
Phase 1 of the MM config refactor: groups four sets of related parameters
4-
(loss-streak cooldown, micro-price skew, BBO velocity guard, per-coin
5-
overrides) into dataclasses and exposes a :meth:`MMConfig.from_legacy_dict`
6-
constructor for the existing flat ``strategy_config`` dict.
3+
Groups related MM parameters into sub-config dataclasses (loss-streak,
4+
micro-price, velocity guard, per-coin overrides, imbalance, close,
5+
schedule, dynamic offset, dynamic age, auto-exclude) under :class:`MMConfig`,
6+
and exposes :meth:`MMConfig.from_legacy_dict` to build it from the existing
7+
flat ``strategy_config`` dict.
78
89
This module also defines a handful of constants for values that were
910
historically read via ``config.get`` but never exposed via CLI/env. They

0 commit comments

Comments
 (0)