- 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.
29 lines
1.2 KiB
Python
29 lines
1.2 KiB
Python
"""
|
|
Back compatibility utils module. It will import the appropriate
|
|
set of tools
|
|
|
|
"""
|
|
import warnings
|
|
|
|
# 2018-04-04, numpy 1.15.0 ImportWarning
|
|
# 2019-09-18, numpy 1.18.0 DeprecatonWarning (changed)
|
|
warnings.warn("Importing from numpy.testing.utils is deprecated "
|
|
"since 1.15.0, import from numpy.testing instead.",
|
|
DeprecationWarning, stacklevel=2)
|
|
|
|
from ._private.utils import *
|
|
|
|
__all__ = [
|
|
'assert_equal', 'assert_almost_equal', 'assert_approx_equal',
|
|
'assert_array_equal', 'assert_array_less', 'assert_string_equal',
|
|
'assert_array_almost_equal', 'assert_raises', 'build_err_msg',
|
|
'decorate_methods', 'jiffies', 'memusage', 'print_assert_equal',
|
|
'raises', 'rundocs', 'runstring', 'verbose', 'measure',
|
|
'assert_', 'assert_array_almost_equal_nulp', 'assert_raises_regex',
|
|
'assert_array_max_ulp', 'assert_warns', 'assert_no_warnings',
|
|
'assert_allclose', 'IgnoreException', 'clear_and_catch_warnings',
|
|
'SkipTest', 'KnownFailureException', 'temppath', 'tempdir', 'IS_PYPY',
|
|
'HAS_REFCOUNT', 'suppress_warnings', 'assert_array_compare',
|
|
'_assert_valid_refcount', '_gen_alignment_data', 'assert_no_gc_cycles'
|
|
]
|