MCPcopy Create free account

hub / github.com/TraderAlice/OpenAlice / functions

Functions9,054 in github.com/TraderAlice/OpenAlice

↓ 13 callersFunctionwriteWorkspaceFile
( workspaceDir: string, relPath: string, content: string, )
src/workspaces/file-service.ts:124
↓ 12 callersMethod_set_event
Set an event to indicate that a response has been received. Args: req_id: The request ID event_name: The event name data: The response dat
packages/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py:153
↓ 12 callersMethod_wait_for_response
Wait for a response from TWS for a specific request. Args: req_id: The request ID to wait for event_name: The event name to wait for ti
packages/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py:109
↓ 12 callersFunctioncachedBoard
( ttlMs: number, fn: () => Promise<T>, )
src/domain/market-data/reference/cache.ts:19
↓ 12 callersFunctioncfg
(origins: string[] = [], allowAnyOrigin = false)
src/webui/workspaces-ws.spec.ts:12
↓ 12 callersFunctioncompareVersions
(a: string, b: string)
apps/desktop/src/update-check.ts:74
↓ 12 callersFunctioncreate
(base?: DeepPartial<PnL>)
packages/ibkr/src/protobuf/PnL.ts:114
↓ 12 callersFunctioncreateChannel
()
src/core/async-channel.ts:16
↓ 12 callersFunctionctx
(extra: Partial<SpawnContext> = {})
src/workspaces/adapters/interactive-seed.spec.ts:34
↓ 12 callersMethoddeclareProducer
Declare a producer (pure event source). Throws on name collision with any * listener or existing producer. Returns a constrained, validated emit h
src/core/listener-registry.ts:56
↓ 12 callersMethodensureLoaded
* Force-load the records for one workspace (no-op if already loaded or * the file doesn't exist). New workspaces start with an empty map.
src/workspaces/session-registry.ts:130
↓ 12 callersFunctionextractMediaFromToolOutput
(output: unknown)
src/core/media.ts:11
↓ 12 callersFunctionfakeManager
(accounts: ReturnType<typeof fakeAccount>[])
src/tool/trading.spec.ts:45
↓ 12 callersFunctionfileReturns
Simulate a file read that returns JSON content.
src/core/config.spec.ts:51
↓ 12 callersFunctionfloatMaxString
(val: number)
packages/ibkr/src/order-state.ts:8
↓ 12 callersFunctionfmtPnl
(input: number | string | undefined | null, currency?: string)
ui/src/lib/format.ts:56
↓ 12 callersFunctiongrepRss
( context: NewsToolContext, options: { pattern: string contextChars?: number metadataFilter?:
src/domain/news/query/archive.ts:98
↓ 12 callersFunctioninferCredentialVendor
(opts: { agent?: string; baseUrl?: string })
src/core/credential-inference.ts:32
↓ 12 callersMethodingest
* Ingest a single news item. Returns true if new (not a duplicate). * * Serialized via writeChain so that concurrent callers cannot both pass th
src/domain/news/store.ts:127
↓ 12 callersFunctioninjectWorkspaceContext
(opts: { readonly template: TemplateMeta; readonly wsId: string; readonly dir: string; })
src/workspaces/context-injector.ts:40
↓ 12 callersFunctionmakeMigration
(id: string, body?: (ctx: MigrationContext) => Promise<void>)
src/migrations/runner.spec.ts:34
↓ 12 callersFunctionmakePlaceOrderOp
(overrides: { symbol?: string action?: 'BUY' | 'SELL' orderType?: string cashQty?: number totalQuant
services/uta/src/domain/trading/guards/guards.spec.ts:17
↓ 12 callersFunctionnativeFetch
( url: string, options: { headers?: Record<string, string>; timeoutMs?: number } = {}, )
packages/opentypebb/src/core/provider/utils/helpers.ts:182
↓ 12 callersFunctionplace
(p: Record<string, unknown>)
services/uta/src/domain/trading/UnifiedTradingAccount.spec.ts:473
↓ 12 callersFunctionreadUTAsConfig
()
src/core/config.ts:694
↓ 12 callersFunctionresolveAnthropicAuthMode
( opts: { authMode?: 'x-api-key' | 'bearer'; baseUrl?: string }, )
src/core/credential-inference.ts:53
↓ 12 callersFunctionrun
(cmd: string, args: readonly string[], env?: NodeJS.ProcessEnv)
src/workspaces/workspace-creation.e2e.spec.ts:60
↓ 12 callersFunctionrunScript
( script: string, deps: CalcDeps, precision = 4, opts: { withDates?: boolean } = {}, )
src/domain/analysis/calc-v2/index.ts:25
↓ 12 callersFunctionsvc
Build a structural fake service with both authorities.
src/server/inbox-origin.spec.ts:7
↓ 12 callersFunctiontoModelMessages
(entries: SessionEntry[])
src/core/session.ts:313
↓ 11 callersMethodcallCount
Count calls to a specific method.
services/uta/src/domain/trading/brokers/mock/MockBroker.ts:238
↓ 11 callersFunctioncheckAuth
(cfg: WebhookConfig, presented: string | null)
src/webui/routes/webhook-auth.ts:40
↓ 11 callersFunctioncommit
(ops: Operation[], results: OperationResult[], message = 'test')
services/uta/src/domain/trading/order-history.spec.ts:9
↓ 11 callersFunctioncontractToCcxt
( contract: Contract, markets: Record<string, CcxtMarket>, exchangeName: string, )
services/uta/src/domain/trading/brokers/ccxt/ccxt-contracts.ts:118
↓ 11 callersFunctioncreateConfigRoutes
(opts?: ConfigRouteOpts)
src/webui/routes/config.ts:37
↓ 11 callersFunctioncreateEconomyTools
( economyClient: EconomyClientLike, commodityClient: CommodityClientLike, )
src/tool/economy.ts:30
↓ 11 callersFunctiondefaultPath
(...parts: string[])
src/core/paths.ts:48
↓ 11 callersFunctionderivePositionMath
(input: PositionMathInput)
services/uta/src/domain/trading/position-math.ts:52
↓ 11 callersFunctionextractPresentedToken
(headers: { authorization?: string | null 'x-openalice-token'?: string | null })
src/webui/routes/webhook-auth.ts:26
↓ 11 callersFunctionfetchLatestRelease
(opts?: { /** Force re-fetch even if cache is fresh. */ force?: boolean })
src/core/version.ts:119
↓ 11 callersMethodgetAccountCache
Read the cached account data. Returns null if not yet loaded.
services/uta/src/domain/trading/brokers/ibkr/request-bridge.ts:256
↓ 11 callersMethodgetContractDetails
(query: Contract)
packages/uta-protocol/src/types/broker.ts:468
↓ 11 callersFunctionhasCredential
(credentials: Record<string, string>, bbProvider: string)
src/domain/market-data/__tests__/bbProviders/setup.ts:31
↓ 11 callersFunctionisSet
(value: any)
packages/ibkr/src/protobuf/OrderStatus.ts:277
↓ 11 callersFunctionisSet
(value: any)
packages/ibkr/src/protobuf/TickOptionComputation.ts:266
↓ 11 callersFunctionisSet
(value: any)
packages/ibkr/src/protobuf/HistoricalDataRequest.ts:361
↓ 11 callersMethodlistUTAs
()
src/services/uta-client/UTAManagerSDK.ts:74
↓ 11 callersFunctionpos
(o: { symbol: string secType?: string currency?: string side?: 'long' | 'short' qty: string avgCos
ui/src/demo/fixtures/trading.ts:104
↓ 11 callersFunctionpx
(v: number)
src/domain/analysis/simulate.ts:66
↓ 11 callersFunctionquickChat
(app: any, body: unknown)
src/webui/routes/workspaces-quickchat.spec.ts:77
↓ 11 callersFunctionreadWorkspaceFile
( workspaceDir: string, relPath: string, )
src/workspaces/file-service.ts:104
↓ 11 callersMethodremove
(wsId: string, id: string)
src/workspaces/session-registry.ts:197
↓ 11 callersFunctionreq
(routes: ReturnType<typeof createSimulatorRoutes>, method: 'GET' | 'POST', path: string, body?: unknown)
services/uta/src/http/simulator.spec.ts:33
↓ 11 callersFunctionrun
(key: string, probe: () => Promise<TestOutcome>)
ui/src/lib/useTestGate.ts:39
↓ 11 callersFunctionseal
(value: unknown)
src/core/sealing.ts:94
↓ 11 callersMethodstop
Terminal stop. Clears the pending timer; sets stopped flag.
src/core/pump.ts:65
↓ 11 callersMethodtickSize
(reqId: number, tickType: number, size: Decimal)
packages/ibkr/src/wrapper.ts:76
↓ 11 callersFunctionuserBlocks
(blocks: ContentBlock[])
src/core/session.spec.ts:31
↓ 10 callersMethod_resetForTest
Reset all state and delete the log file. For tests only.
src/core/event-log.ts:97
↓ 10 callersFunctionapply
(next)
ui/src/live/createLiveStore.ts:86
↓ 10 callersFunctionassistantBlocks
(blocks: ContentBlock[])
src/core/session.spec.ts:27
↓ 10 callersFunctionassistantText
(content: string)
src/core/session.spec.ts:23
↓ 10 callersMethodattach
Swap in `ws` as the attached client. A controller claim makes ownership * explicit: a second controller is rejected unless it deliberately takes
src/workspaces/persistent-session.ts:305
↓ 10 callersFunctionbuildSpawnEnv
( parent: NodeJS.ProcessEnv, extras: { [key: string]: string } = {}, cwd?: string, )
src/workspaces/spawn-env.ts:67
↓ 10 callersFunctioncompatibleCredentials
( credentials: Record<string, Credential>, agentId: string, )
src/workspaces/credential-injection.ts:50
↓ 10 callersMethodconvertToUsd
* Convert an amount in the given currency to USD. * Returns a warning only when the default (hardcoded) table is used.
services/uta/src/domain/trading/fx-service.ts:211
↓ 10 callersFunctioncreateInboxStore
(opts: InboxStoreOptions = {})
src/core/inbox-store.ts:160
↓ 10 callersFunctioncreateReferenceRoutes
(ctx: EngineContext)
src/webui/routes/reference.ts:14
↓ 10 callersFunctioncreateSimulatorRoutes
(ctx: UTAEngineContext)
services/uta/src/http/routes-simulator.ts:105
↓ 10 callersFunctionevalExpr
(e: Expr)
src/domain/analysis/calc-v2/evaluator.ts:75
↓ 10 callersFunctionfetchFredMultiSeries
( seriesIds: string[], apiKey: string, opts: { startDate?: string | null endDate?: string | null
packages/opentypebb/src/providers/federal_reserve/utils/fred-helpers.ts:102
↓ 10 callersFunctionfilterByProvider
(accounts: TestAccount[], provider: BrokerEngine)
services/uta/src/domain/trading/__test__/e2e/setup.ts:142
↓ 10 callersMethodgetNewsV2
* Get news (supports semantic time and count limit) * * @param options - Query options * @returns News list (ascending by time, newest last)
src/domain/news/types.ts:84
↓ 10 callersFunctiongetTestAccounts
()
services/uta/src/domain/trading/__test__/e2e/setup.ts:92
↓ 10 callersFunctionintMaxString
(val: number)
packages/ibkr/src/contract.ts:10
↓ 10 callersFunctionisSet
(value: any)
packages/ibkr/src/protobuf/ApiPrecautionsConfig.ts:266
↓ 10 callersFunctionisSet
(value: any)
packages/ibkr/src/protobuf/HistoricalTicksRequest.ts:343
↓ 10 callersMethodlistSubAccounts
* Enumerate the sub-accounts this connection spans. OPTIONAL — a broker that * omits it is treated as having a single implicit 'default' sub-accoun
packages/uta-protocol/src/types/broker.ts:506
↓ 10 callersMethodreadAll
()
src/core/session.ts:77
↓ 10 callersMethodreadRange
(opts?: { startTime?: string; endTime?: string; limit?: number })
services/uta/src/domain/trading/snapshot/store.ts:32
↓ 10 callersFunctionreadWorkspaceMetadata
(wsDir: string)
src/workspaces/workspace-metadata.ts:31
↓ 10 callersFunctionrefresh
()
ui/src/components/workspace/FilesPanel.tsx:26
↓ 10 callersFunctionresolveAccount
Resolve account by :id param, return 404 if not found.
services/uta/src/http/routes-trading.ts:84
↓ 10 callersFunctionresolveSymbol
(contract: Contract)
services/uta/src/domain/trading/brokers/longbridge/longbridge-contracts.ts:67
↓ 10 callersFunctionsafeJson
(c: import('hono').Context)
src/webui/routes/workspaces.ts:1460
↓ 10 callersMethodsearch
Substring match on name + description (case-insensitive). Empty query * returns everything. Used by the agent's pre-create dedup check and the
src/core/entity-store.ts:55
↓ 10 callersMethodsimulatePriceChange
(priceChanges: PriceChangeInput[])
services/uta/src/domain/trading/git/interfaces.ts:74
↓ 10 callersMethodskipNewlines
()
src/domain/analysis/calc-v2/parser.ts:38
↓ 10 callersMethodstageCancelOrder
(params: { orderId: string })
services/uta/src/domain/trading/UnifiedTradingAccount.ts:673
↓ 10 callersFunctionstk
(symbol: string, exchange = 'SMART')
ui/src/demo/fixtures/trading.ts:286
↓ 10 callersFunctionsymbolsOf
(xs: ReturnType<typeof fuzzyRankContracts>)
services/uta/src/domain/trading/brokers/fuzzy-rank.spec.ts:17
↓ 10 callersMethodtickPrice
( reqId: number, tickType: number, price: number, attrib: TickAttrib, )
packages/ibkr/src/wrapper.ts:69
↓ 10 callersMethodupdateAccountValue
( key: string, val: string, currency: string, accountName: string, )
packages/ibkr/src/wrapper.ts:163
↓ 10 callersFunctionupdateIssueFields
( wsDir: string, id: string, patch: IssueFieldPatch, )
src/workspaces/issues/mutate.ts:109
↓ 9 callersFunctioncfg
(tokens: Array<{ id: string; token: string }>)
src/webui/routes/webhook-auth.spec.ts:5
↓ 9 callersFunctioncomputeNextRun
(schedule: Schedule, afterMs: number)
src/core/schedule-expr.ts:20
↓ 9 callersFunctioncreateEntityStore
(opts: EntityStoreOptions = {})
src/core/entity-store.ts:97
↓ 9 callersFunctioncreateHubFetcher
(cfg: HubConfig | undefined, opts?: { timeoutMs?: number; breakerMs?: number })
src/domain/market-data/reference/hub.ts:37
↓ 9 callersFunctiondecimalMaxString
(val: Decimal)
packages/ibkr/src/common.ts:27
↓ 9 callersFunctiondecodeContract
(contractProto: ContractProto)
packages/ibkr/ref/source/pythonclient/ibapi/decoder_utils.py:41
← previousnext →301–400 of 9,054, ranked by callers