Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TraderAlice/OpenAlice
/ functions
Functions
9,054 in github.com/TraderAlice/OpenAlice
⨍
Functions
9,054
◇
Types & classes
2,062
↓ 1 callers
Function
listTemplates
()
ui/src/components/workspace/api.ts:134
↓ 1 callers
Function
listWorkspaceDir
(workspaceDir: string, relPath: string)
apps/desktop/src/ipc.ts:105
↓ 1 callers
Function
listWorkspaces
()
ui/src/components/workspace/api.ts:81
↓ 1 callers
Function
load
()
ui/src/components/market/useReferenceBoard.ts:16
↓ 1 callers
Function
load
()
ui/src/pages/MarketRotationPage.tsx:48
↓ 1 callers
Method
load
* 加载 symbol 索引。 * * 优先从磁盘缓存加载(<24h),否则从 OpenBB API 拉取全量列表。 * API 失败时降级到过期缓存。全部失败则以空索引启动(不中断)。
src/domain/market-data/equity/symbol-index.ts:61
↓ 1 callers
Method
load
()
src/domain/market-data/commodity/commodity-catalog.ts:29
↓ 1 callers
Function
loadGitState
(accountId: string)
services/uta/src/domain/trading/git-persistence.ts:28
↓ 1 callers
Function
loadOrCreateKey
()
src/core/sealing.ts:79
↓ 1 callers
Function
longMaxString
(val: number)
packages/ibkr/src/order.ts:27
↓ 1 callers
Function
longMaxString
(val: number)
packages/ibkr/src/execution.ts:20
↓ 1 callers
Function
longToNumber
(int64: { toString(): string })
packages/ibkr/src/protobuf/ErrorMessage.ts:160
↓ 1 callers
Function
longToNumber
(int64: { toString(): string })
packages/ibkr/src/protobuf/HistoricalTickBidAsk.ts:179
↓ 1 callers
Function
longToNumber
(int64: { toString(): string })
packages/ibkr/src/protobuf/TickNews.ts:176
↓ 1 callers
Function
longToNumber
(int64: { toString(): string })
packages/ibkr/src/protobuf/HistoricalTick.ts:118
↓ 1 callers
Function
longToNumber
(int64: { toString(): string })
packages/ibkr/src/protobuf/RealTimeBarTick.ts:230
↓ 1 callers
Function
longToNumber
(int64: { toString(): string })
packages/ibkr/src/protobuf/OrderStatus.ts:266
↓ 1 callers
Function
longToNumber
(int64: { toString(): string })
packages/ibkr/src/protobuf/HistoricalTickLast.ts:179
↓ 1 callers
Function
longToNumber
(int64: { toString(): string })
packages/ibkr/src/protobuf/OrderBound.ts:118
↓ 1 callers
Function
longToNumber
(int64: { toString(): string })
packages/ibkr/src/protobuf/Execution.ts:450
↓ 1 callers
Function
longToNumber
(int64: { toString(): string })
packages/ibkr/src/protobuf/CurrentTimeInMillis.ts:86
↓ 1 callers
Function
longToNumber
(int64: { toString(): string })
packages/ibkr/src/protobuf/CurrentTime.ts:82
↓ 1 callers
Function
looksLikeError
Heuristic: does this tool output look like an error?
src/core/tool-call-log.ts:241
↓ 1 callers
Function
lookupOnWindowsPath
(name: string, env: NodeJS.ProcessEnv)
src/workspaces/win-command.ts:76
↓ 1 callers
Function
macroLabel
Known FRED ids → localized labels; anything else falls back to the * English label the contract carries.
ui/src/pages/MarketBoardPage.tsx:343
↓ 1 callers
Function
main
()
packages/ibkr/ref/samples/Python/Testbed/Program.py:2861
↓ 1 callers
Function
main
()
packages/ibkr/ref/source/pythonclient/tests/manual.py:141
↓ 1 callers
Function
main
()
safe/harness/runner.ts:106
↓ 1 callers
Function
main
()
services/uta/src/main.ts:40
↓ 1 callers
Function
main
()
src/main.ts:76
↓ 1 callers
Function
main
()
scripts/migrate-order-sentinels.ts:90
↓ 1 callers
Function
main
()
scripts/guardian/prod.mjs:232
↓ 1 callers
Function
main
()
scripts/guardian/dev.ts:33
↓ 1 callers
Function
main
()
scripts/guardian/smoke.ts:97
↓ 1 callers
Function
make
(bindings: Record<string, unknown>)
src/workspaces/logger.ts:87
↓ 1 callers
Function
makeApp
* 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 callers
Function
makeCurrencyTickFormatter
* 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 callers
Function
makeDefaultContext
()
src/migrations/runner.ts:48
↓ 1 callers
Function
makeLock
(lockDir: string, owner: WorkspaceRootLockOwner)
src/workspaces/process-lock.ts:83
↓ 1 callers
Function
makePlaceOrderResult
(overrides: Partial<PlaceOrderResult> = {})
services/uta/src/domain/trading/brokers/mock/MockBroker.ts:154
↓ 1 callers
Function
makeProviderResolver
( basePath: string, getProviders: () => DefaultProviders, )
src/server/opentypebb.ts:45
↓ 1 callers
Function
makeSessionIdScanner
* 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 callers
Function
makeSubmittedOrder
(symbol = 'AAPL')
services/uta/src/domain/trading/snapshot/snapshot.spec.ts:36
↓ 1 callers
Function
makeSwapMarket
(base: string, quote: string)
services/uta/src/domain/trading/brokers/ccxt/ccxt-tools.spec.ts:35
↓ 1 callers
Function
makeUTASpec
()
scripts/guardian/prod.mjs:99
↓ 1 callers
Function
makeUniqueId
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 callers
Function
makeUta
(broker: MockBroker)
services/uta/src/__tests__/trading-tools.spec.ts:17
↓ 1 callers
Function
mapAlpacaOrderStatus
(alpacaStatus: string)
services/uta/src/domain/trading/brokers/alpaca/alpaca-contracts.ts:43
↓ 1 callers
Method
mapOpenOrder
(o: LongbridgeOrderLike)
services/uta/src/domain/trading/brokers/longbridge/LongbridgeBroker.ts:695
↓ 1 callers
Function
mapOrderStatus
(status: string | undefined)
services/uta/src/domain/trading/brokers/ccxt/ccxt-contracts.ts:36
↓ 1 callers
Method
mapOrderStatus
Map IBKR-style OrderState.status to OperationStatus.
services/uta/src/domain/trading/git/TradingGit.ts:880
↓ 1 callers
Method
markAlive
()
services/uta/src/domain/trading/brokers/ibkr/request-bridge.ts:385
↓ 1 callers
Method
markDead
()
services/uta/src/domain/trading/brokers/ibkr/request-bridge.ts:384
↓ 1 callers
Function
mask
Mask a secret string: show last 4 chars, prefix with "****"
src/webui/routes/trading-config.ts:33
↓ 1 callers
Function
matchRegionId
Find the region whose wires match a stored credential (for edit mode).
ui/src/pages/AIProviderPage.tsx:37
↓ 1 callers
Function
matchScore
* 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 callers
Function
matchesConstantTime
(presentedBuf: Buffer, candidate: WebhookToken)
src/webui/routes/webhook-auth.ts:53
↓ 1 callers
Function
measure
()
ui/src/components/MeasuredChartFrame.tsx:26
↓ 1 callers
Function
measure
()
ui/src/components/PageSidebarLayout.tsx:129
↓ 1 callers
Function
migrateLegacyUTA
* 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 callers
Function
mintInstanceId
()
packages/uta-protocol/src/brokers/preset-catalog.ts:586
↓ 1 callers
Function
mirrorProviderKeysToGlobal
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 callers
Function
mkRows
26 monthly rows: DFF flat-ish, CPIAUCSL compounding ~3%/yr.
src/domain/market-data/reference/macro.spec.ts:6
↓ 1 callers
Function
mostRecentSession
(sessions: readonly SessionRecord[])
ui/src/components/workspace/ChatWorkspaceSection.tsx:230
↓ 1 callers
Function
mountWidgetsEndpoint
( app: Hono, widgetsJson: Record<string, unknown>, )
packages/opentypebb/src/core/api/rest-api.ts:52
↓ 1 callers
Method
msgLoopRec
(self)
packages/ibkr/ref/source/pythonclient/ibapi/client.py:570
↓ 1 callers
Method
msgLoopTmo
(self)
packages/ibkr/ref/source/pythonclient/ibapi/client.py:566
↓ 1 callers
Function
newId
()
ui/src/tabs/store.ts:56
↓ 1 callers
Function
nextDelayMs
()
src/core/pump.ts:102
↓ 1 callers
Method
nextName
* 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 callers
Method
nextOrderId
(self)
packages/ibkr/ref/source/pythonclient/tests/manual.py:55
↓ 1 callers
Function
normalizeClaim
(claim: SessionControllerClaim | undefined)
src/workspaces/persistent-session.ts:593
↓ 1 callers
Function
normalizeContextWindow
(value: number | null | undefined)
ui/src/components/workspace/WorkspaceAIConfigModal.tsx:96
↓ 1 callers
Function
normalizeIssueFile
(path: string)
src/migrations/0011_workspace_issue_assignee_defaults/index.ts:57
↓ 1 callers
Method
observeExternalOrders
* 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 callers
Method
ocaSample
(self)
packages/ibkr/ref/samples/Python/Testbed/Program.py:1564
↓ 1 callers
Method
onAppended
(listener: (entry: InboxEntry) => void)
src/core/inbox-store.ts:118
↓ 1 callers
Method
onChildExit
* 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 callers
Method
onError
(err: Error)
src/webui/plugin.ts:306
↓ 1 callers
Method
onEvent
(key: string, _event: string, filename: string)
src/workspaces/transcript-watcher.ts:306
↓ 1 callers
Function
onMessage
(raw: unknown)
src/webui/web-ipc.ts:33
↓ 1 callers
Method
onPtyData
(data: Buffer | string)
src/workspaces/persistent-session.ts:447
↓ 1 callers
Method
onRemoved
Subscribe to live removals. Returns a dispose function.
src/core/inbox-store.ts:120
↓ 1 callers
Method
onSessionDisposed
(wsId: string, recordId: string)
src/workspaces/session-pool.ts:206
↓ 1 callers
Function
onToggle
(v: boolean)
ui/src/pages/SettingsPage.tsx:91
↓ 1 callers
Method
onWsMessage
(ws: WebSocket, raw: unknown, isBinary: boolean)
src/workspaces/persistent-session.ts:497
↓ 1 callers
Function
oneOf
(schema: Preset['schema'], field: string)
ui/src/lib/presetHelpers.ts:75
↓ 1 callers
Function
opSymbol
(op: WalletOperation)
ui/src/components/PushApprovalPanel.tsx:57
↓ 1 callers
Function
openFileSink
(path: string)
src/workspaces/logger.ts:24
↓ 1 callers
Function
openInPortfolio
(id: string)
ui/src/pages/TradingPage.tsx:143
↓ 1 callers
Function
orderTypeLabel
(type: string | undefined)
ui/src/components/PushApprovalPanel.tsx:74
↓ 1 callers
Method
parseAdditive
()
src/domain/analysis/calc-v2/parser.ts:76
↓ 1 callers
Function
parseAgentCredentials
* 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 callers
Method
parseArg
()
src/domain/analysis/calc-v2/parser.ts:202
↓ 1 callers
Function
parseCSV
(text: string)
packages/opentypebb/src/providers/oecd/utils/oecd-helpers.ts:30
↓ 1 callers
Function
parseCSV
Parse simple CSV text into rows
packages/opentypebb/src/providers/oecd/models/composite-leading-indicator.ts:36
↓ 1 callers
Function
parseCSV
Parse simple CSV text into rows
packages/opentypebb/src/providers/oecd/models/country-interest-rates.ts:40
↓ 1 callers
Function
parseCSV
Parse simple CSV text into rows
packages/opentypebb/src/providers/oecd/models/consumer-price-index.ts:46
↓ 1 callers
Method
parseCall
()
src/domain/analysis/calc-v2/parser.ts:187
↓ 1 callers
Function
parseCommand
(raw: string | undefined)
src/workspaces/config.ts:140
← previous
next →
3,101–3,200 of 9,054, ranked by callers