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
parseDate
* Parse a date string from multpl.com (e.g., "Jan 31, 2024").
packages/opentypebb/src/providers/multpl/models/sp500-multiples.ts:87
↓ 1 callers
Function
parseDate
* Parse a date string, returning null if unparseable.
src/domain/news/collector/rss-parser.ts:141
↓ 1 callers
Method
parseDict
`{ "1h": expr, name: expr }` — labeled panel.
src/domain/analysis/calc-v2/parser.ts:164
↓ 1 callers
Method
parseDictKey
()
src/domain/analysis/calc-v2/parser.ts:181
↓ 1 callers
Function
parseEnabledEnv
(raw: string | undefined)
apps/desktop/src/main.ts:141
↓ 1 callers
Function
parseFrontmatterObject
Parse a YAML frontmatter block into a plain object, or null when it isn't a * mapping. Yields the RAW object for in-place merge — the record from *
src/workspaces/issues/mutate.ts:258
↓ 1 callers
Function
parseHtmlTable
* Parse an HTML table from multpl.com. * The tables have format: Date | Value
packages/opentypebb/src/providers/multpl/models/sp500-multiples.ts:69
↓ 1 callers
Function
parseInterval
(s: string | null)
ui/src/components/market/KlinePanel.tsx:24
↓ 1 callers
Method
parseList
`[a, b, c]` — positional panel. Newlines + a trailing comma are allowed.
src/domain/analysis/calc-v2/parser.ts:149
↓ 1 callers
Function
parseLookback
(lookback: string)
src/domain/news/store.ts:27
↓ 1 callers
Method
parseOperationResult
(op: Operation, raw: unknown)
services/uta/src/domain/trading/git/TradingGit.ts:839
↓ 1 callers
Function
parsePlaybook
* Parse a playbook markdown file into structured cases. * * TODO (2026-05-23): the current playbook format is human-prose-heavy. * Cases are demarc
safe/harness/runner.ts:77
↓ 1 callers
Method
parsePostfix
()
src/domain/analysis/calc-v2/parser.ts:102
↓ 1 callers
Method
parsePriceChange
( change: string, )
services/uta/src/domain/trading/git/TradingGit.ts:809
↓ 1 callers
Method
parsePrimary
()
src/domain/analysis/calc-v2/parser.ts:134
↓ 1 callers
Method
parseProgram
()
src/domain/analysis/calc-v2/parser.ts:40
↓ 1 callers
Function
parseResizeControl
(data: string)
ui/src/components/workspace/Terminal.tsx:717
↓ 1 callers
Function
parseSince
(raw: string)
src/webui/workspaces-ws.ts:227
↓ 1 callers
Function
parseTimeframe
(s: string | null)
ui/src/components/market/KlinePanel.tsx:28
↓ 1 callers
Function
parseValue
* Parse a value string from multpl.com.
packages/opentypebb/src/providers/multpl/models/sp500-multiples.ts:100
↓ 1 callers
Function
perBarDays
Approximate calendar days per bar — used to size a count-bounded window.
src/domain/market-data/bars/bar-service.ts:77
↓ 1 callers
Function
periodLabel
(row: FinancialStatementRow)
ui/src/components/market/FinancialStatementsPanel.tsx:201
↓ 1 callers
Function
periodReturn
Cumulative return over the last `nDays` bars, or null if not enough data.
src/domain/analysis/sector-rotation.ts:87
↓ 1 callers
Function
pickPreset
(p: Preset)
ui/src/pages/AIProviderPage.tsx:446
↓ 1 callers
Method
placeOrder
(contract: Contract, order: Order, tpsl?: TpSlParams)
services/uta/src/domain/trading/brokers/ibkr/IbkrBroker.ts:349
↓ 1 callers
Method
placeOrder
(contract: Contract, order: Order, _tpsl?: TpSlParams)
services/uta/src/domain/trading/brokers/longbridge/LongbridgeBroker.ts:270
↓ 1 callers
Method
placeOrder
(contract: Contract, order: Order, tpsl?: TpSlParams)
services/uta/src/domain/trading/brokers/alpaca/AlpacaBroker.ts:272
↓ 1 callers
Method
placeOrder
(contract: Contract, order: Order, tpsl?: TpSlParams, extraParams?: Record<string, unknown>)
services/uta/src/domain/trading/brokers/ccxt/CcxtBroker.ts:496
↓ 1 callers
Method
placeOrder
(contract: Contract, order: Order, tpsl?: TpSlParams)
services/uta/src/domain/trading/brokers/mock/MockBroker.ts:277
↓ 1 callers
Method
placeOrderProtoBuf
(self, placeOrderRequestProto: PlaceOrderRequestProto)
packages/ibkr/ref/source/pythonclient/ibapi/client.py:2769
↓ 1 callers
Method
place_order_sync
Place an order and wait for the initial order status. Args: contract: Contract object order: Order object timeout: Timeout in seconds (use
packages/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py:433
↓ 1 callers
Function
planPorts
(cfg: PortConfig)
scripts/guardian/shared.ts:136
↓ 1 callers
Method
pollOnce
One poll tick: assign each NEW (since-register) session id to the oldest * unresolved pending in spawn order — same heuristic as the fs-watch path
src/workspaces/transcript-watcher.ts:215
↓ 1 callers
Method
printComboLegs
(self, comboLegList: list[ComboLeg])
packages/ibkr/ref/samples/Python/Testbed/Program.py:2259
↓ 1 callers
Method
printConditions
(self, conditions: list[OrderCondition])
packages/ibkr/ref/samples/Python/Testbed/Program.py:2245
↓ 1 callers
Method
printDeltaNeutralContract
(self, deltaNeutralContract: DeltaNeutralContract)
packages/ibkr/ref/samples/Python/Testbed/Program.py:2255
↓ 1 callers
Function
printLegacyDataNotice
(prefix = '[openalice]')
src/core/legacy-data-notice.ts:36
↓ 1 callers
Method
printOrderComboLegs
(self, orderComboLegList: list[OrderComboLeg])
packages/ibkr/ref/samples/Python/Testbed/Program.py:2266
↓ 1 callers
Method
printSoftDollarTier
(self, softDollarTier: SoftDollarTier)
packages/ibkr/ref/samples/Python/Testbed/Program.py:2252
↓ 1 callers
Method
processData
* Process accumulated socket data, extracting complete messages.
packages/ibkr/src/reader.ts:35
↓ 1 callers
Method
processProtoBuf
(self, protoBuf, msgId)
packages/ibkr/ref/source/pythonclient/ibapi/decoder.py:2771
↓ 1 callers
Function
projectKey
dashed-cwd convention used by Claude Code's project store.
src/workspaces/adapters/claude.ts:27
↓ 1 callers
Method
prune
(seenKeys: Set<string>)
src/workspaces/schedule/scanner.ts:52
↓ 1 callers
Function
purgeEphemeralUTAs
(utas: UTAConfig[])
src/core/config.ts:785
↓ 1 callers
Method
queryDisplayGroups
(reqId: number)
packages/ibkr/src/client/historical.ts:39
↓ 1 callers
Method
queryDisplayGroupsProtoBuf
(self, queryDisplayGroupsRequestProto: QueryDisplayGroupsRequestProto)
packages/ibkr/ref/source/pythonclient/ibapi/client.py:6313
↓ 1 callers
Function
quickChat
( prompt: string, agent?: string, credentialSlug?: string, targetWsId?: string, terminalTheme?: Term
ui/src/components/workspace/api.ts:334
↓ 1 callers
Function
quoteEndpoint
Quote is realtime-family (operational identity, like K-lines) — it stays * on the legacy passthrough until the bar-layer/UTA quote arc takes it.
ui/src/api/market.ts:65
↓ 1 callers
Function
randomId
()
apps/desktop/src/preload.ts:26
↓ 1 callers
Function
randomId
()
apps/desktop/src/ipc.ts:379
↓ 1 callers
Function
randomId
()
ui/src/components/workspace/Terminal.tsx:683
↓ 1 callers
Function
read
(readOpts?: { afterSeq?: number limit?: number type?: string })
src/core/event-log.ts:174
↓ 1 callers
Method
read
()
src/workspaces/headless-task-registry.ts:87
↓ 1 callers
Method
readActive
()
src/core/session.ts:78
↓ 1 callers
Method
readAll
()
src/core/session.ts:241
↓ 1 callers
Function
readBackendPort
* Resolve the backend port Vite should proxy /api/* to. Two source paths: * * 1. `OPENALICE_BACKEND_PORT` env — set by `scripts/guardian/dev.ts` o
ui/vite.config.ts:21
↓ 1 callers
Method
readCache
()
src/domain/market-data/equity/symbol-index.ts:160
↓ 1 callers
Function
readClientIp
(c: Context, fromTrustedProxy: boolean)
src/webui/routes/auth.ts:174
↓ 1 callers
Function
readInitialLocale
()
ui/src/i18n/store.ts:38
↓ 1 callers
Function
readInitialTheme
()
ui/src/theme/store.ts:51
↓ 1 callers
Function
readJobs
(path: string)
src/migrations/0008_disable_targetless_cron_jobs.spec.ts:34
↓ 1 callers
Method
readJson
Read a JSON file from the config dir. Returns undefined if missing.
src/migrations/types.ts:17
↓ 1 callers
Function
readMcpConfigFile
(userDataHome: string)
apps/desktop/src/main.ts:117
↓ 1 callers
Function
readMeta
(ctx: MigrationContext)
src/migrations/runner.ts:79
↓ 1 callers
Function
readOneIssue
( path: string, id: string, )
src/workspaces/issues/declaration.ts:177
↓ 1 callers
Function
readPortsFile
(userDataHome: string)
apps/desktop/src/main.ts:92
↓ 1 callers
Function
readSelfIssue
Read one issue from THIS workspace's own files — the issue_show fallback * when the global board reader is absent or finds no match.
src/tool/issue-tools.ts:415
↓ 1 callers
Function
readSessionCookie
* WS upgrade requests don't traverse the Hono middleware chain (we own * the `upgrade` event ourselves). So we re-apply the same auth check * here:
src/webui/workspaces-ws.ts:29
↓ 1 callers
Function
readSessionCookie
(cookieHeader: string)
src/webui/middleware/auth.ts:150
↓ 1 callers
Function
readStoredWidth
(storageKey: string, fallback: number)
ui/src/components/PageSidebarLayout.tsx:18
↓ 1 callers
Function
readTemplateMeta
(path: string)
src/workspaces/template-registry.ts:257
↓ 1 callers
Function
readUiPort
* Resolve the dev-server port. Two modes: * * 1. `OPENALICE_UI_PORT` env — set by `scripts/guardian/dev.ts`, which * already probed the port
ui/vite.config.ts:54
↓ 1 callers
Function
readWithDefault
Read a file, copying from default if it doesn't exist yet.
src/main.ts:66
↓ 1 callers
Method
receive
(raw: unknown, isBinary: boolean)
src/webui/workspaces-ipc.ts:67
↓ 1 callers
Function
recentDatedLeaves
Newest `count` `YYYY/MM/DD` leaf dirs under a date-partitioned root. A * just-spawned session is in today's leaf, so the newest few suffice.
src/workspaces/adapters/codex.ts:341
↓ 1 callers
Method
reconcile
Boot fixup: a leftover `running` task is a zombie from a dead Alice (v1 in-process).
src/workspaces/headless-task-registry.ts:99
↓ 1 callers
Function
reconnect
()
ui/src/live/createLiveStore.ts:121
↓ 1 callers
Method
reconnectUTA
Reconnect a UTA: close old → re-read config → create new → verify connection.
services/uta/src/domain/trading/uta-manager.ts:83
↓ 1 callers
Method
recordObservedOrders
Squash externally-observed open orders into one [observed] commit.
services/uta/src/domain/trading/git/interfaces.ts:60
↓ 1 callers
Function
recoverState
( logPath: string, buffer: ToolCallRecord[], bufferSize: number, )
src/core/tool-call-log.ts:273
↓ 1 callers
Function
recoverState
* Read the log file, restore the seq counter, and populate the in-memory * buffer with the most recent `bufferSize` entries.
src/core/event-log.ts:316
↓ 1 callers
Function
redactUrl
* Return `url` with any secret-bearing query-string values replaced by `***`. * Used before embedding URLs into error messages / logs so credentials
packages/opentypebb/src/core/provider/utils/helpers.ts:46
↓ 1 callers
Function
refresh
()
ui/src/live/trading-push.ts:38
↓ 1 callers
Function
refresh
()
ui/src/live/entities.ts:31
↓ 1 callers
Method
refreshCatalog
* Refresh the broker's local catalog cache from upstream. * Optional — only EnumeratingCatalog brokers (Alpaca / CCXT / Mock) * implement this.
packages/uta-protocol/src/types/broker.ts:487
↓ 1 callers
Method
refreshCatalog
* Pull Alpaca's full active asset list and atomically replace the local * cache. Failure preserves the previous cache (better stale than empty).
services/uta/src/domain/trading/brokers/alpaca/AlpacaBroker.ts:216
↓ 1 callers
Function
regionById
(p: Preset | null | undefined, id: string)
ui/src/lib/presetHelpers.ts:34
↓ 1 callers
Function
regionShapes
(region: SerializedRegion | undefined)
ui/src/lib/presetHelpers.ts:41
↓ 1 callers
Method
registerCcxtToolsIfNeeded
Register CCXT provider tools if any CCXT accounts are present.
services/uta/src/domain/trading/uta-manager.ts:134
↓ 1 callers
Function
registerGuard
(entry: GuardRegistryEntry)
services/uta/src/domain/trading/guards/registry.ts:17
↓ 1 callers
Function
registerOpenAliceIpc
(opts: OpenAliceIpcOptions)
apps/desktop/src/ipc.ts:154
↓ 1 callers
Method
registerSubprocess
* subprocess discovery: snapshot existing session ids, then poll * `listOnDisk(cwd)` until each pending session's NEW id shows up. Used by * cod
src/workspaces/transcript-watcher.ts:182
↓ 1 callers
Method
registerSynthetic
* Register a synthetic template at runtime — used for the legacy * `AQ_BOOTSTRAP_SCRIPT` fallback so old configurations keep working * during th
src/workspaces/template-registry.ts:171
↓ 1 callers
Method
rehydrateGitState
(state: GitState)
services/uta/src/domain/trading/git/TradingGit.ts:542
↓ 1 callers
Method
rehydrateOrder
(order: Order)
services/uta/src/domain/trading/git/TradingGit.ts:516
↓ 1 callers
Method
rejectAll
(error: Error)
services/uta/src/domain/trading/brokers/ibkr/request-bridge.ts:314
↓ 1 callers
Method
rejectOrderRequest
(orderId: number, error: Error)
services/uta/src/domain/trading/brokers/ibkr/request-bridge.ts:306
↓ 1 callers
Method
rejectRequest
(reqId: number, error: Error)
services/uta/src/domain/trading/brokers/ibkr/request-bridge.ts:280
↓ 1 callers
Method
remove
(id: string)
services/uta/src/domain/trading/uta-manager.ts:151
↓ 1 callers
Function
removeFeed
(index: number)
ui/src/pages/NewsCollectorPage.tsx:92
← previous
next →
3,201–3,300 of 9,054, ranked by callers