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
↓ 9 callers
Method
dispose
Remove this producer from the registry and release its name.
src/core/producer.ts:41
↓ 9 callers
Method
dispose
(reason: string)
src/workspaces/service.ts:190
↓ 9 callers
Function
emptyHistoricalError
( results: PromiseSettledResult<unknown>[], emptyMessage: string, )
packages/opentypebb/src/providers/yfinance/utils/helpers.ts:95
↓ 9 callers
Method
ensureInit
()
services/uta/src/domain/trading/brokers/others/leverup/LeverupBroker.ts:160
↓ 9 callers
Function
escapeRegex
* Escape a string for use in a RegExp.
src/domain/news/collector/rss-parser.ts:171
↓ 9 callers
Function
extractMediaFromToolResultContent
(content: string)
src/core/media.ts:38
↓ 9 callers
Method
getCapabilities
()
packages/uta-protocol/src/types/broker.ts:574
↓ 9 callers
Function
getYF
()
packages/opentypebb/src/providers/yfinance/utils/helpers.ts:16
↓ 9 callers
Function
handleBrokerError
Classify a broker error into a structured response for AI consumption.
src/tool/trading.ts:35
↓ 9 callers
Function
ibkrOrderTypeToLb
( ibkrType: string, marketSuffix: string, )
services/uta/src/domain/trading/brokers/longbridge/LongbridgeBroker.ts:81
↓ 9 callers
Function
isSecType
(v: unknown)
services/uta/src/domain/trading/contract-discipline.ts:40
↓ 9 callers
Function
isSet
(value: any)
packages/ibkr/src/protobuf/WshEventDataRequest.ts:230
↓ 9 callers
Function
isSet
(value: any)
packages/ibkr/src/protobuf/ExerciseOptionsRequest.ts:235
↓ 9 callers
Function
isSet
(value: any)
packages/ibkr/src/protobuf/RealTimeBarTick.ts:241
↓ 9 callers
Function
isSet
(value: any)
packages/ibkr/src/protobuf/ComboLeg.ts:230
↓ 9 callers
Function
keyOf
(name: string)
src/core/entity-store.ts:63
↓ 9 callers
Function
makeCtx
(brokers: Record<string, MockBroker | object>)
services/uta/src/http/simulator.spec.ts:19
↓ 9 callers
Function
makeField
(val: unknown)
packages/ibkr/src/order-condition.ts:26
↓ 9 callers
Method
makeFields
()
packages/ibkr/src/order-condition.ts:230
↓ 9 callers
Function
makeMarket
(overrides: Partial<CcxtMarket> & { type: CcxtMarket['type']; base: string; quote: string; symbol: string })
services/uta/src/domain/trading/brokers/ccxt/ccxt-contracts.spec.ts:18
↓ 9 callers
Function
makeMockCommodityClient
()
src/tool/economy.spec.ts:40
↓ 9 callers
Function
makeMockEconomyClient
()
src/tool/economy.spec.ts:16
↓ 9 callers
Function
matchCredentialByApiKey
( credentials: Record<string, Credential>, apiKey: string | null | undefined, )
src/workspaces/credential-injection.ts:66
↓ 9 callers
Function
mkCtx
(overrides?: Partial<ReferenceDataService>)
src/webui/routes/reference.spec.ts:11
↓ 9 callers
Function
multiSeriesToRecords
( dataMap: Record<string, Record<string, number | null>>, fieldMap?: Record<string, string>, )
packages/opentypebb/src/providers/federal_reserve/utils/fred-helpers.ts:231
↓ 9 callers
Function
parseRSSXml
(xml: string)
src/domain/news/collector/rss-parser.ts:43
↓ 9 callers
Function
pushUpdate
(b: RequestBridge, contract: Contract, qty: number, avgCost = '100')
services/uta/src/domain/trading/brokers/ibkr/request-bridge.spec.ts:15
↓ 9 callers
Function
readBack
Read one issue back through the real reader (the round-trip oracle).
src/workspaces/issues/mutate.spec.ts:19
↓ 9 callers
Function
readCredentials
()
src/core/config.ts:895
↓ 9 callers
Function
readMsg
(buf: Buffer)
packages/ibkr/src/comm.ts:113
↓ 9 callers
Function
readPortsFile
(userDataHome)
scripts/guardian/prod.mjs:49
↓ 9 callers
Method
register
(factory: WorkspaceToolFactory)
src/core/workspace-tool-center.ts:96
↓ 9 callers
Method
resolve
Async equivalent of `UTAManager.resolve(source?)`. Filters by id or * provider prefix when `source` is given. * * `tradingOnly` (used by th
src/services/uta-client/UTAManagerSDK.ts:89
↓ 9 callers
Function
round
(n: number | null, places: number)
src/domain/analysis/sector-rotation.ts:113
↓ 9 callers
Function
runMigrations
(opts: RunnerOpts = {})
src/migrations/runner.ts:121
↓ 9 callers
Method
runNow
Manually trigger a scheduled snapshot run (e.g. for tests / UI).
services/uta/src/domain/trading/snapshot/scheduler.ts:28
↓ 9 callers
Function
signColor
(x: number | null | undefined)
ui/src/pages/MarketRotationPage.tsx:21
↓ 9 callers
Method
snapshot
The snapshot built by the last scan (warm cache for GET /api/schedule), or * null before the first tick. The scanner already reads every declarati
src/workspaces/schedule/scanner.ts:108
↓ 9 callers
Method
stampAliceId
Construct aliceId: "{utaId}|{nativeKey}" using broker's native identity.
services/uta/src/domain/trading/UnifiedTradingAccount.ts:466
↓ 9 callers
Method
start
()
services/uta/src/domain/trading/snapshot/scheduler.ts:25
↓ 9 callers
Function
stk
(conId: number, symbol: string)
services/uta/src/domain/trading/brokers/ibkr/request-bridge.spec.ts:6
↓ 9 callers
Method
takeSnapshot
(accountId: string, trigger: SnapshotTrigger)
services/uta/src/domain/trading/snapshot/service.ts:21
↓ 9 callers
Function
toChatHistory
(entries: SessionEntry[])
src/core/session.ts:560
↓ 9 callers
Method
toStr
(self, idx)
packages/ibkr/ref/source/pythonclient/ibapi/enum_implem.py:19
↓ 9 callers
Method
transformData
Transform raw data into typed result.
packages/opentypebb/src/core/provider/abstract/fetcher.ts:33
↓ 9 callers
Function
userText
(content: string)
src/core/session.spec.ts:19
↓ 8 callers
Method
EurGbpFx
()
packages/ibkr/ref/samples/Python/Testbed/ContractSamples.py:15
↓ 8 callers
Method
_emitHealthChange
()
services/uta/src/domain/trading/UnifiedTradingAccount.ts:397
↓ 8 callers
Function
advance
(n = 1)
src/domain/analysis/calc-v2/lexer.ts:33
↓ 8 callers
Function
aggregateAccountFromPositions
( cash: Decimal | string | number, positions: Iterable<AggregateInput>, )
services/uta/src/domain/trading/position-math.ts:107
↓ 8 callers
Function
asString
(v: unknown)
src/migrations/0010_workspace_issues_to_markdown/index.ts:59
↓ 8 callers
Function
bareBroker
* The gate must fire BEFORE any bridge/client access, so it is testable on * a bare prototype instance — no TWS connection, no bridge construction.
services/uta/src/domain/trading/brokers/ibkr/IbkrBroker.spec.ts:10
↓ 8 callers
Method
cancelTickByTickData
(reqId: number)
packages/ibkr/src/client/market-data.ts:28
↓ 8 callers
Function
classifyYahooFetchError
(symbol: string, err: unknown)
packages/opentypebb/src/providers/yfinance/utils/helpers.ts:63
↓ 8 callers
Function
computeDedupKey
(item: { guid?: string link?: string title: string content: string })
src/domain/news/store.ts:271
↓ 8 callers
Method
contractFromAliceId
* Reverse of `stampAliceId`: parse an aliceId, verify it belongs to this * UTA, and rebuild the full Contract via the broker's native-key resolver.
services/uta/src/domain/trading/UnifiedTradingAccount.ts:490
↓ 8 callers
Function
createCcxtProviderTools
(manager: UTAManager)
services/uta/src/domain/trading/brokers/ccxt/ccxt-tools.ts:14
↓ 8 callers
Function
createToolCallLog
(opts?: { logPath?: string bufferSize?: number })
src/core/tool-call-log.ts:96
↓ 8 callers
Method
disconnect
()
packages/ibkr/src/client/base.ts:178
↓ 8 callers
Function
ensureAgentCredentialReady
(opts: { readonly meta: WorkspaceMeta readonly agentId: string readonly adapter: CliAdapter | undefined
src/workspaces/agent-credential-readiness.ts:192
↓ 8 callers
Method
externalDeposit
* Simulate an external balance change Alice didn't initiate (airdrop, * transfer-in, staking reward, off-exchange option assignment). Adds a * p
services/uta/src/domain/trading/brokers/mock/MockBroker.ts:674
↓ 8 callers
Method
extractHeadlessSessionId
* Extract the agent's OWN session id from one line of headless stdout. * All four agent CLIs announce their session id in the first line(s) of *
src/workspaces/cli-adapter.ts:198
↓ 8 callers
Function
findExecutableOnPath
( name: string, opts: { platform?: NodeJS.Platform; env?: NodeJS.ProcessEnv } = {}, )
src/workspaces/agent-detect.ts:46
↓ 8 callers
Function
generateToken
()
src/services/auth/token-store.ts:84
↓ 8 callers
Function
get
(target, prop, receiver)
src/domain/market-data/hub-data.ts:59
↓ 8 callers
Function
getActiveEntries
(entries: SessionEntry[])
src/core/compaction.ts:86
↓ 8 callers
Function
getJson
(app: Hono, path: string)
src/domain/market-data/__test__/e2e/setup.ts:76
↓ 8 callers
Function
getPredefinedScreener
( scrId: string, count = 250, )
packages/opentypebb/src/providers/yfinance/utils/helpers.ts:138
↓ 8 callers
Function
getSDKExecutor
()
src/domain/market-data/client/typebb/executor.ts:13
↓ 8 callers
Method
getState
()
services/uta/src/domain/trading/UnifiedTradingAccount.ts:1146
↓ 8 callers
Method
getVercelTools
Vercel AI SDK format — returns only enabled tools (reads disabled list from disk).
src/core/tool-center.ts:28
↓ 8 callers
Method
historicalDataEnd
(reqId: number, start: string, end: string)
packages/ibkr/src/wrapper.ts:313
↓ 8 callers
Function
intMaxString
(val: number)
packages/ibkr/src/common.ts:31
↓ 8 callers
Function
isAgentRuntime
(adapter: CliAdapter)
src/workspaces/cli-adapter.ts:245
↓ 8 callers
Function
isSealedEnvelope
(value: unknown)
src/core/sealing.ts:53
↓ 8 callers
Function
isSet
(value: any)
packages/ibkr/src/protobuf/HistoricalNewsRequest.ts:315
↓ 8 callers
Function
isSet
(value: any)
packages/ibkr/src/protobuf/HistoricalDataBar.ts:212
↓ 8 callers
Function
isSet
(value: any)
packages/ibkr/src/protobuf/ExecutionFilter.ts:244
↓ 8 callers
Function
isSet
(value: any)
packages/ibkr/src/protobuf/PortfolioValue.ts:215
↓ 8 callers
Function
loadSealing
()
src/core/sealing.spec.ts:16
↓ 8 callers
Function
makeTemplate
(over: Partial<TemplateMeta>)
src/workspaces/context-injector.spec.ts:26
↓ 8 callers
Method
make_fields
(self)
packages/ibkr/ref/source/pythonclient/ibapi/order_condition.py:170
↓ 8 callers
Function
markLocal
(board: T)
src/domain/market-data/reference/hub.ts:75
↓ 8 callers
Method
markRead
Mark an entry read. Returns false when the entry id does not exist.
src/core/inbox-store.ts:112
↓ 8 callers
Function
next
()
src/core/async-channel.ts:59
↓ 8 callers
Function
parseBarId
(barId: string)
src/domain/market-data/bars/types.ts:37
↓ 8 callers
Method
parseExpr
()
src/domain/analysis/calc-v2/parser.ts:74
↓ 8 callers
Function
parseTwSymbol
(symbol: string)
packages/opentypebb/src/providers/twse/common.ts:80
↓ 8 callers
Function
readyBridge
()
services/uta/src/domain/trading/brokers/ibkr/request-bridge.spec.ts:46
↓ 8 callers
Method
release
()
src/workspaces/process-lock.ts:16
↓ 8 callers
Method
reqTickByTickData
(reqId: number, contract: Contract, tickType: string, numberOfTicks: number, ignoreSize: boolean)
packages/ibkr/src/client/market-data.ts:27
↓ 8 callers
Function
resolveBarSource
( barService: BarService, input: { query?: string; barId?: string; asset?: AssetArg }, )
src/tool/source-resolve.ts:40
↓ 8 callers
Function
resolveMock
Resolve :id → UTA whose broker is a MockBroker. Returns error response on miss.
services/uta/src/http/routes-simulator.ts:82
↓ 8 callers
Method
resolveOne
Like `UTAManager.resolveOne(source)` but async and throws when * resolution is ambiguous or empty.
src/services/uta-client/UTAManagerSDK.ts:102
↓ 8 callers
Function
rowAction
Hover-revealed square action button used for the per-row controls.
ui/src/components/workspace/Sidebar.tsx:284
↓ 8 callers
Function
runHeadlessTask
(args: HeadlessTaskArgs)
src/workspaces/headless-task.ts:149
↓ 8 callers
Function
sleep
(ms: number)
scripts/guardian/smoke.ts:40
↓ 8 callers
Function
tagValueListToStr
Helper: serialize a TagValueList into a wire string.
packages/ibkr/src/client/historical.ts:62
↓ 8 callers
Function
toDecimal
Coerce a numeric-ish input to Decimal; defaults to 0 on falsy/empty.
services/uta/src/domain/trading/position-math.ts:36
↓ 8 callers
Function
unseal
(envelope: SealedEnvelope)
src/core/sealing.ts:111
← previous
next →
401–500 of 9,054, ranked by callers