- Removed v10 TradingView indicator (moneyline_v10_momentum_dots.pinescript) - Removed v10 penalty system from signal-quality.ts (-30/-25 point penalties) - Removed backtest result files (sweep_*.csv) - Updated copilot-instructions.md to remove v10 references - Simplified direction-specific quality thresholds (LONG 90+, SHORT 80+) Rationale: - 1,944 parameter combinations tested in backtest - All top results IDENTICAL (568 trades, $498 P&L, 61.09% WR) - Momentum parameters had ZERO impact on trade selection - Profit factor 1.027 too low (barely profitable after fees) - Max drawdown -$1,270 vs +$498 profit = terrible risk-reward - v10 penalties were blocking good trades (bug: applied to wrong positions) Keeping v9 as production system - simpler, proven, effective.
42 lines
1.1 KiB
Python
42 lines
1.1 KiB
Python
from typing import Any, List
|
|
|
|
from numpy import ndarray, dtype, int_
|
|
from numpy.polynomial._polybase import ABCPolyBase
|
|
from numpy.polynomial.polyutils import trimcoef
|
|
|
|
__all__: list[str]
|
|
|
|
polytrim = trimcoef
|
|
|
|
polydomain: ndarray[Any, dtype[int_]]
|
|
polyzero: ndarray[Any, dtype[int_]]
|
|
polyone: ndarray[Any, dtype[int_]]
|
|
polyx: ndarray[Any, dtype[int_]]
|
|
|
|
def polyline(off, scl): ...
|
|
def polyfromroots(roots): ...
|
|
def polyadd(c1, c2): ...
|
|
def polysub(c1, c2): ...
|
|
def polymulx(c): ...
|
|
def polymul(c1, c2): ...
|
|
def polydiv(c1, c2): ...
|
|
def polypow(c, pow, maxpower=...): ...
|
|
def polyder(c, m=..., scl=..., axis=...): ...
|
|
def polyint(c, m=..., k=..., lbnd=..., scl=..., axis=...): ...
|
|
def polyval(x, c, tensor=...): ...
|
|
def polyvalfromroots(x, r, tensor=...): ...
|
|
def polyval2d(x, y, c): ...
|
|
def polygrid2d(x, y, c): ...
|
|
def polyval3d(x, y, z, c): ...
|
|
def polygrid3d(x, y, z, c): ...
|
|
def polyvander(x, deg): ...
|
|
def polyvander2d(x, y, deg): ...
|
|
def polyvander3d(x, y, z, deg): ...
|
|
def polyfit(x, y, deg, rcond=..., full=..., w=...): ...
|
|
def polyroots(c): ...
|
|
|
|
class Polynomial(ABCPolyBase):
|
|
domain: Any
|
|
window: Any
|
|
basis_name: Any
|