MCPcopy Create free account

hub / github.com/WackyGem/Fleur / functions

Functions3,759 in github.com/WackyGem/Fleur

↓ 10 callersMethodconfig
(self)
pipeline/scheduler/src/scheduler/defs/resources/s3.py:25
↓ 10 callersFunctionendpoint_by_asset_name
(asset_name: str)
pipeline/scheduler/src/scheduler/defs/sources/eastmoney/schema.py:170
↓ 10 callersFunctionfixture_config
( buy_signal_top_n: u32, single_position_limit_pct: f64, )
engines/crates/rearview-core/src/strategy_backtest.rs:690
↓ 10 callersFunctionformat_clickhouse_date
(value: Date)
engines/crates/furnace-io/src/validation.rs:53
↓ 10 callersMethodinsert_rows
( &self, database: &str, table: &str, rows: &[T], query_id: &str,
engines/crates/rearview-core/src/clickhouse/mod.rs:856
↓ 10 callersMethodinsert_rows_with_run_id_field
( &self, database: &str, table: &str, rows: &[T], query_id: &str,
engines/crates/rearview-core/src/clickhouse/mod.rs:871
↓ 10 callersFunctionjsonBody
(body: T)
app/racingline/src/api/client.ts:74
↓ 10 callersFunctionmetric
( name: string, options: { allowFilter?: boolean allowScoring?: boolean cross?: string def
app/racingline/src/features/strategy/adapters.test.ts:643
↓ 10 callersFunctionocr_rows_to_table
(industry_id: str, rows: Sequence[Mapping[str, str]])
pipeline/scheduler/src/scheduler/defs/sources/jiuyan/ocr_schema.py:91
↓ 10 callersFunctionparse_env
(key: &str, default: &str)
engines/crates/rearview-core/src/config.rs:149
↓ 10 callersFunctionreadString
(value: JsonValue | undefined)
app/racingline/src/features/strategy/config-display.ts:657
↓ 10 callersFunctionrenderPage
()
app/racingline/src/routes/strategy-detail-page.test.tsx:430
↓ 10 callersFunctionrepresentative_rule
()
engines/crates/rearview-core/src/domain/rule.rs:433
↓ 10 callersFunctionrun_async_boundary
(awaitable: Coroutine[Any, Any, T], *, context: str)
pipeline/scheduler/src/scheduler/defs/common/async_boundary.py:8
↓ 10 callersFunctiontest_catalog
()
engines/crates/rearview-core/src/planner/sql.rs:1202
↓ 10 callersFunctionto_date32
将值转换为 date,用于 pa.date32() 列。 支持格式: - 'YYYY-MM-DD' (BaoStock, Sina) - 'YYYY-MM-DD 00:00:00' (EastMoney) - 'YYYYMMDD' (THS) - date/
pipeline/scheduler/src/scheduler/defs/common/types.py:17
↓ 10 callersFunctionto_float64
将值转换为 float,用于 pa.float64() 列。 None → 返回 None(缺失值) 转换失败时抛出 SchemaTypeError。
pipeline/scheduler/src/scheduler/defs/common/types.py:54
↓ 10 callersFunctionto_int64
将值转换为 int,用于 pa.int64() 列。 None → 返回 None(缺失值) 转换失败时抛出 SchemaTypeError。
pipeline/scheduler/src/scheduler/defs/common/types.py:77
↓ 10 callersFunctionto_timestamp
将时间值转为 datetime。 支持格式: - Unix 秒/毫秒时间戳(THS): '1776130842' - 'YYYY-MM-DD HH:MM:SS'(JiuYan): '2026-05-29 12:00:15' - ISO datetime 字符串: '
pipeline/scheduler/src/scheduler/defs/common/types.py:160
↓ 10 callersMethodvalidate
在执行 ClickHouse 操作前校验请求。
engines/crates/furnace-io/src/request/ma.rs:84
↓ 10 callersFunctionvalidate_exact_string
(field: &str, value: &str, expected: &str)
engines/crates/rearview-core/src/strategy_backtest.rs:408
↓ 10 callersFunctionvalidate_identifier
(name: &str, value: &str)
engines/crates/furnace-io/src/validation.rs:75
↓ 9 callersFunctionassert_close
(left: f64, right: f64)
engines/crates/furnace-core/src/operators/stddev.rs:211
↓ 9 callersFunctionassert_close
(left: f64, right: f64)
engines/crates/furnace-core/src/indicators/macd.rs:419
↓ 9 callersFunctionasset_key_to_parquet_object_key
( asset_key: dg.AssetKey, object_prefix: str = DEFAULT_OBJECT_PREFIX, partition_key: str | None =
pipeline/scheduler/src/scheduler/defs/storage/s3.py:15
↓ 9 callersFunctionbuild_daily_fetch_history_sources_to_marts_plan
( config: DailyFetchHistorySourcesToMartsRequest, *, today: date, controller_run_id: str, )
pipeline/scheduler/src/scheduler/defs/daily/source_to_marts.py:180
↓ 9 callersFunctiondaily_request
( *, target_scope: str = ALL_SOURCE_TO_MARTS_SCOPE, target_date: str = "2026-06-30", execution
pipeline/scheduler/tests/unit/daily/test_source_to_marts.py:441
↓ 9 callersFunctiondate
(year: i32, month: u32, day: u32)
engines/crates/rearview-portfolio-worker/src/main.rs:1878
↓ 9 callersMethodjson_client
( self, *, headers: Mapping[str, str] | HeaderFactory | None = None, max_attem
pipeline/scheduler/src/scheduler/defs/http/client_factory.py:22
↓ 9 callersFunctionmarkRuleDraftChanged
()
app/racingline/src/routes/strategy-page.tsx:1869
↓ 9 callersFunctionmetricValueElement
(label: string)
app/racingline/src/routes/strategy-detail-page.test.tsx:440
↓ 9 callersMethodnext
(&mut self, gain: f64, loss: f64)
engines/crates/furnace-core/src/indicators/rsi.rs:466
↓ 9 callersFunctionracingline_0051_low_reversal_config
()
engines/crates/rearview-core/src/examples.rs:40
↓ 9 callersFunctionresolve_result_attempt
( state: &AppState, portfolio_run_id: &str, override_attempt: Option<&str>, )
engines/crates/rearview-core/src/api/mod.rs:7463
↓ 9 callersFunctionresolve_strategy_portfolio_result
( state: &AppState, strategy_portfolio_id: &str, )
engines/crates/rearview-core/src/api/mod.rs:6582
↓ 9 callersFunctionto_string
将值转换为 string,用于 pa.string() 列。 None → 返回 None(缺失值) 永不抛出异常,任何值都能转为字符串。
pipeline/scheduler/src/scheduler/defs/common/types.py:143
↓ 9 callersFunctionunknown_field_count_for_mapping
( source: Mapping[str, object], *, allowed_top_level: Sequence[str], )
pipeline/scheduler/src/scheduler/defs/http/schemas.py:232
↓ 9 callersFunctionupdateRiskSettings
( key: Key, patch: Partial<SimulationSettings[Key]> )
app/racingline/src/features/strategy/components/simulation-position-panel.tsx:208
↓ 8 callersFunction_manifest
()
pipeline/contract_tools/tests/test_clickhouse_layer_migration.py:350
↓ 8 callersFunction_required_date
(value: date | None, *, field_name: str)
pipeline/scheduler/src/scheduler/defs/automation/source_raw_backfill.py:987
↓ 8 callersFunctionbuild_industry_ocr_snapshot
( *, repository: OcrSnapshotRepository, object_store: OcrResultObjectStore, )
pipeline/scheduler/src/scheduler/defs/sources/jiuyan/industry_ocr_snapshot.py:77
↓ 8 callersFunctiondecode_response
(message: bytes)
pipeline/scheduler/src/scheduler/defs/baostock/protocol.py:86
↓ 8 callersMethodfactory
(self)
pipeline/scheduler/src/scheduler/defs/resources/http.py:24
↓ 8 callersMethodformat
(self)
scripts/validate_docs_governance.py:29
↓ 8 callersFunctiongetCatalog
( catalogId: string, catalogOptions: IndicatorCatalog[] = indicatorCatalog )
app/racingline/src/features/strategy/utils.ts:179
↓ 8 callersMethodget_strategy_portfolio
( &self, strategy_portfolio_id: &str, )
engines/crates/rearview-core/src/postgres/mod.rs:1425
↓ 8 callersFunctioninputs
(values: &[Option<f64>])
engines/crates/furnace-core/src/indicators/rsi.rs:542
↓ 8 callersFunctionisPortfolioPendingFirstRunError
(error: unknown)
app/racingline/src/routes/strategy-detail-page.tsx:1756
↓ 8 callersFunctionmaterialize_trade_date_range
( context: PartitionedAssetContextProtocol, *, max_concurrent_trade_dates: int, fetch_table_fo
pipeline/scheduler/src/scheduler/defs/http/partitioning.py:210
↓ 8 callersFunctionmetric
(id: string, label = id)
app/racingline/src/features/strategy/utils.test.ts:114
↓ 8 callersFunctionoptional_env_int
(name: str, default: int)
pipeline/scheduler/src/scheduler/defs/config/env.py:45
↓ 8 callersMethodquery_mart_benchmark_returns
( &self, security_code: &str, start_date: NaiveDate, end_date: NaiveDate,
engines/crates/rearview-core/src/clickhouse/mod.rs:757
↓ 8 callersFunctionresponse
(rows: Vec<T>)
engines/crates/furnace-io/src/testing.rs:21
↓ 8 callersFunctionresponse_message
( body_parts: list[str], *, response_code: str = "95", compressed: bool = False, )
pipeline/scheduler/tests/fakes/baostock.py:22
↓ 8 callersMethodselect
(self, requested_dates: Sequence[date])
pipeline/scheduler/src/scheduler/defs/partitioning/policies.py:51
↓ 8 callersFunctionsuccess_record
( image_filename: str, *, industry_id: str = "industry-1", image_index: int = 0, row_count
pipeline/scheduler/tests/unit/sources/jiuyan/test_industry_ocr_snapshot.py:51
↓ 8 callersMethodsync
(self, request: RawSyncRequest)
pipeline/scheduler/src/scheduler/defs/clickhouse/raw_sync.py:61
↓ 8 callersFunctiontime
(value: &str)
engines/crates/rearview-core/src/api/mod.rs:8746
↓ 8 callersMethodto_cli_request
(self, *, run_id: str)
pipeline/scheduler/src/scheduler/defs/furnace/assets.py:84
↓ 8 callersMethodwrites_applied
Return true when this mode writes production rows.
engines/crates/furnace-io/src/request/price_pattern.rs:51
↓ 7 callersFunction_request
( *, partition_key: str, spec=BAOSTOCK_DAILY_K_SPEC, )
pipeline/scheduler/tests/unit/clickhouse/test_raw_sync.py:175
↓ 7 callersFunction_resolve_optional_env_value
(value: str | dg.EnvVar | None)
pipeline/scheduler/src/scheduler/defs/resources/slack.py:10
↓ 7 callersMethod_resolved_working_dir
(self)
pipeline/scheduler/src/scheduler/defs/resources/furnace.py:515
↓ 7 callersFunctionasJsonRecord
(value: JsonValue | undefined)
app/racingline/src/features/strategy/config-display.ts:649
↓ 7 callersFunctionassert_close
(left: f64, right: f64)
engines/crates/furnace-core/src/indicators/bollinger_bands.rs:366
↓ 7 callersFunctionbuildStatus
( overrides: Partial<StrategyBacktestRunStatusView> = {} )
app/racingline/src/features/strategy/backtest.test.ts:143
↓ 7 callersFunctioncalculate_kdj_series
为单只证券的有序时间序列计算 KDJ 输出。 无效或不完整的输入行会输出 `None` 指标字段,并且不会推进递归 K/D 状态。 日级增量运行应传入上一轮 `previous_state`;当其为 `None` 时, `initial_k=50` 和 `initial_d=50` 只用于第一次有
engines/crates/furnace-core/src/indicators/kdj.rs:317
↓ 7 callersFunctioncalculate_macd
Calculate MACD outputs for one ordered security series. # Errors Returns an error when parameters are invalid, input prices are invalid, or input `t
engines/crates/furnace-core/src/indicators/macd.rs:233
↓ 7 callersFunctioncompute_performance_metric
( config: &PerformanceMetricConfig, nav_rows: &[PortfolioNavRow], benchmark_returns: &[BenchmarkRe
engines/crates/rearview-core/src/portfolio_performance.rs:133
↓ 7 callersFunctioncompute_trade_calculation_outputs
( portfolio_run_id: &str, result_attempt_id: &str, output: &PortfolioSimulationOutput, )
engines/crates/rearview-core/src/portfolio_trade_metrics.rs:20
↓ 7 callersMethodconfig
(self, *, max_connections: int | None = None)
pipeline/scheduler/src/scheduler/defs/resources/baostock.py:33
↓ 7 callersFunctioncrossing_rule
(left: Operand, op: Operator, right: Operand)
engines/crates/rearview-core/src/planner/sql.rs:1213
↓ 7 callersFunctiondate
(value: &str)
engines/crates/furnace-io/src/runners/tests/fixtures.rs:281
↓ 7 callersFunctioneffective_clickhouse_type
Return the physical ClickHouse type implied by contract nullable facts.
pipeline/contract_tools/src/fleur_contracts/clickhouse_types.py:4
↓ 7 callersFunctionformatUiPercent
(value: number)
app/racingline/src/features/strategy/config-display.ts:711
↓ 7 callersFunctionhash_json
(value: &impl Serialize)
engines/crates/rearview-core/src/strategy_backtest.rs:470
↓ 7 callersFunctioninputs
(values: &[Option<f64>])
engines/crates/furnace-core/src/indicators/macd.rs:427
↓ 7 callersMethodis_canonical
判断参数是否为首个生产标准 KDJ 参数集。
engines/crates/furnace-core/src/indicators/kdj.rs:131
↓ 7 callersFunctionload_repo_dotenv_if_present
(path: Path = REPO_ROOT / ".env")
pipeline/contract_tools/src/fleur_contracts/env.py:13
↓ 7 callersFunctionparquet_schema_hash
(contract: DatasetContract)
pipeline/contract_tools/src/fleur_contracts/adapters/parquet.py:34
↓ 7 callersFunctionparse_mode
( value: &str, parse: impl FnOnce(&str) -> Result<M, E>, )
engines/crates/furnace/src/commands/common.rs:111
↓ 7 callersFunctionpercentToDecimal
(value: number)
app/racingline/src/features/strategy/execution.ts:297
↓ 7 callersFunctionpreview_request
(start_date: &str, end_date: &str, top_n: u32)
engines/crates/rearview-core/src/api/mod.rs:8534
↓ 7 callersMethodquery
( self, query: str, *, settings: dict[str, object] | None = None, )
pipeline/scheduler/src/scheduler/defs/clickhouse/protocols.py:25
↓ 7 callersFunctionquote_string_literal
(value: str)
pipeline/scheduler/src/scheduler/defs/clickhouse/sql.py:51
↓ 7 callersFunctionread_text
(path: Path, errors: list[str])
scripts/check_component_versions.py:288
↓ 7 callersFunctionreplace_partition_sql
构造将单个年份分区从 staging 表替换到目标表的 SQL。
engines/crates/furnace-io/src/schema/partition.rs:4
↓ 7 callersFunctionretain_existing_rows_for_staging
( executor: &mut E, plan: &RetainStagingRows<'_>, )
engines/crates/furnace-io/src/runners/shared/writing.rs:100
↓ 7 callersMethodrun_kdj
(self, request: FurnaceKdjCliRequest)
pipeline/scheduler/src/scheduler/defs/resources/furnace.py:155
↓ 7 callersFunctionsample_row
(**overrides: object)
pipeline/scheduler/tests/unit/sources/chinabond/test_government_bond.py:19
↓ 7 callersFunctionsecurity_display_map
( state: &AppState, security_codes: &[String], query_id: &str, )
engines/crates/rearview-core/src/api/mod.rs:5619
↓ 7 callersFunctionsecurity_display_name
( display: &BTreeMap<String, SecurityDisplayRow>, security_code: &str, )
engines/crates/rearview-core/src/api/mod.rs:7635
↓ 7 callersFunctionsummary
(*, result_row_count: int, success_count: int = 1)
pipeline/scheduler/tests/unit/sources/jiuyan/test_industry_ocr_snapshot.py:67
↓ 7 callersFunctiontyped_table
从行数据和 schema 构建 pa.Table,自动应用类型转换。 None 值直接追加,不经过转换函数(转换函数会抛出异常)。
pipeline/scheduler/src/scheduler/defs/common/schema.py:18
↓ 7 callersMethodvalidate
( self, catalog: &MetricCatalog, )
engines/crates/rearview-core/src/strategy_backtest.rs:162
↓ 7 callersFunctionvalidate_identifier
(value: str, *, field_name: str)
pipeline/scheduler/src/scheduler/defs/clickhouse/specs.py:115
↓ 7 callersFunctionvalidate_non_negative
(field: &str, value: f64)
engines/crates/rearview-core/src/strategy_backtest.rs:429
↓ 7 callersMethodwrite
(self, data: bytes)
pipeline/scheduler/tests/fakes/storage.py:32
↓ 6 callersFunction_coerce_string
(value: object | None)
pipeline/scheduler/src/scheduler/defs/sources/jiuyan/ocr_schema.py:155
↓ 6 callersFunction_first_int
(result: ClickHouseQueryResult)
pipeline/contract_tools/src/fleur_contracts/clickhouse_layer_migration.py:1431
← previousnext →101–200 of 3,759, ranked by callers