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
↓ 6 callers
Function
createBarsRoutes
(ctx: EngineContext)
src/webui/routes/bars.ts:17
↓ 6 callers
Function
createBroker
(config: UTAConfig, services?: BrokerServices)
services/uta/src/domain/trading/brokers/factory.ts:27
↓ 6 callers
Function
createGuardPipeline
( dispatcher: (op: Operation) => Promise<unknown>, account: IBroker, guards: OperationGuard[], )
services/uta/src/domain/trading/guards/guard-pipeline.ts:13
↓ 6 callers
Function
cronInt
(field: string, min: number, max: number)
ui/src/components/IssuesBoard.tsx:27
↓ 6 callers
Function
ctx
(env: Record<string, string> = {})
src/workspaces/adapters/ai-config.spec.ts:286
↓ 6 callers
Function
decStr
(value: Decimal | undefined | null)
services/uta/src/domain/trading/order-history.ts:46
↓ 6 callers
Function
decimalMaxString
(val: Decimal)
packages/ibkr/src/contract.ts:11
↓ 6 callers
Function
decimalMaxString
(val: Decimal)
packages/ibkr/src/order-state.ts:12
↓ 6 callers
Function
decodeStr
(fields: Iterator<string>)
packages/ibkr/src/order-condition.ts:22
↓ 6 callers
Method
dispose
()
src/webui/web-ipc.ts:25
↓ 6 callers
Function
equityEndpoint
First-party per-symbol endpoints (same {results, provider} envelope).
ui/src/api/market.ts:54
↓ 6 callers
Function
estimateSessionTokens
(entries: SessionEntry[])
src/core/compaction.ts:58
↓ 6 callers
Function
estimateTokens
(text: string)
src/core/compaction.ts:40
↓ 6 callers
Method
evaluate
(node: ASTNode)
src/domain/analysis/indicator/calculator.ts:238
↓ 6 callers
Method
execDetails
(reqId: number, contract: Contract, execution: Execution)
packages/ibkr/src/wrapper.ts:242
↓ 6 callers
Method
externalTrade
* Simulate the user manually trading on the exchange app (outside Alice's * order log). Updates position + cash like a real fill, but tags the *
services/uta/src/domain/trading/brokers/mock/MockBroker.ts:717
↓ 6 callers
Function
extractTag
* Extract the text content of an XML tag, handling CDATA. Decodes entities.
src/domain/news/collector/rss-parser.ts:110
↓ 6 callers
Function
fetchAndParseFeed
(url: string, retries = 1)
src/domain/news/collector/rss-parser.ts:21
↓ 6 callers
Function
fetchGlobalMacro
(economyClient: EconomyClientLike)
src/domain/market-data/reference/global-macro.ts:50
↓ 6 callers
Function
fetchOecdCsv
( dataflow: string, dimensions: string, )
packages/opentypebb/src/providers/oecd/utils/oecd-helpers.ts:60
↓ 6 callers
Method
fillPendingOrder
Legacy alias for fillOrder.
services/uta/src/domain/trading/brokers/mock/MockBroker.ts:853
↓ 6 callers
Function
filterAndSort
( data: T[], startDate?: string | null, endDate?: string | null, )
packages/opentypebb/src/providers/oecd/utils/oecd-helpers.ts:108
↓ 6 callers
Function
findPairBySymbol
(network: 'live' | 'testnet', symbol: string)
services/uta/src/domain/trading/brokers/others/leverup/pairs.ts:74
↓ 6 callers
Function
finish
(code, message)
scripts/desktop-pty-smoke.mjs:87
↓ 6 callers
Function
floatMaxString
(val: number)
packages/ibkr/src/order.ts:24
↓ 6 callers
Method
getInventory
Full tool inventory with group metadata (for frontend / API).
src/core/tool-center.ts:50
↓ 6 callers
Function
getJson
(base: string, path: string)
packages/opentypebb/src/providers/twse/common.ts:114
↓ 6 callers
Function
getQuoteSummary
( symbol: string, modules: string[] = ['defaultKeyStatistics', 'summaryDetail', 'summaryProfile', 'financi
packages/opentypebb/src/providers/yfinance/utils/helpers.ts:236
↓ 6 callers
Method
getSimulatorState
* Snapshot of all simulator-relevant state. Used by the webui simulator tab * to render the control console without piecing together separate calls
services/uta/src/domain/trading/brokers/mock/MockBroker.ts:760
↓ 6 callers
Function
getTimeStrFromMillis
(time: int)
packages/ibkr/ref/source/pythonclient/ibapi/utils.py:216
↓ 6 callers
Method
get_next_valid_id
Get the next valid order ID from TWS. Args: timeout: Timeout in seconds (uses default if None) Returns: The next valid order ID Raises
packages/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py:383
↓ 6 callers
Function
here
()
src/domain/analysis/calc-v2/lexer.ts:32
↓ 6 callers
Function
ibkrTifToLb
(tif: string)
services/uta/src/domain/trading/brokers/longbridge/LongbridgeBroker.ts:104
↓ 6 callers
Method
isConnected
()
packages/ibkr/src/client/base.ts:100
↓ 6 callers
Function
isSet
(value: any)
packages/ibkr/src/protobuf/HistoricalTickBidAsk.ts:190
↓ 6 callers
Function
isSet
(value: any)
packages/ibkr/src/protobuf/TickNews.ts:187
↓ 6 callers
Function
isSet
(value: any)
packages/ibkr/src/protobuf/TickReqParams.ts:178
↓ 6 callers
Function
isSet
(value: any)
packages/ibkr/src/protobuf/PositionMulti.ts:179
↓ 6 callers
Function
isSet
(value: any)
packages/ibkr/src/protobuf/CalculateImpliedVolatilityRequest.ts:290
↓ 6 callers
Function
isSet
(value: any)
packages/ibkr/src/protobuf/CalculateOptionPriceRequest.ts:279
↓ 6 callers
Function
isSet
(value: any)
packages/ibkr/src/protobuf/HistoricalTickLast.ts:190
↓ 6 callers
Function
isSet
(value: any)
packages/ibkr/src/protobuf/MarketDepthRequest.ts:265
↓ 6 callers
Function
isSet
(value: any)
packages/ibkr/src/protobuf/CommissionAndFeesReport.ts:178
↓ 6 callers
Function
isSet
(value: any)
packages/ibkr/src/protobuf/AccountUpdateMulti.ts:176
↓ 6 callers
Function
isSet
(value: any)
packages/ibkr/src/protobuf/PnLSingle.ts:176
↓ 6 callers
Function
keyMapForAgent
(agent: string | null | undefined)
ui/src/components/workspace/terminalInput.ts:17
↓ 6 callers
Function
limitBuy
(qty: string, price: string)
services/uta/src/domain/trading/order-history.spec.ts:34
↓ 6 callers
Function
makeContract
(ticker: string)
services/uta/src/domain/trading/brokers/alpaca/alpaca-contracts.ts:20
↓ 6 callers
Function
makeEntry
(overrides: Partial<SessionEntry> & Pick<SessionEntry, 'type' | 'message'>)
src/core/session.spec.ts:9
↓ 6 callers
Function
makeFakeChild
()
src/workspaces/workspace-creator.spec.ts:32
↓ 6 callers
Function
makeFakeUta
* Build a minimal UTA double covering only the methods the one-shot * pipeline touches: commit, push, reject. Returned alongside spies * the test ca
services/uta/src/domain/trading/order-entry.spec.ts:11
↓ 6 callers
Function
makeMockUTA
(opts: { stageThrows?: 'stage' | 'commit' | 'push' | null; pushResult?: unknown } = {})
services/uta/src/http/trading-order-entry.spec.ts:25
↓ 6 callers
Function
makeOptions
(over: Partial<PersistentSessionOptions> = {})
src/workspaces/persistent-session.spec.ts:70
↓ 6 callers
Function
makeOriginApp
(inboxStore = createMemoryInboxStore())
src/server/cli.spec.ts:193
↓ 6 callers
Function
makeWorkspaceResolver
( getService: () => WorkspaceRegistryLike | null, )
src/core/workspace-tool-center.ts:134
↓ 6 callers
Function
mapLbOrderStatus
(status: number)
services/uta/src/domain/trading/brokers/longbridge/longbridge-contracts.ts:113
↓ 6 callers
Function
mappedToolNames
(exportKey: string)
src/server/cli-commands.ts:251
↓ 6 callers
Method
nextValidId
(orderId: number)
packages/ibkr/src/wrapper.ts:232
↓ 6 callers
Function
note
(key: keyof NonNullable<CalendarBoard['errors']>, r: PromiseSettledResult<unknown>)
src/domain/market-data/reference/service.ts:112
↓ 6 callers
Method
openOrderEnd
()
packages/ibkr/src/wrapper.ts:149
↓ 6 callers
Method
pairToContract
(pair: LeverupPair)
services/uta/src/domain/trading/brokers/others/leverup/LeverupBroker.ts:191
↓ 6 callers
Function
parseBody
(c: Context, schema: T)
services/uta/src/http/routes-simulator.ts:93
↓ 6 callers
Function
parseIntEnv
(raw: string | undefined, fallback: number, lo: number, hi: number)
src/workspaces/config.ts:163
↓ 6 callers
Function
periodToDate
(period: string)
packages/opentypebb/src/providers/oecd/utils/oecd-helpers.ts:46
↓ 6 callers
Function
persistMedia
(filePath: string)
src/core/media-store.ts:60
↓ 6 callers
Function
pick
(items: readonly T[], randomInt: RandomInt)
src/workspaces/petname-id.ts:173
↓ 6 callers
Method
position
( account: string, contract: Contract, position: Decimal, avgCost: number, )
packages/ibkr/src/wrapper.ts:210
↓ 6 callers
Function
price
(v: unknown)
src/tool/trading-compact.ts:52
↓ 6 callers
Function
probeFreePort
(start: number, end: number = start + 100)
apps/desktop/src/probe-port.ts:15
↓ 6 callers
Function
projectOrderHistory
(commits: GitCommit[], opts: { limit?: number } = {})
services/uta/src/domain/trading/order-history.ts:71
↓ 6 callers
Function
proxiesSet
(ex: any)
services/uta/src/domain/trading/brokers/ccxt/CcxtBroker.spec.ts:125
↓ 6 callers
Function
pushWith
(app: Hono, headers: Record<string, string>)
src/server/cli.spec.ts:222
↓ 6 callers
Function
queryAccount
* Execute a data query against a UTA with health-aware error handling. * - Offline → 503 + nudge recovery * - Transient error → 503 * - Permanent e
services/uta/src/http/routes-trading.ts:96
↓ 6 callers
Method
readAiConfig
(cwd: string)
src/workspaces/cli-adapter.ts:234
↓ 6 callers
Function
readMeta
(files: Map<string, unknown>)
src/migrations/runner.spec.ts:30
↓ 6 callers
Function
readRss
( context: NewsToolContext, options: { id: number }, )
src/domain/news/query/archive.ts:182
↓ 6 callers
Function
registerCliRoutes
(app: Hono, deps: CliGatewayDeps)
src/server/cli.ts:51
↓ 6 callers
Function
relFor
(id: string)
src/workspaces/issues/mutate.ts:79
↓ 6 callers
Method
reqAccountSummary
(reqId: number, groupName: string, tags: string)
packages/ibkr/src/client/account.ts:19
↓ 6 callers
Method
reqAccountUpdates
(subscribe: boolean, acctCode: string)
packages/ibkr/src/client/account.ts:18
↓ 6 callers
Method
reqFundamentalData
(reqId: number, contract: Contract, reportType: string, fundamentalDataOptions: TagValueList)
packages/ibkr/src/client/historical.ts:34
↓ 6 callers
Method
reqHistoricalData
(reqId: number, contract: Contract, endDateTime: string, durationStr: string, barSizeSetting: string, whatToSh
packages/ibkr/src/client/historical.ts:22
↓ 6 callers
Function
resolveInjectionModel
(cred: Pick<Credential, 'vendor' | 'lastModel'>)
src/workspaces/credential-injection.ts:83
↓ 6 callers
Function
resolveWindowsBin
( command: string, platform: NodeJS.Platform = process.platform, binDir: string = resolve(process.cwd(),
scripts/guardian/shared.ts:190
↓ 6 callers
Method
search
(params: Record<string, unknown>)
src/domain/market-data/client/types.ts:77
↓ 6 callers
Function
sess
(sessionId: string, mtime: string)
src/workspaces/transcript-watcher.spec.ts:46
↓ 6 callers
Function
shippingCurve
(key: string, name: string, baseTons: number, vessels: number)
ui/src/demo/handlers/market.ts:234
↓ 6 callers
Function
shutdown
Cascade tree-kill both children, then exit once they're gone.
apps/desktop/src/main.ts:584
↓ 6 callers
Function
signFromDelta
(n: number | null | undefined)
ui/src/components/Metric.tsx:70
↓ 6 callers
Function
simulate
( barService: BarService, ref: BarSourceRef, opts: SimulateOpts, )
src/domain/analysis/simulate.ts:70
↓ 6 callers
Function
spot
(localSymbol: string)
ui/src/demo/fixtures/trading.ts:290
↓ 6 callers
Function
startServer
(app: Hono)
src/webui/__tests__/sse-transport.spec.ts:23
↓ 6 callers
Function
stripImageData
(raw: string)
src/ai-providers/utils.ts:8
↓ 6 callers
Function
summary
Append a line to the GitHub step summary if running in Actions. No-op locally.
scripts/guardian/smoke.ts:54
↓ 6 callers
Function
svcWith
(candidates: Array<{ barId: string; barCapability?: string; assetClass?: string }>)
src/tool/source-resolve.spec.ts:5
↓ 6 callers
Function
toTextHistory
(entries: SessionEntry[])
src/core/session.ts:442
↓ 6 callers
Function
touch
(name: string)
src/workspaces/agent-detect.spec.ts:11
↓ 6 callers
Function
touch
(name: string)
src/workspaces/win-command.spec.ts:16
↓ 6 callers
Function
useSchemaForm
( schema: JsonSchema | undefined, initialValues?: Record<string, string>, )
ui/src/hooks/useSchemaForm.ts:38
↓ 6 callers
Function
utaId
(params: { id?: string | readonly string[] })
ui/src/demo/handlers/trading.ts:41
← previous
next →
601–700 of 9,054, ranked by callers