feat: Momentum-Rotation-Backtest (dual momentum, weekly, fixe Parameter)
Neues Modul rotation.ts: wöchentliche Rotation über BTC/ETH/SOL/XRP_USDT auf 4h-Basis, Long-Only, top-1 Pair mit positivem 30-Tage-Momentum. 4 TDD-Tests (Leader-Selektion, Flip/Rotation, Cash-Modus, Determinismus). ClosedTrade.exitReason um 'rotation' erweitert. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -31,7 +31,7 @@ export interface ClosedTrade {
|
||||
qty: number;
|
||||
pnl: number;
|
||||
r: number;
|
||||
exitReason: 'trailing_stop' | 'end_of_data';
|
||||
exitReason: 'trailing_stop' | 'end_of_data' | 'rotation';
|
||||
side: 'long' | 'short';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user