Snapshot before the DuckDB->PostgreSQL migration. data/, archive/, the 232MB rebuild zip, the Windows .venv, and .env are excluded via .gitignore. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
27 lines
527 B
Python
27 lines
527 B
Python
"""Risk and cutoff management module.
|
|
|
|
Pure logic for position sizing, entry cutoffs, and risk controls.
|
|
No broker or UI dependencies.
|
|
"""
|
|
|
|
from .entry_cuts import (
|
|
EntryCutoffConfig,
|
|
check_entry_cutoff,
|
|
EntryCutoffResult,
|
|
)
|
|
|
|
from .position_sizing import (
|
|
PositionSizingConfig,
|
|
calculate_position_size,
|
|
PositionSizeResult,
|
|
)
|
|
|
|
__all__ = [
|
|
"EntryCutoffConfig",
|
|
"check_entry_cutoff",
|
|
"EntryCutoffResult",
|
|
"PositionSizingConfig",
|
|
"calculate_position_size",
|
|
"PositionSizeResult",
|
|
]
|