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
fedLabel
(id: string, t: ReturnType<typeof useTranslation>['t'])
ui/src/pages/MarketBoardPage.tsx:644
↓ 1 callers
Method
fetchAssetHoldings
* Synthesize asset holdings (BTC/ETH/etc balances) into Position records. * * CCXT's fetchPositions() only returns derivative positions * (SW
services/uta/src/domain/trading/brokers/ccxt/CcxtBroker.ts:775
↓ 1 callers
Function
fetchBars
(barId: string, fetchOpts: GetBarsOpts, assetClass: AssetClass | undefined)
src/domain/analysis/calc-v2/evaluator.ts:65
↓ 1 callers
Method
fetchData
Full pipeline: transformQuery → extractData → transformData
packages/opentypebb/src/core/provider/abstract/fetcher.ts:36
↓ 1 callers
Function
fetchFedBoard
(economyClient: EconomyClientLike)
src/domain/market-data/reference/fed.ts:52
↓ 1 callers
Method
fetchFeed
Fetch a single feed and ingest its items.
src/domain/news/collector/rss.ts:100
↓ 1 callers
Method
fetchFromApi
(client: EquityClientLike)
src/domain/market-data/equity/symbol-index.ts:128
↓ 1 callers
Method
fetchOptionMultiplierMap
Batch-fetch option contract multipliers. Returns empty map on failure.
services/uta/src/domain/trading/brokers/longbridge/LongbridgeBroker.ts:577
↓ 1 callers
Function
fetchPortfolioData
()
ui/src/pages/PortfolioPage.tsx:309
↓ 1 callers
Function
fetchPythUpdateData
(feedIds: `0x${string}`[])
services/uta/src/domain/trading/brokers/others/leverup/pyth.ts:31
↓ 1 callers
Method
fetchQuoteMap
Batch-fetch live `lastDone` for a symbol set. Returns empty map on failure.
services/uta/src/domain/trading/brokers/longbridge/LongbridgeBroker.ts:543
↓ 1 callers
Function
fetchSeries
Fetch a single ECB series via data-detail-api
packages/opentypebb/src/providers/ecb/models/balance-of-payments.ts:41
↓ 1 callers
Method
fetchStaticInfoMap
Batch-fetch staticInfo for derivative-type detection. Returns empty map on failure.
services/uta/src/domain/trading/brokers/longbridge/LongbridgeBroker.ts:559
↓ 1 callers
Function
fetchTemplateReadme
(name: string)
ui/src/components/workspace/api.ts:146
↓ 1 callers
Function
fetchValuationStrip
(indexClient: IndexClientLike)
src/domain/market-data/reference/valuation.ts:26
↓ 1 callers
Function
fetchViaDirect
Fetch options via direct Yahoo Finance v7 HTTP API (fallback)
packages/opentypebb/src/providers/yfinance/models/options-chains.ts:105
↓ 1 callers
Function
fetchViaYF2
Fetch options chain using yahoo-finance2's options() API via shared singleton
packages/opentypebb/src/providers/yfinance/models/options-chains.ts:22
↓ 1 callers
Method
fetchWarrantMultiplierMap
Batch-fetch warrant conversion ratios. Returns empty map on failure.
services/uta/src/domain/trading/brokers/longbridge/LongbridgeBroker.ts:595
↓ 1 callers
Function
fileNameFromPath
(path: string)
ui/src/pages/InboxPage.tsx:469
↓ 1 callers
Method
filterCredentials
* Filter credentials to only include those required by the provider. * Maps to: QueryExecutor.filter_credentials() in query_executor.py
packages/opentypebb/src/core/provider/query-executor.ts:51
↓ 1 callers
Method
findById
Find a record by id without knowing its wsId (record ids are global).
src/workspaces/session-registry.ts:165
↓ 1 callers
Function
findOrCreateChatWorkspace
()
src/webui/routes/workspaces.ts:272
↓ 1 callers
Function
findPackagedApp
()
scripts/desktop-packaged-smoke.mjs:63
↓ 1 callers
Function
fire
()
apps/desktop/src/main.ts:546
↓ 1 callers
Function
fire
()
scripts/guardian/shared.ts:453
↓ 1 callers
Function
fire
()
scripts/guardian/prod.mjs:210
↓ 1 callers
Method
fire
( ws: WorkspaceMeta, taskId: string, what: string, agentId: string | undefined, nowMs: num
src/workspaces/schedule/scanner.ts:204
↓ 1 callers
Function
firstLine
First line only — codex rollout line-1 (session_meta) can be many KB * (it embeds the full base instructions), so stream rather than readFile.
src/workspaces/adapters/codex.ts:367
↓ 1 callers
Function
firstWorkspaceRuntime
(wsMeta: WorkspaceMeta)
src/workspaces/service.ts:320
↓ 1 callers
Function
flashClass
(key: string)
ui/src/pages/simulator/MarkPrices.tsx:103
↓ 1 callers
Method
flushPending
Discard any orphaned pending records (e.g. after stream error).
src/core/tool-call-log.ts:60
↓ 1 callers
Function
fmtDuration
(ms?: number)
ui/src/components/IssueDetail.tsx:59
↓ 1 callers
Function
fmtDuration
(ms?: number)
ui/src/pages/AutomationRunsSection.tsx:16
↓ 1 callers
Function
fmtPct
(x: number | null)
ui/src/pages/MarketBoardPage.tsx:658
↓ 1 callers
Function
fmtPrice
(x: number | null)
ui/src/pages/MarketBoardPage.tsx:655
↓ 1 callers
Function
fmtSeriesValue
(card: MacroSeriesCard, v: number | null)
ui/src/components/market/SeriesCard.tsx:40
↓ 1 callers
Function
focusTab
(id)
ui/src/tabs/store.ts:162
↓ 1 callers
Method
foldBalancesToBase
* Pick HKD as base. Sum every currency's totalCash + netAssets after * FX-converting to HKD. Without FxService we fall back to picking the * lar
services/uta/src/domain/trading/brokers/longbridge/LongbridgeBroker.ts:380
↓ 1 callers
Function
formToConfig
(form: FormState, agent: AgentId)
ui/src/components/workspace/WorkspaceAIConfigModal.tsx:114
↓ 1 callers
Function
formatAbsolute
(ts: number)
ui/src/pages/InboxPage.tsx:532
↓ 1 callers
Function
formatDuration
(ms: number)
ui/src/pages/LogsPage.tsx:35
↓ 1 callers
Function
formatExpiryDate
YYYYMMDD → MM/DD/YY; YYYYMM → MM/YY; anything else passes through.
ui/src/lib/contract-display.tsx:90
↓ 1 callers
Function
formatExpiryMonthYear
YYYYMMDD / YYYYMM → "Sep 2026"; anything else passes through.
ui/src/lib/contract-display.tsx:101
↓ 1 callers
Function
formatFuturesSymbols
* Format futures symbols for Yahoo Finance. * - If expiration is given and no "." in symbol, append month code + year + ".CME" (default exchange) *
packages/opentypebb/src/providers/yfinance/models/futures-historical.ts:26
↓ 1 callers
Function
formatMeta
(e: FileEntry)
ui/src/components/workspace/FilesPanel.tsx:134
↓ 1 callers
Method
formatOperationChange
(op: Operation, result?: OperationResult)
services/uta/src/domain/trading/git/TradingGit.ts:377
↓ 1 callers
Function
formatOutput
Try to pretty-print JSON output, fall back to raw string.
ui/src/pages/LogsPage.tsx:46
↓ 1 callers
Function
formatSize
(n: number)
ui/src/components/workspace/FilesPanel.tsx:139
↓ 1 callers
Function
formatTime
(ts: number)
ui/src/pages/simulator/EventLog.tsx:16
↓ 1 callers
Method
fredRegional
(params: Record<string, unknown>)
src/domain/market-data/client/types.ts:110
↓ 1 callers
Function
fredRegionalApi
( seriesId: string, apiKey: string, opts: { regionType?: string date?: string startDate?: st
packages/opentypebb/src/providers/federal_reserve/utils/fred-helpers.ts:188
↓ 1 callers
Function
fredReleaseTableApi
( releaseId: string, apiKey: string, opts: { elementId?: number; date?: string } = {}, )
packages/opentypebb/src/providers/federal_reserve/utils/fred-helpers.ts:162
↓ 1 callers
Method
fredSearch
(params: Record<string, unknown>)
src/domain/market-data/client/types.ts:108
↓ 1 callers
Function
fredSearchApi
( query: string, apiKey: string, opts: { limit?: number; offset?: number } = {}, )
packages/opentypebb/src/providers/federal_reserve/utils/fred-helpers.ts:144
↓ 1 callers
Function
freePort
()
scripts/desktop-pty-smoke.mjs:42
↓ 1 callers
Method
fromConfig
(config: { id: string; label?: string; brokerConfig: Record<string, unknown> })
services/uta/src/domain/trading/brokers/ibkr/IbkrBroker.ts:65
↓ 1 callers
Method
fxRate
TWS-provided FX rate (currency → base) from the ExchangeRate account * tags. Returns null when TWS didn't send one for this currency.
services/uta/src/domain/trading/brokers/ibkr/IbkrBroker.ts:477
↓ 1 callers
Method
fxRate
* Cross-rate from `from` to `to` via USD. FxService.convertToUsd is * the only conversion the service exposes, so we run it twice and * divide.
services/uta/src/domain/trading/brokers/longbridge/LongbridgeBroker.ts:441
↓ 1 callers
Function
gen
()
services/uta/src/domain/trading/brokers/alpaca/AlpacaBroker.spec.ts:814
↓ 1 callers
Function
generateFuturesSymbols
Generate manual futures symbols for next N months
packages/opentypebb/src/providers/yfinance/models/futures-curve.ts:76
↓ 1 callers
Function
generateUrls
* Generate URLs for each 3-month interval between start and end dates.
packages/opentypebb/src/providers/fmp/models/treasury-rates.ts:36
↓ 1 callers
Method
getAccountId
Get the auto-detected account ID from managedAccounts callback.
services/uta/src/domain/trading/brokers/ibkr/request-bridge.ts:114
↓ 1 callers
Method
getBalanceOfPayments
(params?: Record<string, unknown>)
src/domain/market-data/client/types.ts:123
↓ 1 callers
Method
getBalanceSheet
(params: Record<string, unknown>)
src/domain/market-data/client/types.ts:46
↓ 1 callers
Method
getBlsSearch
(params: Record<string, unknown>)
src/domain/market-data/client/types.ts:112
↓ 1 callers
Method
getBlsSeries
(params: Record<string, unknown>)
src/domain/market-data/client/types.ts:113
↓ 1 callers
Method
getCashFlow
(params: Record<string, unknown>)
src/domain/market-data/client/types.ts:47
↓ 1 callers
Function
getCurrentQuarterInfo
Get current quarter info for default year/quarter
packages/opentypebb/src/providers/fmp/models/institutional-ownership.ts:65
↓ 1 callers
Function
getDataOne
(url: string)
packages/opentypebb/src/providers/fmp/utils/helpers.ts:100
↓ 1 callers
Method
getEnergyOutlook
(params: Record<string, unknown>)
src/domain/market-data/client/types.ts:104
↓ 1 callers
Method
getEstimateConsensus
(params: Record<string, unknown>)
src/domain/market-data/client/types.ts:49
↓ 1 callers
Function
getExpirationMonth
Extract expiration year-month from a futures ticker like CLF26.NYM → 2026-01
packages/opentypebb/src/providers/yfinance/models/futures-curve.ts:30
↓ 1 callers
Method
getFetcher
Get a fetcher from a provider by model name.
packages/opentypebb/src/core/provider/query-executor.ts:37
↓ 1 callers
Method
getFillData
Get cached fill data from orderStatus callbacks.
services/uta/src/domain/trading/brokers/ibkr/request-bridge.ts:211
↓ 1 callers
Method
getFinancialRatios
(params: Record<string, unknown>)
src/domain/market-data/client/types.ts:48
↓ 1 callers
Method
getFundingRate
(contract: Contract)
services/uta/src/domain/trading/brokers/ccxt/CcxtBroker.ts:1277
↓ 1 callers
Method
getFuturesCurve
(params: Record<string, unknown>)
src/domain/market-data/client/types.ts:138
↓ 1 callers
Function
getFuturesCurveSymbols
(symbol: string)
packages/opentypebb/src/providers/deribit/utils/helpers.ts:72
↓ 1 callers
Method
getFuturesInstruments
(params?: Record<string, unknown>)
src/domain/market-data/client/types.ts:140
↓ 1 callers
Function
getFuturesSymbols
(symbol: string)
packages/opentypebb/src/providers/yfinance/utils/helpers.ts:559
↓ 1 callers
Function
getFuturesSymbols
()
packages/opentypebb/src/providers/deribit/utils/helpers.ts:104
↓ 1 callers
Method
getFxRates
USD FX rates for the currencies currently in use across all active * UTAs (collected server-side from positions + account base currency). * Us
src/services/uta-client/UTAManagerSDK.ts:149
↓ 1 callers
Function
getGitLog
(id: string, limit = 30)
ui/src/components/workspace/api.ts:462
↓ 1 callers
Method
getGroup
Look up a tool's group by name.
src/core/tool-center.ts:64
↓ 1 callers
Function
getHistoricalDividends
( symbol: string, startDate?: string | null, endDate?: string | null, )
packages/opentypebb/src/providers/yfinance/utils/helpers.ts:490
↓ 1 callers
Method
getIncomeStatement
(params: Record<string, unknown>)
src/domain/market-data/client/types.ts:45
↓ 1 callers
Function
getIndexDirectory
()
packages/opentypebb/src/providers/cboe/models/index-search.ts:36
↓ 1 callers
Method
getInfo
(params: Record<string, unknown>)
src/domain/market-data/client/types.ts:78
↓ 1 callers
Function
getIssueDefaultAgent
()
ui/src/components/workspace/api.ts:219
↓ 1 callers
Method
getKeyMetrics
(params: Record<string, unknown>)
src/domain/market-data/client/types.ts:44
↓ 1 callers
Function
getMainSeries
(freq: string)
packages/opentypebb/src/providers/ecb/models/balance-of-payments.ts:28
↓ 1 callers
Method
getNextOrderId
Get and increment the next valid order ID.
services/uta/src/domain/trading/brokers/ibkr/request-bridge.ts:109
↓ 1 callers
Function
getOptionExerciseTypeName
(entry: OptionExerciseTypeEntry)
packages/ibkr/src/execution.ts:38
↓ 1 callers
Method
getOptionsChains
(params: Record<string, unknown>)
src/domain/market-data/client/types.ts:141
↓ 1 callers
Function
getOptionsSymbols
(symbol: string)
packages/opentypebb/src/providers/deribit/utils/helpers.ts:113
↓ 1 callers
Method
getOrder
(orderId: string)
services/uta/src/domain/trading/brokers/others/leverup/LeverupBroker.ts:459
↓ 1 callers
Method
getOrder
(orderId: string)
services/uta/src/domain/trading/brokers/ibkr/IbkrBroker.ts:583
↓ 1 callers
Method
getOrder
(orderId: string)
services/uta/src/domain/trading/brokers/longbridge/LongbridgeBroker.ts:621
↓ 1 callers
Method
getOrder
(orderId: string)
services/uta/src/domain/trading/brokers/alpaca/AlpacaBroker.ts:490
↓ 1 callers
Method
getOrder
(orderId: string, symbolHint?: string)
services/uta/src/domain/trading/brokers/ccxt/CcxtBroker.ts:1081
← previous
next →
2,801–2,900 of 9,054, ranked by callers