MCPcopy Create free account

hub / github.com/TraderAlice/OpenAlice / functions

Functions9,054 in github.com/TraderAlice/OpenAlice

↓ 1 callersFunctionlistTemplates
()
ui/src/components/workspace/api.ts:134
↓ 1 callersFunctionlistWorkspaceDir
(workspaceDir: string, relPath: string)
apps/desktop/src/ipc.ts:105
↓ 1 callersFunctionlistWorkspaces
()
ui/src/components/workspace/api.ts:81
↓ 1 callersFunctionload
()
ui/src/components/market/useReferenceBoard.ts:16
↓ 1 callersFunctionload
()
ui/src/pages/MarketRotationPage.tsx:48
↓ 1 callersMethodload
* 加载 symbol 索引。 * * 优先从磁盘缓存加载(<24h),否则从 OpenBB API 拉取全量列表。 * API 失败时降级到过期缓存。全部失败则以空索引启动(不中断)。
src/domain/market-data/equity/symbol-index.ts:61
↓ 1 callersMethodload
()
src/domain/market-data/commodity/commodity-catalog.ts:29
↓ 1 callersFunctionloadGitState
(accountId: string)
services/uta/src/domain/trading/git-persistence.ts:28
↓ 1 callersFunctionloadOrCreateKey
()
src/core/sealing.ts:79
↓ 1 callersFunctionlongMaxString
(val: number)
packages/ibkr/src/order.ts:27
↓ 1 callersFunctionlongMaxString
(val: number)
packages/ibkr/src/execution.ts:20
↓ 1 callersFunctionlongToNumber
(int64: { toString(): string })
packages/ibkr/src/protobuf/ErrorMessage.ts:160
↓ 1 callersFunctionlongToNumber
(int64: { toString(): string })
packages/ibkr/src/protobuf/HistoricalTickBidAsk.ts:179
↓ 1 callersFunctionlongToNumber
(int64: { toString(): string })
packages/ibkr/src/protobuf/TickNews.ts:176
↓ 1 callersFunctionlongToNumber
(int64: { toString(): string })
packages/ibkr/src/protobuf/HistoricalTick.ts:118
↓ 1 callersFunctionlongToNumber
(int64: { toString(): string })
packages/ibkr/src/protobuf/RealTimeBarTick.ts:230
↓ 1 callersFunctionlongToNumber
(int64: { toString(): string })
packages/ibkr/src/protobuf/OrderStatus.ts:266
↓ 1 callersFunctionlongToNumber
(int64: { toString(): string })
packages/ibkr/src/protobuf/HistoricalTickLast.ts:179
↓ 1 callersFunctionlongToNumber
(int64: { toString(): string })
packages/ibkr/src/protobuf/OrderBound.ts:118
↓ 1 callersFunctionlongToNumber
(int64: { toString(): string })
packages/ibkr/src/protobuf/Execution.ts:450
↓ 1 callersFunctionlongToNumber
(int64: { toString(): string })
packages/ibkr/src/protobuf/CurrentTimeInMillis.ts:86
↓ 1 callersFunctionlongToNumber
(int64: { toString(): string })
packages/ibkr/src/protobuf/CurrentTime.ts:82
↓ 1 callersFunctionlooksLikeError
Heuristic: does this tool output look like an error?
src/core/tool-call-log.ts:241
↓ 1 callersFunctionlookupOnWindowsPath
(name: string, env: NodeJS.ProcessEnv)
src/workspaces/win-command.ts:76
↓ 1 callersFunctionmacroLabel
Known FRED ids → localized labels; anything else falls back to the * English label the contract carries.
ui/src/pages/MarketBoardPage.tsx:343
↓ 1 callersFunctionmain
()
packages/ibkr/ref/samples/Python/Testbed/Program.py:2861
↓ 1 callersFunctionmain
()
packages/ibkr/ref/source/pythonclient/tests/manual.py:141
↓ 1 callersFunctionmain
()
safe/harness/runner.ts:106
↓ 1 callersFunctionmain
()
services/uta/src/main.ts:40
↓ 1 callersFunctionmain
()
src/main.ts:76
↓ 1 callersFunctionmain
()
scripts/migrate-order-sentinels.ts:90
↓ 1 callersFunctionmain
()
scripts/guardian/prod.mjs:232
↓ 1 callersFunctionmain
()
scripts/guardian/dev.ts:33
↓ 1 callersFunctionmain
()
scripts/guardian/smoke.ts:97
↓ 1 callersFunctionmake
(bindings: Record<string, unknown>)
src/workspaces/logger.ts:87
↓ 1 callersFunctionmakeApp
* End-to-end gateway test using the real `calculate` tool (no client deps), so * the validate -> execute -> unwrap path is exercised for real, not mo
src/server/cli.spec.ts:17
↓ 1 callersFunctionmakeCurrencyTickFormatter
* Tick formatter with range-aware precision: tight ranges (< $2,000 across * the visible window) render full dollars with thousands separators * ("$
ui/src/components/EquityCurve.tsx:251
↓ 1 callersFunctionmakeDefaultContext
()
src/migrations/runner.ts:48
↓ 1 callersFunctionmakeLock
(lockDir: string, owner: WorkspaceRootLockOwner)
src/workspaces/process-lock.ts:83
↓ 1 callersFunctionmakePlaceOrderResult
(overrides: Partial<PlaceOrderResult> = {})
services/uta/src/domain/trading/brokers/mock/MockBroker.ts:154
↓ 1 callersFunctionmakeProviderResolver
( basePath: string, getProviders: () => DefaultProviders, )
src/server/opentypebb.ts:45
↓ 1 callersFunctionmakeSessionIdScanner
* Newline-buffered scanner over a byte stream: feeds COMPLETE lines to * `extract` until it returns an id, then goes inert. A pathological "line" *
src/workspaces/headless-task.ts:109
↓ 1 callersFunctionmakeSubmittedOrder
(symbol = 'AAPL')
services/uta/src/domain/trading/snapshot/snapshot.spec.ts:36
↓ 1 callersFunctionmakeSwapMarket
(base: string, quote: string)
services/uta/src/domain/trading/brokers/ccxt/ccxt-tools.spec.ts:35
↓ 1 callersFunctionmakeUTASpec
()
scripts/guardian/prod.mjs:99
↓ 1 callersFunctionmakeUniqueId
Pick an id derived from `label` that doesn't collide with anything in `existing` or the reserved `default` id.
src/webui/routes/channels.ts:40
↓ 1 callersFunctionmakeUta
(broker: MockBroker)
services/uta/src/__tests__/trading-tools.spec.ts:17
↓ 1 callersFunctionmapAlpacaOrderStatus
(alpacaStatus: string)
services/uta/src/domain/trading/brokers/alpaca/alpaca-contracts.ts:43
↓ 1 callersMethodmapOpenOrder
(o: LongbridgeOrderLike)
services/uta/src/domain/trading/brokers/longbridge/LongbridgeBroker.ts:695
↓ 1 callersFunctionmapOrderStatus
(status: string | undefined)
services/uta/src/domain/trading/brokers/ccxt/ccxt-contracts.ts:36
↓ 1 callersMethodmapOrderStatus
Map IBKR-style OrderState.status to OperationStatus.
services/uta/src/domain/trading/git/TradingGit.ts:880
↓ 1 callersMethodmarkAlive
()
services/uta/src/domain/trading/brokers/ibkr/request-bridge.ts:385
↓ 1 callersMethodmarkDead
()
services/uta/src/domain/trading/brokers/ibkr/request-bridge.ts:384
↓ 1 callersFunctionmask
Mask a secret string: show last 4 chars, prefix with "****"
src/webui/routes/trading-config.ts:33
↓ 1 callersFunctionmatchRegionId
Find the region whose wires match a stored credential (for edit mode).
ui/src/pages/AIProviderPage.tsx:37
↓ 1 callersFunctionmatchScore
* Score a result against the query. Higher is better. * Tiers: * 100 exact match on symbol, id, or name (case-insensitive) * 90 exact match
src/domain/market-data/aggregate-search.ts:59
↓ 1 callersFunctionmatchesConstantTime
(presentedBuf: Buffer, candidate: WebhookToken)
src/webui/routes/webhook-auth.ts:53
↓ 1 callersFunctionmeasure
()
ui/src/components/MeasuredChartFrame.tsx:26
↓ 1 callersFunctionmeasure
()
ui/src/components/PageSidebarLayout.tsx:129
↓ 1 callersFunctionmigrateLegacyUTA
* Best-effort migration from the pre-preset shape ({type, brokerConfig}) * to the preset shape ({presetId, presetConfig}). * * Returns null when th
src/core/config.ts:584
↓ 1 callersFunctionmintInstanceId
()
packages/uta-protocol/src/brokers/preset-catalog.ts:586
↓ 1 callersFunctionmirrorProviderKeysToGlobal
Mirror a Settings save back to the user-global file so every future * checkout starts with the keys. An EXPLICIT empty string clears the key * glo
src/core/config.ts:54
↓ 1 callersFunctionmkRows
26 monthly rows: DFF flat-ish, CPIAUCSL compounding ~3%/yr.
src/domain/market-data/reference/macro.spec.ts:6
↓ 1 callersFunctionmostRecentSession
(sessions: readonly SessionRecord[])
ui/src/components/workspace/ChatWorkspaceSection.tsx:230
↓ 1 callersFunctionmountWidgetsEndpoint
( app: Hono, widgetsJson: Record<string, unknown>, )
packages/opentypebb/src/core/api/rest-api.ts:52
↓ 1 callersMethodmsgLoopRec
(self)
packages/ibkr/ref/source/pythonclient/ibapi/client.py:570
↓ 1 callersMethodmsgLoopTmo
(self)
packages/ibkr/ref/source/pythonclient/ibapi/client.py:566
↓ 1 callersFunctionnewId
()
ui/src/tabs/store.ts:56
↓ 1 callersFunctionnextDelayMs
()
src/core/pump.ts:102
↓ 1 callersMethodnextName
* Derive a sticky per-(workspace, agent) name like `c1` / `x2`. Reads * existing records for the workspace; picks `max(suffix) + 1`, so deleted
src/workspaces/session-registry.ts:225
↓ 1 callersMethodnextOrderId
(self)
packages/ibkr/ref/source/pythonclient/tests/manual.py:55
↓ 1 callersFunctionnormalizeClaim
(claim: SessionControllerClaim | undefined)
src/workspaces/persistent-session.ts:593
↓ 1 callersFunctionnormalizeContextWindow
(value: number | null | undefined)
ui/src/components/workspace/WorkspaceAIConfigModal.tsx:96
↓ 1 callersFunctionnormalizeIssueFile
(path: string)
src/migrations/0011_workspace_issue_assignee_defaults/index.ts:57
↓ 1 callersMethodobserveExternalOrders
* Faithful-record pass for orders Alice didn't place: diff the broker's * open orders against every orderId the log has ever seen, and squash the
services/uta/src/domain/trading/UnifiedTradingAccount.ts:867
↓ 1 callersMethodocaSample
(self)
packages/ibkr/ref/samples/Python/Testbed/Program.py:1564
↓ 1 callersMethodonAppended
(listener: (entry: InboxEntry) => void)
src/core/inbox-store.ts:118
↓ 1 callersMethodonChildExit
* Child process exited but the session itself is sticking around. We tell * the client (lifecycle child-exit), then schedule a respawn after a shor
src/workspaces/persistent-session.ts:171
↓ 1 callersMethodonError
(err: Error)
src/webui/plugin.ts:306
↓ 1 callersMethodonEvent
(key: string, _event: string, filename: string)
src/workspaces/transcript-watcher.ts:306
↓ 1 callersFunctiononMessage
(raw: unknown)
src/webui/web-ipc.ts:33
↓ 1 callersMethodonPtyData
(data: Buffer | string)
src/workspaces/persistent-session.ts:447
↓ 1 callersMethodonRemoved
Subscribe to live removals. Returns a dispose function.
src/core/inbox-store.ts:120
↓ 1 callersMethodonSessionDisposed
(wsId: string, recordId: string)
src/workspaces/session-pool.ts:206
↓ 1 callersFunctiononToggle
(v: boolean)
ui/src/pages/SettingsPage.tsx:91
↓ 1 callersMethodonWsMessage
(ws: WebSocket, raw: unknown, isBinary: boolean)
src/workspaces/persistent-session.ts:497
↓ 1 callersFunctiononeOf
(schema: Preset['schema'], field: string)
ui/src/lib/presetHelpers.ts:75
↓ 1 callersFunctionopSymbol
(op: WalletOperation)
ui/src/components/PushApprovalPanel.tsx:57
↓ 1 callersFunctionopenFileSink
(path: string)
src/workspaces/logger.ts:24
↓ 1 callersFunctionopenInPortfolio
(id: string)
ui/src/pages/TradingPage.tsx:143
↓ 1 callersFunctionorderTypeLabel
(type: string | undefined)
ui/src/components/PushApprovalPanel.tsx:74
↓ 1 callersMethodparseAdditive
()
src/domain/analysis/calc-v2/parser.ts:76
↓ 1 callersFunctionparseAgentCredentials
* Parse the optional `agentCredentials` map from a template.json. Shape: * { "<agentId>": { "credentialSlug": "openai-1", "model": "gpt-5.5", *
src/workspaces/template-registry.ts:314
↓ 1 callersMethodparseArg
()
src/domain/analysis/calc-v2/parser.ts:202
↓ 1 callersFunctionparseCSV
(text: string)
packages/opentypebb/src/providers/oecd/utils/oecd-helpers.ts:30
↓ 1 callersFunctionparseCSV
Parse simple CSV text into rows
packages/opentypebb/src/providers/oecd/models/composite-leading-indicator.ts:36
↓ 1 callersFunctionparseCSV
Parse simple CSV text into rows
packages/opentypebb/src/providers/oecd/models/country-interest-rates.ts:40
↓ 1 callersFunctionparseCSV
Parse simple CSV text into rows
packages/opentypebb/src/providers/oecd/models/consumer-price-index.ts:46
↓ 1 callersMethodparseCall
()
src/domain/analysis/calc-v2/parser.ts:187
↓ 1 callersFunctionparseCommand
(raw: string | undefined)
src/workspaces/config.ts:140
← previousnext →3,101–3,200 of 9,054, ranked by callers