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
↓ 2 callers
Function
rejectMsg
(x: PromiseSettledResult<unknown>)
ui/src/components/market/KeyMetricsPanel.tsx:35
↓ 2 callers
Method
removeAllFor
Drop everything for a workspace (called from workspace DELETE).
src/workspaces/session-registry.ts:209
↓ 2 callers
Method
removeUTA
Same shape: triggers UTA restart so the new process picks up the * caller-side write to `accounts.json`.
src/services/uta-client/UTAManagerSDK.ts:172
↓ 2 callers
Function
renderAgent
(agent: { id: string; name: string }, note?: string)
ui/src/pages/AIProviderPage.tsx:313
↓ 2 callers
Function
renderGrid
(items: readonly TemplateInfo[])
ui/src/pages/TemplateCatalogPage.tsx:57
↓ 2 callers
Method
replaceFAEndProtoBuf
(replaceFAEndProto: unknown)
packages/ibkr/src/wrapper.ts:560
↓ 2 callers
Method
reqAllOpenOrders
()
packages/ibkr/src/client/orders.ts:24
↓ 2 callers
Method
reqCompletedOrders
(apiOnly: boolean)
packages/ibkr/src/client/orders.ts:27
↓ 2 callers
Method
reqManagedAccts
()
packages/ibkr/src/client/account.ts:39
↓ 2 callers
Method
reqMarketRule
(marketRuleId: number)
packages/ibkr/src/client/market-data.ts:26
↓ 2 callers
Method
reqMatchingSymbols
(reqId: number, pattern: string)
packages/ibkr/src/client/historical.ts:50
↓ 2 callers
Method
reqPositions
()
packages/ibkr/src/client/account.ts:21
↓ 2 callers
Method
reqSecDefOptParams
(reqId: number, underlyingSymbol: string, futFopExchange: string, underlyingSecType: string, underlyingConId:
packages/ibkr/src/client/historical.ts:47
↓ 2 callers
Method
reqWshEventData
(reqId: number, wshEventData: WshEventData)
packages/ibkr/src/client/historical.ts:53
↓ 2 callers
Method
request
Register a pending request that resolves with a single value.
services/uta/src/domain/trading/brokers/ibkr/request-bridge.ts:147
↓ 2 callers
Method
requestCollector
Register a pending request that collects multiple callbacks into an array.
services/uta/src/domain/trading/brokers/ibkr/request-bridge.ts:158
↓ 2 callers
Method
requestCurrentTime
Request current TWS server time.
services/uta/src/domain/trading/brokers/ibkr/request-bridge.ts:216
↓ 2 callers
Method
requestDeleteSession
(wsId: string, sessionId: string)
ui/src/contexts/workspaces-context.ts:31
↓ 2 callers
Method
requestFA
(faData: number)
packages/ibkr/src/client/account.ts:40
↓ 2 callers
Method
requestOpenOrders
Request all open orders (batch collector).
services/uta/src/domain/trading/brokers/ibkr/request-bridge.ts:185
↓ 2 callers
Method
requestSnapshot
Register a snapshot market data request.
services/uta/src/domain/trading/brokers/ibkr/request-bridge.ts:164
↓ 2 callers
Method
rerouteMarketDataRequestProtoBuf
(rerouteMarketDataRequestProto: unknown)
packages/ibkr/src/wrapper.ts:563
↓ 2 callers
Method
rerouteMarketDepthRequestProtoBuf
(rerouteMarketDepthRequestProto: unknown)
packages/ibkr/src/wrapper.ts:564
↓ 2 callers
Function
resolveAdapter
(wsMeta: WorkspaceMeta, agentId?: string)
src/workspaces/service.ts:304
↓ 2 callers
Function
resolveCcxtOne
( source?: string, )
services/uta/src/domain/trading/brokers/ccxt/ccxt-tools.ts:16
↓ 2 callers
Method
resolveCollector
(reqId: number)
services/uta/src/domain/trading/brokers/ibkr/request-bridge.ts:294
↓ 2 callers
Function
resolveCtx
( wsIdParam: string, exportParam: string, )
src/server/cli.ts:114
↓ 2 callers
Function
resolveDefaultAgentId
(meta: WorkspaceMeta)
src/webui/routes/workspaces.ts:128
↓ 2 callers
Function
resolveInside
* Resolve `relPath` against `workspaceDir`, enforcing the same traversal * guard `listDir` uses. Returned path is absolute. Throws `PathTraversal` *
src/workspaces/file-service.ts:85
↓ 2 callers
Function
resolveInsideWorkspace
(workspaceDir: string, relPath: string)
apps/desktop/src/ipc.ts:82
↓ 2 callers
Function
resolveMediaPath
(name: string)
src/core/media-store.ts:84
↓ 2 callers
Method
resolveOrderRequest
(orderId: number, value: CollectedOpenOrder)
services/uta/src/domain/trading/brokers/ibkr/request-bridge.ts:298
↓ 2 callers
Function
resolveSymbol
(contract: Contract)
services/uta/src/domain/trading/brokers/ibkr/ibkr-contracts.ts:28
↓ 2 callers
Method
resumePty
Un-pause the PTY read stream if backpressure paused it. Safe to call when * already running. Keeping the `paused` flag and the term stream in lock
src/workspaces/persistent-session.ts:487
↓ 2 callers
Function
round
(v: CalcValue, precision: number)
src/domain/analysis/calc-v2/index.ts:45
↓ 2 callers
Function
routeAssetClass
A crypto venue's "AAPL" is synthetic — the route segment still needs a valid * asset class, so map 'unknown' to a sane default.
ui/src/components/MarketSidebar.tsx:27
↓ 2 callers
Function
rtf
(style: RelativeTimeStyle, numeric: 'always' | 'auto')
ui/src/lib/intl.ts:81
↓ 2 callers
Function
run
(label, command, commandArgs, extraEnv = {})
scripts/desktop-packaged-smoke.mjs:53
↓ 2 callers
Function
run
(isInitial: boolean)
ui/src/components/market/KlinePanel.tsx:177
↓ 2 callers
Function
runGit
(dir: string, args: readonly string[])
src/workspaces/workspace-creator.ts:301
↓ 2 callers
Function
safeJson
(c: import('hono').Context)
src/webui/routes/issues.ts:40
↓ 2 callers
Function
sanitizeId
Filename-safe kebab id; empty when nothing usable remains.
src/migrations/0010_workspace_issues_to_markdown/index.ts:77
↓ 2 callers
Function
saveAgentConfig
( wsId: string, agent: AgentId, cfg: AgentConfig, )
ui/src/components/workspace/api.ts:679
↓ 2 callers
Function
saveIndex
(index: SnapshotIndex)
services/uta/src/domain/trading/snapshot/store.ts:52
↓ 2 callers
Method
scannerDataProtoBuf
(scannerDataProto: unknown)
packages/ibkr/src/wrapper.ts:555
↓ 2 callers
Method
scannerParametersProtoBuf
(scannerParametersProto: unknown)
packages/ibkr/src/wrapper.ts:554
↓ 2 callers
Function
schemaProps
(schema: Preset['schema'])
ui/src/lib/presetHelpers.ts:71
↓ 2 callers
Method
secDefOptParameterEndProtoBuf
(secDefOptParameterEndProto: unknown)
packages/ibkr/src/wrapper.ts:566
↓ 2 callers
Method
secDefOptParameterProtoBuf
(secDefOptParameterProto: unknown)
packages/ibkr/src/wrapper.ts:565
↓ 2 callers
Function
seedGlobal
(keys: Record<string, string>)
src/core/global-provider-keys.spec.ts:37
↓ 2 callers
Function
selectAndRead
(id: string)
ui/src/components/InboxSidebar.tsx:52
↓ 2 callers
Function
sequence
(...values: number[])
src/workspaces/petname-id.spec.ts:5
↓ 2 callers
Function
serialize
(op: () => Promise<T>)
src/core/entity-store.ts:108
↓ 2 callers
Function
serializeIssue
Serialize a frontmatter object + body back into the `---\n…\n---\n\n<body>` * document shape the reader expects. Body is preserved verbatim (trimmed
src/workspaces/issues/mutate.ts:96
↓ 2 callers
Function
serializeRequest
* @param {Request} request
ui/public/mockServiceWorker.js:333
↓ 2 callers
Function
setAppLocale
(locale: AppLocale)
ui/src/lib/intl.ts:32
↓ 2 callers
Function
setConditionFields
(orderConditionProto: OrderConditionProto, orderCondition: OrderCondition)
packages/ibkr/ref/source/pythonclient/ibapi/decoder_utils.py:320
↓ 2 callers
Function
setCredentialLastModel
(slug: string, model: string)
src/core/config.ts:955
↓ 2 callers
Method
setCurrentRound
(round: number)
services/uta/src/domain/trading/git/interfaces.ts:70
↓ 2 callers
Method
setDefaultAgent
(agent: string | null)
ui/src/contexts/workspaces-context.ts:26
↓ 2 callers
Method
setFailMethod
Make a specific method always throw (until cleared) — lets a test fail * e.g. getAccount while letting init succeed (the capability-ladder case).
services/uta/src/domain/trading/brokers/mock/MockBroker.ts:896
↓ 2 callers
Method
setFxService
Inject the FxService so multi-currency cash can be folded into HKD.
services/uta/src/domain/trading/brokers/longbridge/LongbridgeBroker.ts:169
↓ 2 callers
Function
setLastTradeDate
( lastTradeDateOrContractMonth: string, contract: ContractDetails, isBond: boolean, )
packages/ibkr/src/decoder/contract.ts:79
↓ 2 callers
Function
setLastTradeDate
(lastTradeDateOrContractMonth: str, contract: ContractDetails, isBond: bool)
packages/ibkr/ref/source/pythonclient/ibapi/decoder_utils.py:563
↓ 2 callers
Method
setOrders
Override orders directly (for legacy test compatibility).
services/uta/src/domain/trading/brokers/mock/MockBroker.ts:874
↓ 2 callers
Function
setPrice
(key: string, value: string)
ui/src/pages/simulator/MarkPrices.tsx:83
↓ 2 callers
Function
setupGitExcludes
(outDir, ...extra)
src/workspaces/templates/_common.mjs:74
↓ 2 callers
Method
shipping
Headline-chokepoint transit volumes from IMF PortWatch — keyless.
src/domain/market-data/reference/types.ts:130
↓ 2 callers
Function
shutdown
(signal: string)
services/uta/src/main.ts:192
↓ 2 callers
Function
signColor
(sign?: MetricSign)
ui/src/components/Metric.tsx:57
↓ 2 callers
Method
since
(seq: number)
src/workspaces/replay-buffer.ts:57
↓ 2 callers
Method
smartComponentsProtoBuf
(smartComponentsProto: unknown)
packages/ibkr/src/wrapper.ts:570
↓ 2 callers
Method
softDollarTiersProtoBuf
(softDollarTiersProto: unknown)
packages/ibkr/src/wrapper.ts:567
↓ 2 callers
Method
spawnChild
()
src/workspaces/persistent-session.ts:136
↓ 2 callers
Function
spawnInteractiveSession
* Spawn one interactive PTY session in an existing workspace — the shared * core of `POST /:id/sessions/spawn` and `POST /quick-chat` (so the two n
src/webui/routes/workspaces.ts:148
↓ 2 callers
Function
spawnSession
(app: any, body: unknown)
src/webui/routes/workspaces-quickchat.spec.ts:86
↓ 2 callers
Function
spawnUTA
()
apps/desktop/src/main.ts:344
↓ 2 callers
Function
spawnUTA
()
scripts/guardian/prod.mjs:112
↓ 2 callers
Function
spawnWithAgent
(agentId: string, saveDefault: boolean)
ui/src/pages/WorkspacePage.tsx:67
↓ 2 callers
Function
start
()
ui/src/live/createLiveStore.ts:95
↓ 2 callers
Method
start
(self)
packages/ibkr/ref/samples/Python/Testbed/Program.py:334
↓ 2 callers
Method
startApi
Initiates the message exchange between the client application and the TWS/IB Gateway.
packages/ibkr/ref/source/pythonclient/ibapi/client.py:380
↓ 2 callers
Function
startDateFor
(opts: GetBarsOpts)
src/domain/market-data/bars/bar-service.ts:90
↓ 2 callers
Function
startFlagWatcher
()
scripts/guardian/prod.mjs:207
↓ 2 callers
Function
startOfDay
(d: Date)
ui/src/components/workspace/ChatWorkspaceSection.tsx:41
↓ 2 callers
Function
stop
()
ui/src/live/createLiveStore.ts:112
↓ 2 callers
Method
stopPoll
(key: string)
src/workspaces/transcript-watcher.ts:262
↓ 2 callers
Function
storageName
(storageKey: string)
ui/src/components/PageSidebarLayout.tsx:14
↓ 2 callers
Function
submit
()
ui/src/pages/simulator/ActionPanel.tsx:249
↓ 2 callers
Function
subscribeOne
(listener: AnyListener)
src/core/listener-registry.ts:178
↓ 2 callers
Function
sumFinite
Sum a string-decimal field, ignoring non-finite entries.
ui/src/pages/UTADetailPage.tsx:375
↓ 2 callers
Function
symbolFromAliceId
Extract symbol from aliceId like "mock-paper|AAPL" → "AAPL"
ui/src/components/SnapshotDetail.tsx:154
↓ 2 callers
Function
symbolFromUrl
(url: string)
ui/src/demo/handlers/market.ts:13
↓ 2 callers
Method
symbolSamplesProtoBuf
(symbolSamplesProto: unknown)
packages/ibkr/src/wrapper.ts:569
↓ 2 callers
Function
table
(eur: number)
services/uta/src/domain/trading/fx-service.spec.ts:189
↓ 2 callers
Function
tempDir
()
services/uta/src/domain/trading/snapshot/snapshot.spec.ts:28
↓ 2 callers
Function
termCurve
(symbol: string, spot: number)
ui/src/demo/handlers/market.ts:184
↓ 2 callers
Method
termStructure
BTC/ETH futures term structure from Deribit (keyless), with * annualized basis vs the perpetual.
src/domain/market-data/reference/types.ts:122
↓ 2 callers
Function
tick
()
src/core/pump.ts:124
↓ 2 callers
Method
tickByTickDataProtoBuf
(tickByTickDataProto: unknown)
packages/ibkr/src/wrapper.ts:545
← previous
next →
2,101–2,200 of 9,054, ranked by callers