-
Notifications
You must be signed in to change notification settings - Fork 1
Regime-dependent stochastic transaction cost process #4170
Copy link
Copy link
Closed
Labels
agent:codexAgent-created issues from CodexAgent-created issues from Codexagents:apply-suggestionsApplies optimization suggestions from agents:optimizeApplies optimization suggestions from agents:optimizeagents:auto-pilot-pausePause auto-pilot at current stepPause auto-pilot at current stepagents:formattedIssue has been formatted to AGENT_ISSUE_TEMPLATEIssue has been formatted to AGENT_ISSUE_TEMPLATEneeds-humanphase:monte-carloPhase 3: Monte Carlo simulation frameworkPhase 3: Monte Carlo simulation frameworkstatus:in-progress
Metadata
Metadata
Assignees
Labels
agent:codexAgent-created issues from CodexAgent-created issues from Codexagents:apply-suggestionsApplies optimization suggestions from agents:optimizeApplies optimization suggestions from agents:optimizeagents:auto-pilot-pausePause auto-pilot at current stepPause auto-pilot at current stepagents:formattedIssue has been formatted to AGENT_ISSUE_TEMPLATEIssue has been formatted to AGENT_ISSUE_TEMPLATEneeds-humanphase:monte-carloPhase 3: Monte Carlo simulation frameworkPhase 3: Monte Carlo simulation frameworkstatus:in-progress
Why
Add a cost process that samples per-rebalance transaction costs conditional on regime (and optionally turnover/volatility).
Add a cost process that samples per-rebalance transaction costs conditional on regime (and optionally turnover/volatility).
Parent Epic: #4156
Depends on: #4162 (regime labeling)
Configuration
Scope
Not provided.
TODO: define scope and boundaries.
Non-Goals
Not provided.
TODO: list explicit exclusions.
Tasks
CostProcesswith configurable distributions (lognormal, etc.) insrc/trend_analysis/monte_carlo/costs.py.CostProcessclass structure. (verify: confirm completion in repo)CostProcess. (verify: confirm completion in repo)runner.pywith regime inputs.runner.pyto accept regime inputs. (verify: confirm completion in repo)tests/monte_carlo/test_costs.py.CostProcessin the runner. (verify: tests pass)CostProcesswith configurable distributions (lognormal, etc.).Acceptance Criteria
src/trend_analysis/monte_carlo/costs.pyrunner.pytests/monte_carlo/test_costs.pyImplementation Notes
File paths to modify:
src/trend_analysis/monte_carlo/costs.py,runner.py,tests/monte_carlo/test_costs.py.Configuration example:
Example methods to implement:
Deferred Tasks (Requires Human)
runner.pywith regime inputs. (The agent cannot modify repository settings or retry CI pipelines, which may be required for integration testing. | Ensure a human reviewer handles repository settings and CI pipeline adjustments.)tests/monte_carlo/test_costs.py. (The agent cannot guarantee specific test coverage percentages, which may be required for this task. | Define specific test coverage goals and have a human verify the results.)