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
↓ 8 callers
Function
validateAndTouch
(sid: string, opts: { ttlMs?: number } = {})
src/services/auth/session-store.ts:122
↓ 8 callers
Function
verifyToken
(candidate: string)
src/services/auth/token-store.ts:106
↓ 8 callers
Method
waitForConnect
Connect the EClient and wait for nextValidId (indicates TWS is ready).
services/uta/src/domain/trading/brokers/ibkr/request-bridge.ts:121
↓ 7 callers
Function
Create
(condType: number)
packages/ibkr/src/order-condition.ts:381
↓ 7 callers
Function
P
Minimal Provider-shaped stub — only the fields listMarketVendors reads.
src/domain/market-data/vendors.spec.ts:20
↓ 7 callers
Method
__init__
(self, isMore=None, time=None)
packages/ibkr/ref/source/pythonclient/ibapi/order_condition.py:163
↓ 7 callers
Function
aaplOnly
(payload: object)
ui/src/demo/handlers/market.ts:17
↓ 7 callers
Method
accountDownloadEnd
(accountName: string)
packages/ibkr/src/wrapper.ts:183
↓ 7 callers
Function
appendIssueComment
( wsDir: string, id: string, author: string, text: string, )
src/workspaces/issues/mutate.ts:178
↓ 7 callers
Function
applyAllHandlers
(decoder: Decoder)
packages/ibkr/src/decoder/index.ts:19
↓ 7 callers
Function
base
(presetId: string, presetConfig: Record<string, unknown>)
src/core/config.ts:592
↓ 7 callers
Function
checkForUpdate
(currentVersion: string)
apps/desktop/src/update-check.ts:38
↓ 7 callers
Method
close
()
ui/src/components/workspace/Terminal.tsx:52
↓ 7 callers
Function
compactContract
(c: unknown)
src/tool/trading-compact.ts:72
↓ 7 callers
Method
connect
(host: string, port: number, clientId: number)
packages/ibkr/src/client/base.ts:115
↓ 7 callers
Function
createMemoryInboxStore
()
src/core/inbox-store.ts:361
↓ 7 callers
Function
diag
(fn: () => unknown)
src/domain/analysis/calc-v2/parser.spec.ts:5
↓ 7 callers
Function
disableTargetlessCronJobs
( jobsFilePath: string = DEFAULT_JOBS_PATH, )
src/migrations/0008_disable_targetless_cron_jobs/index.ts:50
↓ 7 callers
Method
error
(err: Error)
src/core/async-channel.ts:12
↓ 7 callers
Function
estimateEntryTokens
(entry: SessionEntry)
src/core/compaction.ts:44
↓ 7 callers
Method
event
Routine connection-lifecycle event: dedicated file always, console only on debug.
src/workspaces/logger.ts:83
↓ 7 callers
Function
exec
(t: unknown, args: unknown)
src/tool/etf.spec.ts:11
↓ 7 callers
Function
executeOneShotOrder
( uta: UnifiedTradingAccount, message: string, stage: () => void, )
services/uta/src/domain/trading/order-entry.ts:44
↓ 7 callers
Method
fillOrder
Manually fill a pending order. Optional price (defaults to markPrice or limit price); optional qty for partial.
services/uta/src/domain/trading/brokers/mock/MockBroker.ts:580
↓ 7 callers
Function
fmtPercent
(n: unknown, digits = 2)
ui/src/components/market/format.ts:28
↓ 7 callers
Function
getBrokerPreset
(presetId: string)
packages/uta-protocol/src/brokers/preset-catalog.ts:525
↓ 7 callers
Function
getHistoricalData
( symbol: string, options: { startDate?: string | null endDate?: string | null interval?: stri
packages/opentypebb/src/providers/yfinance/utils/helpers.ts:282
↓ 7 callers
Method
getNativeKey
(contract: Contract)
services/uta/src/domain/trading/brokers/mock/MockBroker.ts:524
↓ 7 callers
Function
getTokenInfo
()
src/services/auth/token-store.ts:123
↓ 7 callers
Function
gmRow
(country: string, label: string, cpi: number | null, rate: number | null, cli: number | null, house?: number |
ui/src/demo/handlers/market.ts:216
↓ 7 callers
Function
holdPort
(port: number)
apps/desktop/src/probe-port.spec.ts:5
↓ 7 callers
Function
isAsciiPrintable
(val: string)
packages/ibkr/src/utils.ts:152
↓ 7 callers
Function
isDigit
(c: string)
src/domain/analysis/calc-v2/lexer.ts:97
↓ 7 callers
Function
isSet
(value: any)
packages/ibkr/src/protobuf/MarketDepthData.ts:194
↓ 7 callers
Function
isSet
(value: any)
packages/ibkr/src/protobuf/MarketDataRequest.ts:287
↓ 7 callers
Function
isSet
(value: any)
packages/ibkr/src/protobuf/ScannerDataElement.ts:197
↓ 7 callers
Function
isSet
(value: any)
packages/ibkr/src/protobuf/OrderAllocation.ts:194
↓ 7 callers
Function
isSet
(value: any)
packages/ibkr/src/protobuf/RealTimeBarsRequest.ts:294
↓ 7 callers
Function
loadConfig
(opts: LoadConfigOptions)
src/workspaces/config.ts:77
↓ 7 callers
Function
login
(token: string)
ui/src/auth/api.ts:25
↓ 7 callers
Function
longMaxString
(val)
packages/ibkr/ref/source/pythonclient/ibapi/utils.py:177
↓ 7 callers
Function
makeEntry
(overrides: Partial<SessionEntry> & Pick<SessionEntry, 'type' | 'message'>)
src/core/compaction.spec.ts:23
↓ 7 callers
Function
makeJob
(name: string, opts: { enabled?: boolean; workspaceId?: string } = {})
src/migrations/0008_disable_targetless_cron_jobs.spec.ts:20
↓ 7 callers
Function
makeMemoryContext
Create an in-memory MigrationContext over a virtual config dir.
src/migrations/runner.spec.ts:6
↓ 7 callers
Function
makeOpenOrder
(overrides?: Partial<{ action: string; orderType: string; qty: number | string; lmtPrice: number | string; sta
services/uta/src/__tests__/trading-tools.spec.ts:124
↓ 7 callers
Function
migrateWorkspaceIssues
( launcherRoot: string = defaultLauncherRoot(), )
src/migrations/0010_workspace_issues_to_markdown/index.ts:127
↓ 7 callers
Function
mockBalance
(currency: string, fields: Partial<{ totalCash: string; netAssets: string; buyPower: string; initMargin: str
services/uta/src/domain/trading/brokers/longbridge/LongbridgeBroker.spec.ts:832
↓ 7 callers
Function
multiplierToDecimal
(m: string | undefined)
services/uta/src/domain/trading/position-math.ts:42
↓ 7 callers
Function
noAccountsError
Distinguish "no accounts configured" from "your source matched nothing" * — and list what WOULD match, so the agent self-corrects in one step * in
src/tool/trading.ts:156
↓ 7 callers
Method
openOrder
( orderId: number, contract: Contract, order: Order, orderState: OrderState, )
packages/ibkr/src/wrapper.ts:142
↓ 7 callers
Method
orderStatus
( orderId: number, status: string, filled: Decimal, remaining: Decimal, avgFillPrice: numb
packages/ibkr/src/wrapper.ts:128
↓ 7 callers
Function
parseIssueContent
( id: string, raw: string, )
src/workspaces/issues/declaration.ts:200
↓ 7 callers
Function
parseLbSymbol
(lbSymbol: string)
services/uta/src/domain/trading/brokers/longbridge/longbridge-contracts.ts:51
↓ 7 callers
Function
placeParams
(subAccountId?: string)
services/uta/src/domain/trading/UnifiedTradingAccount.spec.ts:66
↓ 7 callers
Function
post
(path: string, body: unknown)
src/server/cli.spec.ts:41
↓ 7 callers
Function
postJson
(url: string, body: unknown)
ui/src/api/simulator.ts:50
↓ 7 callers
Function
probeFreePort
(start: number, end: number = start + 100)
scripts/probe-port.ts:18
↓ 7 callers
Method
processProtoBuf
* Dispatch a protobuf-encoded message. * Mirrors: ibapi/decoder.py processProtoBuf()
packages/ibkr/src/decoder/base.ts:71
↓ 7 callers
Method
reconnectUTA
Reconnect a single UTA. SDK-side: we don't have account granularity * over the wire today, so this triggers a whole-UTA-process restart * via
src/services/uta-client/UTAManagerSDK.ts:164
↓ 7 callers
Function
recordYFFailure
()
packages/opentypebb/src/providers/yfinance/utils/helpers.ts:25
↓ 7 callers
Function
recordYFSuccess
()
packages/opentypebb/src/providers/yfinance/utils/helpers.ts:24
↓ 7 callers
Function
relocateLegacyData
(legacyRoot: string, newRoot: string)
apps/desktop/src/relocate-data.ts:27
↓ 7 callers
Method
reset
Reset counters (e.g. tests).
src/task/metrics/listener.ts:27
↓ 7 callers
Function
resolveCreateAgents
( agentsRequested: readonly string[] | undefined, templateDefaultAgents: readonly string[], allAdapterId
src/workspaces/workspace-creator.ts:72
↓ 7 callers
Function
resolvePortConfig
( env: NodeJS.ProcessEnv, file: Partial<Record<PortName, number>>, )
scripts/guardian/shared.ts:112
↓ 7 callers
Method
restore
()
src/core/session.ts:79
↓ 7 callers
Function
rgbToInt
(rgb: TerminalThemeRgb)
ui/src/components/workspace/terminalThemeProfile.ts:153
↓ 7 callers
Function
run
(F: any, params: any)
packages/opentypebb/src/providers/twse/__tests__/twse.live.spec.ts:14
↓ 7 callers
Function
runScript
( script: string, args: readonly string[], extraEnv: { [key: string]: string }, timeoutMs: number, )
src/workspaces/workspace-creator.ts:334
↓ 7 callers
Method
searchBarSources
(query: string, opts?: { limit?: number })
src/domain/market-data/bars/types.ts:129
↓ 7 callers
Function
setPlatform
(value: NodeJS.Platform)
src/workspaces/workspace-creator.spec.ts:41
↓ 7 callers
Method
spawn
(wsId: string, opts?: SpawnOpts, source?: WorkspaceSource)
ui/src/contexts/workspaces-context.ts:25
↓ 7 callers
Function
specEquals
(a: ViewSpec, b: ViewSpec)
ui/src/tabs/types.ts:98
↓ 7 callers
Function
stubFetch
(impl: () => Promise<unknown>)
apps/desktop/src/update-check.spec.ts:31
↓ 7 callers
Function
tempLogPath
Each test gets its own temp file to avoid interference.
src/core/event-log.spec.ts:8
↓ 7 callers
Method
tick
Run one pass immediately (also used by tests).
services/uta/src/domain/trading/order-sync-poller.ts:35
↓ 7 callers
Function
unsetToUndef
(d: Decimal)
services/uta/src/domain/trading/OrderHelper.ts:68
↓ 7 callers
Method
updatePortfolio
( contract: Contract, position: Decimal, marketPrice: string, marketValue: string, average
packages/ibkr/src/wrapper.ts:170
↓ 7 callers
Function
useReferenceBoard
(fetcher: () => Promise<T>, refreshMs: number)
ui/src/components/market/useReferenceBoard.ts:8
↓ 7 callers
Function
waitFor
( condition: () => boolean, timeoutMs = 5000, intervalMs = 100, )
packages/ibkr/tests/e2e/setup.ts:101
↓ 7 callers
Function
withHubCalendars
(client: EquityClientLike, hub: HubConfig | undefined)
src/domain/market-data/hub-data.ts:28
↓ 7 callers
Function
withRetry
Retry a function up to maxRetries times with delay between attempts
packages/opentypebb/src/providers/yfinance/utils/helpers.ts:115
↓ 6 callers
Method
EuropeanStock
()
packages/ibkr/ref/samples/Python/Testbed/ContractSamples.py:51
↓ 6 callers
Method
EuropeanStock2
()
packages/ibkr/ref/samples/Python/Testbed/ContractSamples.py:61
↓ 6 callers
Method
SimpleFuture
()
packages/ibkr/ref/samples/Python/Testbed/ContractSamples.py:261
↓ 6 callers
Method
_markPriceFor
Resolve markPrice for a contract via its nativeKey.
services/uta/src/domain/trading/brokers/mock/MockBroker.ts:841
↓ 6 callers
Function
acquireWorkspaceProcessLock
( launcherRoot: string, opts: WorkspaceProcessLockOptions = {}, )
src/workspaces/process-lock.ts:46
↓ 6 callers
Method
appendRaw
(entry: SessionEntry)
src/core/session.ts:76
↓ 6 callers
Function
asStr
(v: V, fn: string, argIdx: number, line: number)
src/domain/analysis/calc-v2/evaluator.ts:221
↓ 6 callers
Function
assistantText
(content: string)
src/core/compaction.spec.ts:37
↓ 6 callers
Function
attachWebglRenderer
(term: Terminal)
ui/src/components/workspace/renderer.ts:39
↓ 6 callers
Function
boardCtx
(over: Partial<WorkspaceToolContext['board']> = {})
src/tool/issue-tools.spec.ts:206
↓ 6 callers
Function
buildRouteMap
()
src/domain/market-data/client/typebb/route-map.ts:15
↓ 6 callers
Function
buildSummarizationPrompt
(entries: SessionEntry[])
src/core/compaction.ts:149
↓ 6 callers
Function
cached
(ttlMs: number, fn: () => Promise<T>)
packages/opentypebb/src/providers/twse/common.ts:88
↓ 6 callers
Method
cancelFundamentalData
(reqId: number)
packages/ibkr/src/client/historical.ts:35
↓ 6 callers
Function
ccxtTypeToSecType
(type: string)
services/uta/src/domain/trading/brokers/ccxt/ccxt-contracts.ts:26
↓ 6 callers
Function
completeOneShotIssueAfterRun
( input: OneShotIssueCompletionInput, )
src/workspaces/issues/auto-complete.ts:42
↓ 6 callers
Function
contract
(over: Partial<Contract> = {})
services/uta/src/domain/trading/order-history.spec.ts:24
↓ 6 callers
Method
contractDetails
(reqId: number, contractDetails: ContractDetails)
packages/ibkr/src/wrapper.ts:234
← previous
next →
501–600 of 9,054, ranked by callers