MCPcopy Create free account

hub / github.com/WackyGem/Fleur / functions

Functions3,759 in github.com/WackyGem/Fleur

↓ 688 callersMethodget
(&self, logical_metric: &str)
engines/crates/rearview-core/src/domain/metric.rs:110
↓ 284 callersFunctiondate
(value: &str)
engines/crates/rearview-core/src/api/mod.rs:8742
↓ 240 callersMethoditer
(&self)
engines/crates/rearview-core/src/domain/metric.rs:120
↓ 120 callersFunctioncn
(...inputs: ClassValue[])
app/racingline/src/lib/utils.ts:4
↓ 110 callersMethodextend
(self, values: Mapping[str, RawMetadataValue])
pipeline/scheduler/src/scheduler/defs/common/metadata.py:40
↓ 83 callersFunctionvalidate_identifier
(identifier: &str)
engines/crates/rearview-core/src/clickhouse/mod.rs:3441
↓ 78 callersMethodlen
(&self)
engines/crates/rearview-core/src/portfolio/mod.rs:928
↓ 75 callersFunctiontime_result
( action: impl FnOnce() -> Result<T, FurnaceIoError>, )
engines/crates/furnace-io/src/summary/common.rs:119
↓ 71 callersFunctionquote_string_literal
(value: &str)
engines/crates/rearview-core/src/clickhouse/mod.rs:3519
↓ 69 callersMethodas_str
返回该模式在 CLI 中使用的拼写。
engines/crates/furnace-io/src/request/ma.rs:39
↓ 68 callersMethodrun
( self, items: Sequence[T], *, item_key: Callable[[T], str], worker: C
pipeline/scheduler/src/scheduler/defs/common/concurrency.py:85
↓ 66 callersMethodexecute
(&mut self, _sql: &str)
engines/crates/furnace/src/cli_tests.rs:56
↓ 66 callersMethodis_empty
判断当前有效窗口是否为空。
engines/crates/furnace-core/src/operators/sma.rs:69
↓ 62 callersMethodexecute_text
(&self, sql: &str, query_id: &str)
engines/crates/rearview-core/src/clickhouse/mod.rs:3231
↓ 60 callersFunctionquote_identifier
(identifier: &str)
engines/crates/rearview-core/src/clickhouse/mod.rs:3515
↓ 54 callersMethodinsert
(&mut self, metric: MetricDefinition)
engines/crates/rearview-core/src/domain/metric.rs:94
↓ 53 callersMethodtext
(self)
pipeline/scheduler/tests/fakes/http.py:46
↓ 51 callersMethodis_empty
(&self)
engines/crates/rearview-core/src/clickhouse/mod.rs:202
↓ 44 callersMethodlen
返回当前有效窗口内的值数量。
engines/crates/furnace-core/src/operators/sma.rs:64
↓ 41 callersFunctiondate
(year: i32, month: u32, day: u32)
engines/crates/rearview-core/src/portfolio/mod.rs:1902
↓ 41 callersFunctionelapsed_seconds
(started_at: float, finished_at: float)
pipeline/scheduler/src/scheduler/defs/common/clock.py:4
↓ 40 callersFunctionrequestJson
( path: string, options: RequestInit = {} )
app/racingline/src/api/client.ts:50
↓ 38 callersFunctionbaostock_response
( *, api_name: str = "query_stock_basic", records: list[list[str]] | None = None, field_names:
pipeline/scheduler/tests/fakes/baostock.py:42
↓ 37 callersMethodwrites_applied
判断该模式是否会写入生产 ClickHouse 数据。
engines/crates/furnace-io/src/request/ma.rs:49
↓ 31 callersMethodnext
输入下一行值。`None` 不进入窗口,也不改变状态。 # 错误 当输入值不是有限数时返回错误。
engines/crates/furnace-core/src/operators/sma.rs:35
↓ 31 callersFunctionnon_empty
(value: Option<String>)
engines/crates/rearview-core/src/api/mod.rs:5933
↓ 31 callersFunctionportfolio_read_query_id
( prefix: &str, portfolio_run_id: &str, result_attempt_id: &str, )
engines/crates/rearview-core/src/clickhouse/mod.rs:3259
↓ 30 callersFunctioncompare
(metricName: string, op: Operator, right: unknown)
app/racingline/src/features/strategy/adapters.test.ts:756
↓ 29 callersMethodadd
(self, key: str, value: RawMetadataValue)
pipeline/scheduler/src/scheduler/defs/common/metadata.py:32
↓ 28 callersFunctionField
({ className, orientation = "vertical", ...props }: React.ComponentProps<"div"> & VariantProps<typeof fi
app/racingline/src/components/ui/field.tsx:70
↓ 28 callersFunctionmetric
(name: &str, value_kind: ValueKind)
engines/crates/rearview-core/src/domain/rule.rs:867
↓ 27 callersFunctioncondition
( id: string, metricName: string, operator: ConditionOperator, value: string, overrides: Partial<Str
app/racingline/src/features/strategy/adapters.test.ts:698
↓ 27 callersFunctionpage
(limit: Option<u32>, offset: Option<u32>)
engines/crates/rearview-core/src/api/mod.rs:5694
↓ 25 callersFunctionargs
(values: &[&str])
engines/crates/furnace/src/cli_tests.rs:8
↓ 25 callersFunctionnumberOperand
(value: number)
app/racingline/src/features/strategy/adapters.test.ts:772
↓ 25 callersFunctionvalidate_security_code
(security_code: &str)
engines/crates/rearview-core/src/clickhouse/mod.rs:3461
↓ 24 callersMethodfetch_optional
(&mut self, sql: &str)
engines/crates/furnace-io/src/clickhouse.rs:213
↓ 22 callersMethodas_str
(self)
engines/crates/furnace-core/src/indicators/price_pattern.rs:449
↓ 22 callersFunctionrun_with_executor
( args: impl IntoIterator<Item = String>, executor: &mut E, )
engines/crates/furnace/src/cli.rs:23
↓ 22 callersFunctionsimulate_portfolio
( input: &PortfolioSimulationInput, )
engines/crates/rearview-core/src/portfolio/mod.rs:337
↓ 21 callersMethodcompile
( &self, rule: &RuleVersionSpec, start_date: Option<NaiveDate>, end_date: Opti
engines/crates/rearview-core/src/planner/sql.rs:58
↓ 21 callersMethodfetch_limit
(self)
engines/crates/rearview-core/src/postgres/mod.rs:3064
↓ 21 callersFunctionfixture_input
()
engines/crates/rearview-core/src/portfolio/mod.rs:1780
↓ 21 callersMethodprice_ma
读取指定窗口的价格 MA 值。
engines/crates/furnace-core/src/indicators/moving_average.rs:267
↓ 20 callersFunctionbuildPath
(path: string, query?: QueryParams)
app/racingline/src/api/client.ts:37
↓ 20 callersMethodget_strategy_backtest_run
( &self, strategy_backtest_run_id: &str, )
engines/crates/rearview-core/src/postgres/mod.rs:878
↓ 20 callersFunctionparse_json_each_row
(body: &str)
engines/crates/rearview-core/src/clickhouse/mod.rs:4029
↓ 19 callersMethodinto_parts
(self)
engines/crates/rearview-core/src/api/mod.rs:5072
↓ 19 callersFunctionpyarrow_type_from_contract
(type_text: str)
pipeline/contract_tools/src/fleur_contracts/adapters/parquet.py:74
↓ 18 callersFunctionload_registry
(contract_root: Path = DEFAULT_CONTRACT_ROOT)
pipeline/contract_tools/src/fleur_contracts/loader.py:21
↓ 18 callersMethodmark
(&mut self, stage: &str)
engines/crates/rearview-portfolio-worker/src/main.rs:1492
↓ 18 callersFunctionstock_basic_response_to_table
(response: BaostockResponse)
pipeline/scheduler/src/scheduler/defs/baostock/schemas.py:71
↓ 17 callersFunctionall
(conditions: unknown[])
app/racingline/src/features/strategy/adapters.test.ts:765
↓ 17 callersFunctionbuild_backfill_plan
( config: BackfillControllerRequest, *, today: date, controller_run_id: str, )
pipeline/scheduler/src/scheduler/defs/automation/source_raw_backfill.py:367
↓ 17 callersFunctionbuild_source_to_marts_plan
( config: SourceToMartsControllerRequest, *, today: date, controller_run_id: str, )
pipeline/scheduler/src/scheduler/defs/automation/source_to_marts_backfill.py:200
↓ 17 callersFunctionconnection_factory_from_url
(url: str)
pipeline/scheduler/src/scheduler/defs/repositories/industry_images.py:272
↓ 17 callersMethodinfo
(self, msg: object, *args: object)
pipeline/scheduler/src/scheduler/defs/automation/source_raw_backfill.py:265
↓ 16 callersMethodfetch_all
(&mut self, _sql: &str)
engines/crates/furnace/src/cli_tests.rs:26
↓ 16 callersMethodvalidate
(&self, catalog: &MetricCatalog)
engines/crates/rearview-core/src/domain/rule.rs:142
↓ 15 callersFunction_single_asset_key
(asset: dg.AssetsDefinition)
pipeline/scheduler/src/scheduler/defs/automation/source_raw_backfill.py:1018
↓ 15 callersFunctioncontroller_request
( *, target_scope: str, start_date: str | None = None, end_date: str | None = None, execut
pipeline/scheduler/tests/unit/automation/test_source_raw_backfill.py:424
↓ 15 callersMethoddecode
( self, response: HttpResponseProtocol, stats: HttpFetchStats, )
pipeline/scheduler/src/scheduler/defs/http/client.py:100
↓ 15 callersFunctionformatErrorMessage
(error: unknown)
app/racingline/src/routes/strategy-page.tsx:1493
↓ 15 callersMethodquery
( self, query: str, *, parameters: dict[str, object] | None = None, se
pipeline/contract_tools/src/fleur_contracts/clickhouse_layer_migration.py:49
↓ 15 callersFunctionquote_table
(database: str, table: str)
pipeline/scheduler/src/scheduler/defs/clickhouse/sql.py:47
↓ 15 callersFunctionsource_to_marts_request
( *, target_scope: str, start_date: str = "2024-01-01", end_date: str = "2024-12-31", exec
pipeline/scheduler/tests/unit/automation/test_source_to_marts_backfill.py:380
↓ 14 callersFunctioncalculate_price_pattern_series
Calculate price-pattern outputs for one ordered security series. # Errors Returns an error when parameters are invalid, prices are invalid, streaks
engines/crates/furnace-core/src/indicators/price_pattern.rs:222
↓ 14 callersFunctionmock_database_connection
()
pipeline/scheduler/tests/fakes/database.py:9
↓ 14 callersFunctionquote_identifier
(identifier: str)
pipeline/scheduler/src/scheduler/defs/clickhouse/sql.py:42
↓ 14 callersMethodrequire
(&self, logical_metric: &str)
engines/crates/rearview-core/src/domain/metric.rs:114
↓ 14 callersFunctionvalidate_date
(name: &str, value: &str)
engines/crates/furnace-io/src/validation.rs:17
↓ 13 callersFunction_jsonb
()
pipeline/migrate/versions/rearview/0007_create_strategy_backtest_control_plane.py:24
↓ 13 callersFunctiongroup
(conditions: StrategyCondition[])
app/racingline/src/features/strategy/adapters.test.ts:690
↓ 13 callersMethodmodel_validate
(cls, obj: Any)
pipeline/contract_tools/src/fleur_contracts/loader.py:68
↓ 13 callersFunctionvalidate_table_name
(name: &str, value: &str)
engines/crates/furnace-io/src/validation.rs:62
↓ 12 callersFunction_metadata_from_summary
(summary: Mapping[str, Any])
pipeline/scheduler/src/scheduler/defs/furnace/assets.py:413
↓ 12 callersMethodclaim_ocr_images
( self, *, limit: int | None, image_filenames: Sequence[str] | None, s
pipeline/scheduler/src/scheduler/defs/repositories/industry_images.py:464
↓ 12 callersMethodlabel
(self)
pipeline/scheduler/src/scheduler/defs/automation/source_raw_backfill.py:169
↓ 12 callersFunctionlocal_filesystem
()
pipeline/scheduler/tests/fakes/storage.py:8
↓ 12 callersFunctionraw_key_for_source_key
(source_asset_key: str)
pipeline/scheduler/src/scheduler/defs/automation/source_raw_backfill.py:1029
↓ 12 callersFunctionreadPerformanceMetric
( performance: | StrategyBacktestPerformanceUiView | StrategyBacktestPerformanceView | null, k
app/racingline/src/routes/strategy-page.tsx:1421
↓ 12 callersFunctionto_bool
将值转换为 bool,用于 pa.bool_() 列。 None → 返回 None(缺失值) 转换失败时抛出 SchemaTypeError。
pipeline/scheduler/src/scheduler/defs/common/types.py:119
↓ 11 callersFunction_jsonb
()
pipeline/migrate/versions/rearview/0003_create_rearview_portfolio_schema.py:24
↓ 11 callersMethodas_str
(self)
engines/crates/rearview-core/src/domain/metric.rs:162
↓ 11 callersFunctionassert_close
(left: f64, right: f64)
engines/crates/furnace-core/src/indicators/moving_average.rs:507
↓ 11 callersFunctionbuildStrategySelectionRuleSpec
( conditionGroups: StrategyConditionGroup[], catalog: MetricDefinition[], options: BuildRuleSpecOptions
app/racingline/src/features/strategy/adapters.ts:157
↓ 11 callersMethodcanonicalized
(mut self)
engines/crates/rearview-core/src/strategy_backtest.rs:186
↓ 11 callersFunctionenv_with_default
(key: &str, default: &str)
engines/crates/rearview-core/src/config.rs:145
↓ 11 callersFunctionformatPrice
(value: number | null | undefined)
app/racingline/src/features/strategy/components/stock-pool-preview-workbench.tsx:1119
↓ 11 callersMethodfrom
(source: clickhouse::error::Error)
engines/crates/furnace-io/src/error.rs:30
↓ 11 callersFunctionparse_clickhouse_date
(value: &str)
engines/crates/furnace-io/src/validation.rs:33
↓ 11 callersFunctionrequired_env_str
(name: str)
pipeline/scheduler/src/scheduler/defs/config/env.py:11
↓ 11 callersFunctionresolve_strategy_backtest_result_attempt
( run: &StrategyBacktestRunRecord, override_attempt: Option<&str>, )
engines/crates/rearview-core/src/api/mod.rs:7482
↓ 11 callersFunctionweight
( id: string, metricName: string, operator: ConditionOperator, value: string, score: number, overr
app/racingline/src/features/strategy/adapters.test.ts:720
↓ 10 callersFunction_jsonb
()
pipeline/migrate/versions/rearview/0008_create_strategy_portfolio_control_plane.py:24
↓ 10 callersFunction_required_int
(value: object, *, field_name: str)
pipeline/scheduler/src/scheduler/defs/repositories/industry_images.py:576
↓ 10 callersFunctionbuildStrategyWeightScoring
( weightIndicators: WeightIndicator[], catalog: MetricDefinition[], options: BuildWeightScoringOptions =
app/racingline/src/features/strategy/adapters.ts:205
↓ 10 callersFunctioncalculate_ma_series
为单只证券的有序时间序列计算 Moving Average 输出。 # 错误 当参数无效、价格无效或输入 `trade_date` 未严格递增时返回错误。
engines/crates/furnace-core/src/indicators/moving_average.rs:335
↓ 10 callersFunctioncalculate_rsi_series
为单只证券的有序时间序列计算 RSI 输出。 # 错误 当参数无效、价格无效或输入 `trade_date` 未严格递增时返回错误。
engines/crates/furnace-core/src/indicators/rsi.rs:350
↓ 10 callersMethodcommand
( self, cmd: str, *, settings: dict[str, object] | None = None, )
pipeline/scheduler/src/scheduler/defs/clickhouse/protocols.py:18
next →1–100 of 3,759, ranked by callers