Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TreborNamor/TradingView-Machine-Learning-GUI
/ functions
Functions
188 in github.com/TreborNamor/TradingView-Machine-Learning-GUI
⨍
Functions
188
◇
Types & classes
24
↓ 1 callers
Function
_set_nested
Set a value in a nested dict, creating intermediate dicts as needed.
hyperview/config.py:165
↓ 1 callers
Method
_setup_sessions
( self, ws: Any, credentials: TradingViewCredentials, chart_session: str,
hyperview/downloader/session.py:110
↓ 1 callers
Function
_should_request_more
( request: CandleRequest, dataframe: pd.DataFrame, backfill_count: int, previous_oldest_time:
hyperview/downloader/session.py:264
↓ 1 callers
Method
_stem
(self, request: CandleRequest)
hyperview/downloader/cache.py:55
↓ 1 callers
Function
_validate_config
(config: dict[str, Any])
hyperview/config.py:194
↓ 1 callers
Function
_validate_metrics
(value: Any, key: str)
hyperview/presets.py:194
↓ 1 callers
Function
_validate_pairlist
(config: dict[str, Any])
hyperview/config.py:240
↓ 1 callers
Function
adx
Average Directional Index. Returns ``(ADX, +DI, -DI)``.
strategy/indicators.py:163
↓ 1 callers
Function
build_parser
()
hyperview/cli/__init__.py:12
↓ 1 callers
Function
configure_pycache
Redirect Python bytecode cache to a single project-level directory.
hyperview/runtime.py:8
↓ 1 callers
Method
covers_range
(self, frame: pd.DataFrame, request: CandleRequest)
hyperview/downloader/cache.py:32
↓ 1 callers
Method
create
(cls, initial_equity: float)
hyperview/backtest/engine.py:97
↓ 1 callers
Method
default_settings
(self)
strategy/adx_stochastic.py:27
↓ 1 callers
Method
default_settings
(self)
strategy/macd_rsi.py:18
↓ 1 callers
Method
download
(self)
hyperview/downloader/session.py:60
↓ 1 callers
Method
download_pairs
Download candle data for multiple (symbol, exchange) pairs sequentially. Returns a dict keyed by ``"EXCHANGE:SYMBOL"`` with the candle DataFr
hyperview/downloader/client.py:48
↓ 1 callers
Function
estimate_bar_count
(timeframe: str, start: str | None, end: str | None)
hyperview/downloader/timeframes.py:63
↓ 1 callers
Function
find_preset
( path: str | Path, *, strategy: str, pair: str, timeframe: str, session: str, adj
hyperview/presets.py:46
↓ 1 callers
Method
generate_signals
Generate buy/sell signal columns on the candle DataFrame. The returned DataFrame **must** contain at least: - ``buy_signal`` (bool c
strategy/base.py:22
↓ 1 callers
Function
get_strategy
Look up a strategy by name and return an instance.
strategy/__init__.py:24
↓ 1 callers
Method
list_cached
List all cached datasets with their date ranges.
hyperview/downloader/client.py:79
↓ 1 callers
Function
load_config
Load configuration from JSON file(s), env-var overrides, then validate. Resolution order (last wins): 1. Built-in defaults 2. Primary
hyperview/config.py:58
↓ 1 callers
Function
macd
MACD. Returns ``(macd_line, signal_line, histogram)``.
strategy/indicators.py:73
↓ 1 callers
Function
main
()
hyperview/cli/__init__.py:92
↓ 1 callers
Function
max_backfill_requests
(timeframe: str, start: str | None, end: str | None)
hyperview/downloader/timeframes.py:78
↓ 1 callers
Function
merge_frames
(left: pd.DataFrame | None, right: pd.DataFrame)
hyperview/downloader/cache.py:97
↓ 1 callers
Function
normalize_interval
(timeframe: str)
hyperview/downloader/timeframes.py:41
↓ 1 callers
Method
observe_equity
(self, curve_value: float)
hyperview/backtest/engine.py:130
↓ 1 callers
Function
print_hyperopt_table
Print a rich-formatted table of top hyperopt results.
hyperview/cli/formatting.py:129
↓ 1 callers
Function
print_summary_table
Print a rich-formatted summary table with a true PORTFOLIO aggregate row.
hyperview/cli/formatting.py:304
↓ 1 callers
Function
require_positive_number
( config: dict[str, Any], key: str, *, prefix: str = "", label: str = "Config value", )
hyperview/validators.py:77
↓ 1 callers
Function
resolve_credentials
()
hyperview/downloader/credentials.py:22
↓ 1 callers
Function
rsi
Relative Strength Index.
strategy/indicators.py:68
↓ 1 callers
Method
run
( self, signal_frame: pd.DataFrame | _CompiledSignalFrame, risk: RiskParameters,
hyperview/backtest/engine.py:161
↓ 1 callers
Function
run_optimization
Top-level entry point for SL/TP optimization.
hyperview/hyperopt/optimizer.py:118
↓ 1 callers
Function
save_best_preset
( path: str | Path, *, strategy: str, pair: str, timeframe: str, session: str, adj
hyperview/presets.py:74
↓ 1 callers
Function
stochastic
Stochastic Oscillator. Returns ``(%K, %D)``.
strategy/indicators.py:90
Method
__init__
( self, signal_frame: pd.DataFrame, candle_request: CandleRequest, strategy: B
hyperview/hyperopt/optimizer.py:137
Method
__init__
( self, pair_data: list[PairData], initial_equity: float = 100_000.0, )
hyperview/hyperopt/optimizer.py:191
Method
__init__
(self, cache_dir: str | Path | None = None)
hyperview/downloader/client.py:16
Method
__init__
(self, cache_dir: Path)
hyperview/downloader/cache.py:14
Method
__init__
(self, request: CandleRequest)
hyperview/downloader/session.py:57
Method
__init__
( self, candle_request: CandleRequest, initial_equity: float = 100_000.0, )
hyperview/backtest/engine.py:151
Method
_dedup_key
(self, item: Any)
hyperview/hyperopt/optimizer.py:86
Method
_dedup_key
(self, item: BacktestMetrics)
hyperview/hyperopt/optimizer.py:161
Method
_dedup_key
(self, item: MultiPairCandidate)
hyperview/hyperopt/optimizer.py:218
Method
_evaluate
(self, mode: Mode, sl_value: float, tp_value: float, objective: Objective)
hyperview/hyperopt/optimizer.py:151
Method
_evaluate
(self, mode: Mode, sl_value: float, tp_value: float, objective: Objective)
hyperview/hyperopt/optimizer.py:207
Method
_make_bundle
(self, request: OptimizationRequest, results: list[BacktestMetrics], output_path: Path)
hyperview/hyperopt/optimizer.py:164
Method
_make_bundle
(self, request: OptimizationRequest, results: list[MultiPairCandidate], output_path: Path)
hyperview/hyperopt/optimizer.py:221
Function
ad
Chaikin A/D Line via TA-Lib.
strategy/indicators.py:244
Function
aroon
Aroon indicator via TA-Lib. Returns (aroon_down, aroon_up).
strategy/indicators.py:178
Function
atr
Average True Range.
strategy/indicators.py:203
Function
bollinger_bands
Bollinger Bands. Returns ``(upper, middle, lower)``.
strategy/indicators.py:208
Method
cache_dir
(self)
hyperview/downloader/client.py:20
Function
cci
Commodity Channel Index (CCI) via TA-Lib.
strategy/indicators.py:127
Method
default_settings
Return a dict of this strategy's default hyper-parameters.
strategy/base.py:34
Function
ema
Exponential Moving Average.
strategy/indicators.py:49
Method
generate_signals
(self, candles: pd.DataFrame, settings: dict[str, Any])
strategy/adx_stochastic.py:46
Method
generate_signals
(self, candles: pd.DataFrame, settings: dict[str, Any])
strategy/macd_rsi.py:36
Function
mfi
Money Flow Index (MFI) via TA-Lib.
strategy/indicators.py:232
Function
momentum
Momentum (MOM) via TA-Lib.
strategy/indicators.py:149
Method
objective
(trial: optuna.Trial)
hyperview/hyperopt/optimizer.py:98
Method
objective_value
Return the sortable metric value for the given objective.
hyperview/models.py:174
Function
obv
On Balance Volume (OBV) via TA-Lib.
strategy/indicators.py:226
Function
psar
Parabolic SAR via TA-Lib.
strategy/indicators.py:189
Function
register_strategy
Class decorator that registers a strategy in the global registry.
strategy/__init__.py:15
Method
required_columns
(self)
strategy/adx_stochastic.py:43
Method
required_columns
Return the OHLCV column names this strategy needs.
strategy/base.py:38
Method
required_columns
(self)
strategy/macd_rsi.py:33
Function
resolve_config_path
Return the primary config path used for loading, if any.
hyperview/config.py:102
Function
roc
Rate of Change (ROC) via TA-Lib.
strategy/indicators.py:154
Function
run_backtest
(args: argparse.Namespace, config: dict)
hyperview/cli/backtest.py:89
Function
run_download_data
(args: argparse.Namespace, config: dict)
hyperview/cli/download.py:11
Function
run_hyperopt
(args: argparse.Namespace, config: dict)
hyperview/cli/hyperopt.py:133
Function
run_list_data
(args: argparse.Namespace, config: dict)
hyperview/cli/list.py:9
Function
run_list_strategies
(args: argparse.Namespace, config: dict)
hyperview/cli/list.py:30
Function
run_multi_optimization
Optimize SL/TP across all pairs simultaneously.
hyperview/hyperopt/optimizer.py:176
Function
sma
Simple Moving Average.
strategy/indicators.py:54
Function
stochastic_rsi
Stochastic RSI via TA-Lib. Returns (%K, %D).
strategy/indicators.py:109
Method
to_dict
(self)
hyperview/models.py:122
Method
to_dict
(self)
hyperview/models.py:132
Method
to_dict
(self)
hyperview/models.py:145
Method
to_dict
(self)
hyperview/models.py:180
Method
to_dict
(self)
hyperview/models.py:200
Function
vwap
Volume Weighted Average Price (cumulative intraday VWAP).
strategy/indicators.py:250
Function
williams_r
Williams %R via TA-Lib.
strategy/indicators.py:138
Function
wma
Weighted Moving Average.
strategy/indicators.py:59
← previous
101–188 of 188, ranked by callers