MCPcopy Create free account

hub / github.com/TreborNamor/TradingView-Machine-Learning-GUI / functions

Functions188 in github.com/TreborNamor/TradingView-Machine-Learning-GUI

↓ 38 callersFunctionto_numpy
Coerce input to a contiguous float64 numpy array (TA-Lib requirement).
strategy/indicators.py:29
↓ 28 callersFunctionwrap
Wrap a numpy array back into a pandas Series.
strategy/indicators.py:36
↓ 19 callersFunction_idx
(values: object)
strategy/indicators.py:41
↓ 10 callersMethod_send
(ws: Any, function: str, parameters: list[Any])
hyperview/downloader/session.py:206
↓ 9 callersFunction_resolve
Return CLI override if set, else config value, else default.
hyperview/cli/formatting.py:17
↓ 9 callersFunctionto_timestamp
(value: str | None)
hyperview/downloader/timeframes.py:52
↓ 6 callersFunctionformat_time
Format seconds into a human-readable string.
hyperview/utils.py:4
↓ 6 callersMethodobjective_value
Return the sortable metric value for the given objective.
hyperview/models.py:118
↓ 6 callersFunctionrequire_non_empty_string
( config: dict[str, Any], key: str, *, prefix: str = "", label: str = "Config value", )
hyperview/validators.py:41
↓ 6 callersMethodto_dict
(self)
hyperview/models.py:87
↓ 5 callersFunctioncheck_choice
(value: Any, allowed: frozenset[str] | set[str], key: str, label: str = "Preset file value")
hyperview/validators.py:104
↓ 4 callersFunction_arrow
Return an arrow-decorated string for rich markup. Parameters ---------- value : float The numeric value to display. fmt : str
hyperview/cli/formatting.py:187
↓ 4 callersFunction_clean
(value: str | None)
hyperview/downloader/credentials.py:150
↓ 4 callersFunctionbarssince
Count bars since *condition* was last True (vectorised, no Python loop).
strategy/indicators.py:267
↓ 4 callersFunctioncheck_non_empty_string
(value: Any, key: str, label: str = "Preset file value")
hyperview/validators.py:110
↓ 4 callersMethodcompile_signal_frame
(self, signal_frame: pd.DataFrame | _CompiledSignalFrame)
hyperview/backtest/engine.py:181
↓ 4 callersFunctionrequire_choice
( config: dict[str, Any], key: str, allowed: frozenset[str] | set[str], *, prefix: str = "
hyperview/validators.py:27
↓ 3 callersMethod_close_position
( self, position: _Position, exit_time: int, exit_price: float, exit_r
hyperview/backtest/engine.py:383
↓ 3 callersFunction_utc_now
()
hyperview/presets.py:190
↓ 3 callersMethodfrom_mode
Construct RiskParameters based on trade mode and SL/TP percentages.
hyperview/models.py:46
↓ 3 callersFunctionlist_strategies
Return sorted list of registered strategy names.
strategy/__init__.py:36
↓ 3 callersMethodload
(self, request: CandleRequest)
hyperview/downloader/cache.py:18
↓ 3 callersFunctionparse_pair
Parse 'EXCHANGE:SYMBOL' into (symbol, exchange).
hyperview/cli/formatting.py:25
↓ 3 callersFunctionrequire_number
( config: dict[str, Any], key: str, *, prefix: str = "", label: str = "Config value", )
hyperview/validators.py:65
↓ 3 callersFunctionresolve_pairlist
Return list of (symbol, exchange) tuples from --pairs, --symbol, or config pairlist.
hyperview/cli/formatting.py:39
↓ 3 callersFunctionstrategy_preset_path
(output_dir: str | Path, strategy: str)
hyperview/presets.py:29
↓ 3 callersFunctiontimeframe_seconds
(timeframe: str)
hyperview/downloader/timeframes.py:45
↓ 3 callersMethodwrite
(self, request: CandleRequest, frame: pd.DataFrame)
hyperview/downloader/cache.py:24
↓ 2 callersFunction_annualization_factor
Return sqrt(bars-per-year) for Sharpe annualization.
hyperview/backtest/engine.py:30
↓ 2 callersMethod_apply_date_range
Set the ``in_date_range`` bool column on *dataframe* from optional ISO date strings.
strategy/base.py:63
↓ 2 callersFunction_deep_merge
(base: dict[str, Any], override: dict[str, Any])
hyperview/config.py:174
↓ 2 callersFunction_encode_raw
(payload: str)
hyperview/downloader/session.py:38
↓ 2 callersFunction_generate_session
(prefix: str)
hyperview/downloader/session.py:42
↓ 2 callersFunction_hyperopt_arrow
Return an arrow-decorated string for rich markup (hyperopt variant).
hyperview/cli/formatting.py:117
↓ 2 callersMethod_legacy_path
(self, request: CandleRequest)
hyperview/downloader/cache.py:67
↓ 2 callersMethod_path
(self, request: CandleRequest)
hyperview/downloader/cache.py:43
↓ 2 callersFunction_read_json
Read a JSON file and return the top-level object.
hyperview/config.py:119
↓ 2 callersFunction_read_sqlite_rows
( source_path: Path, query: str, parameters: tuple[Any, ...], )
hyperview/downloader/credentials.py:123
↓ 2 callersFunction_resolve_config_path
(path: str | Path | None)
hyperview/config.py:107
↓ 2 callersFunction_row
( idx: str, pair: str, m_net: float, m_dd: float, m_sharpe: float,
hyperview/cli/formatting.py:348
↓ 2 callersMethod_simulate
( self, signal_frame: _CompiledSignalFrame, risk: RiskParameters, mode: Mode,
hyperview/backtest/engine.py:207
↓ 2 callersFunction_split_payloads
(raw_message: str)
hyperview/downloader/session.py:29
↓ 2 callersFunction_validate_payload
(payload: dict[str, Any])
hyperview/presets.py:149
↓ 2 callersFunction_validate_range_config
(optimization: dict[str, Any], key: str)
hyperview/config.py:222
↓ 2 callersFunctionbackfill_chunk_size
(timeframe: str)
hyperview/downloader/timeframes.py:74
↓ 2 callersFunctioncheck_positive_number
(value: Any, key: str, label: str = "Preset file value")
hyperview/validators.py:115
↓ 2 callersFunctioncrossed_above
True on bars where *left* crosses above *right*.
strategy/indicators.py:279
↓ 2 callersFunctioncrossed_below
True on bars where *left* crosses below *right*.
strategy/indicators.py:284
↓ 2 callersFunctiongenerate_signals
Instantiate strategy, generate signals, and print progress.
hyperview/cli/formatting.py:80
↓ 2 callersMethodget_history
( self, request: CandleRequest, force_refresh: bool = False, cache_only: bool
hyperview/downloader/client.py:23
↓ 2 callersFunctionload_candles
Load cached candle data and print progress.
hyperview/cli/formatting.py:59
↓ 2 callersFunctionload_strategy_presets
(path: str | Path)
hyperview/presets.py:33
↓ 2 callersMethodoptimize
(self, request: OptimizationRequest, output_path: Path)
hyperview/hyperopt/optimizer.py:88
↓ 2 callersMethodprepare_candles
Normalize and sort a candle DataFrame for strategy use.
strategy/base.py:42
↓ 2 callersMethodrecord_trade
(self, trade: Trade)
hyperview/backtest/engine.py:105
↓ 2 callersFunctionrequire_pair_string
(value: Any, *, key: str, label: str = "Config value")
hyperview/validators.py:89
↓ 2 callersFunctionrequire_positive_int
( config: dict[str, Any], key: str, *, prefix: str = "", label: str = "Config value", )
hyperview/validators.py:53
↓ 2 callersMethodrun_metrics
( self, signal_frame: pd.DataFrame | _CompiledSignalFrame, risk: RiskParameters,
hyperview/backtest/engine.py:171
↓ 2 callersFunctionslice_frame
(frame: pd.DataFrame, request: CandleRequest)
hyperview/downloader/cache.py:84
↓ 2 callersFunctionto_unix_timestamp
Convert an ISO date string to a UTC unix timestamp.
strategy/indicators.py:289
↓ 1 callersFunction_apply_env_overrides
Merge ``HYPERVIEW__``-prefixed environment variables into *config*. ``__`` is the level separator, matching Freqtrade convention. Values are
hyperview/config.py:132
↓ 1 callersMethod_apply_pending_order
( self, position: _Position | None, pending: _PendingOrder | None, bar_time: i
hyperview/backtest/engine.py:281
↓ 1 callersFunction_auto_discover
Import all strategy modules in this package so they self-register. Scans for top-level ``.py`` files inside the ``strategy/`` package, skippi
strategy/__init__.py:41
↓ 1 callersFunction_build_candidate
Aggregate per-pair metrics into a single candidate.
hyperview/hyperopt/optimizer.py:230
↓ 1 callersMethod_build_headers
(credentials: TradingViewCredentials)
hyperview/downloader/session.py:193
↓ 1 callersMethod_build_metrics
( self, stats: _MetricsAccumulator, risk: RiskParameters, mode: Mode,
hyperview/backtest/engine.py:417
↓ 1 callersMethod_build_next_order
( self, *, in_date_range: bool, buy_signal: bool, sell_signal: bool,
hyperview/backtest/engine.py:360
↓ 1 callersMethod_check_bar_exit
( self, position: _Position, open_price: float, high_price: float, low
hyperview/backtest/engine.py:328
↓ 1 callersFunction_coerce_env_value
Attempt JSON decode; fall back to plain string.
hyperview/config.py:157
↓ 1 callersFunction_compute_portfolio_aggregate
Compute aggregate portfolio metrics from per-pair results.
hyperview/cli/formatting.py:213
↓ 1 callersFunction_cookie_header_value
(cookies: dict[str, str])
hyperview/downloader/session.py:46
↓ 1 callersFunction_copy_sqlite_snapshot
(source_path: Path, snapshot_path: Path)
hyperview/downloader/credentials.py:138
↓ 1 callersFunction_deduplicate_and_rank
( items: list[Any], objective: Objective, dedup_key: Callable[[Any], tuple], )
hyperview/hyperopt/optimizer.py:53
↓ 1 callersFunction_default_firefox_profile_dir
()
hyperview/downloader/credentials.py:52
↓ 1 callersFunction_encode_message
(function: str, parameters: list[Any])
hyperview/downloader/session.py:33
↓ 1 callersMethod_evaluate
(self, mode: Mode, sl_value: float, tp_value: float, objective: Objective)
hyperview/hyperopt/optimizer.py:80
↓ 1 callersFunction_extract_dataframe
(payloads: list[dict[str, Any]])
hyperview/downloader/session.py:221
↓ 1 callersFunction_find_series_points
(payload: Any)
hyperview/downloader/session.py:248
↓ 1 callersMethod_handle_initial_heartbeat
(ws: Any)
hyperview/downloader/session.py:210
↓ 1 callersFunction_load_cookie_map
(profile_dir: Path)
hyperview/downloader/credentials.py:91
↓ 1 callersFunction_load_from_firefox_profile
()
hyperview/downloader/credentials.py:37
↓ 1 callersMethod_make_bundle
(self, request: OptimizationRequest, results: list, output_path: Path)
hyperview/hyperopt/optimizer.py:83
↓ 1 callersMethod_mark_to_market
(self, equity: float, position: _Position | None, close_price: float)
hyperview/backtest/engine.py:410
↓ 1 callersFunction_matches_scope
(left: dict[str, Any], right: dict[str, Any])
hyperview/presets.py:186
↓ 1 callersFunction_normalize_config
(config: dict[str, Any])
hyperview/config.py:182
↓ 1 callersFunction_normalize_payload
(payload: dict[str, Any])
hyperview/presets.py:144
↓ 1 callersFunction_parse_cache_stem
Parse cache filename stem across naming conventions. Preferred: TF-session-EXCHANGE-SYMBOL[-adjustment] Legacy: EX_SYM_TF_session[_adjus
hyperview/downloader/client.py:112
↓ 1 callersFunction_print_progress
(current: int, total: int, start_time: float, phase: str)
hyperview/hyperopt/optimizer.py:21
↓ 1 callersFunction_rank
(items: list[Any], objective: Objective)
hyperview/hyperopt/optimizer.py:45
↓ 1 callersFunction_read_existing_payload
(file_path: Path, strategy: str)
hyperview/presets.py:128
↓ 1 callersFunction_read_local_storage
(profile_dir: Path, keys: list[str])
hyperview/downloader/credentials.py:104
↓ 1 callersMethod_receive_loop
( self, ws: Any, chart_session: str, )
hyperview/downloader/session.py:141
↓ 1 callersFunction_resolve_backtest_risk
( *, args: argparse.Namespace, symbol: str, exchange: str, strategy_name: str, timefra
hyperview/cli/backtest.py:181
↓ 1 callersFunction_resolve_download_timeframes
(args: argparse.Namespace, config: dict)
hyperview/cli/download.py:45
↓ 1 callersMethod_resolve_existing_path
(self, request: CandleRequest)
hyperview/downloader/cache.py:46
↓ 1 callersFunction_resolve_preset_file_path
Resolve --preset-file to an absolute path, falling back to the output dir.
hyperview/cli/backtest.py:225
↓ 1 callersFunction_rounded_metrics_dict
(metrics: BacktestMetrics)
hyperview/models.py:246
↓ 1 callersMethod_run_session
( self, ws: Any, credentials: TradingViewCredentials, interval: str, b
hyperview/downloader/session.py:87
↓ 1 callersFunction_run_single_backtest
( symbol: str, exchange: str, timeframe: str, session: str, adjustment: str, strategy_
hyperview/cli/backtest.py:18
↓ 1 callersFunction_run_single_hyperopt
( symbol: str, exchange: str, timeframe: str, session_type: str, adjustment: str, stra
hyperview/cli/hyperopt.py:25
next →1–100 of 188, ranked by callers