Initial commit: Add project files
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# 연구 알고리즘 계약 하드닝
|
||||
|
||||
`kartsell_policy_contract.py`는 첨부 연구 번들의 결론을 생산코드와 독립적으로 검증하기 위한 dependency-free Golden Contract다.
|
||||
|
||||
- `SellRatioOfLot`와 `TargetPortfolioWeightAfter`를 분리한다.
|
||||
- Hard impairment → Portfolio survival → Profit floor → Concentration/Liquidity → Opportunity cost 순서를 고정한다.
|
||||
- Point-in-Time 공개시각이 평가시각을 넘으면 실패한다.
|
||||
- 전략적 코어는 gap/two-close/concentration/opportunity 정책에서 보존되지만, 자본바닥 정책은 생존을 위해 코어 아래로 축소할 수 있다.
|
||||
- 이 코드는 주문·추천·생산 모델이 아니다.
|
||||
|
||||
실행:
|
||||
|
||||
```bash
|
||||
cd research/hardening
|
||||
python -m unittest -v
|
||||
```
|
||||
Reference in New Issue
Block a user