MCPcopy Create free account

hub / github.com/TraderAlice/OpenAlice / functions

Functions9,054 in github.com/TraderAlice/OpenAlice

↓ 3 callersFunctiontoFiniteNumber
(input: number | string | undefined | null)
ui/src/lib/format.ts:40
↓ 3 callersMethodtoString
()
packages/ibkr/src/common.ts:179
↓ 3 callersMethodtoString
()
packages/ibkr/src/contract.ts:28
↓ 3 callersFunctiontrimDecimal
Strip trailing zeros from a decimal string: "300.00" → "300", "7.50" → "7.5".
ui/src/lib/contract-display.tsx:82
↓ 3 callersFunctiontruncateMetadata
(metadata: Record<string, string | null>, maxLength: number = 40)
src/domain/news/query/archive.ts:53
↓ 3 callersMethodunregister
Unregister a listener by name. Unsubscribes it if the registry is started. No-op if not found.
src/core/listener-registry.ts:52
↓ 3 callersMethodunwireWs
(ws: WebSocket)
src/workspaces/persistent-session.ts:546
↓ 3 callersMethodupdateConfigResponseProtoBuf
(updateConfigResponseProto: unknown)
packages/ibkr/src/wrapper.ts:582
↓ 3 callersFunctionuseAccountHealth
()
ui/src/hooks/useAccountHealth.ts:12
↓ 3 callersFunctionuseConfigPage
({ section, extract, delay = 600, }: UseConfigPageOptions<T>)
ui/src/hooks/useConfigPage.ts:30
↓ 3 callersFunctionuseIssues
()
ui/src/hooks/useIssues.ts:32
↓ 3 callersFunctionuseOpenEquity
()
ui/src/pages/MarketBoardPage.tsx:218
↓ 3 callersFunctionuseToast
()
ui/src/components/Toast.tsx:21
↓ 3 callersFunctionuseTradingConfig
()
ui/src/hooks/useTradingConfig.ts:19
↓ 3 callersMethodvaluation
S&P 500 valuation strip (PE / CAPE / earnings yield / dividend * yield) from multpl — keyless.
src/domain/market-data/reference/types.ts:125
↓ 3 callersFunctionvendorPreset
(vendor: string, presets: Preset[])
ui/src/lib/presetHelpers.ts:104
↓ 3 callersMethodverifyCompleted
(isSuccessful: boolean, errorText: string)
packages/ibkr/src/wrapper.ts:483
↓ 3 callersMethodverifyMessageAPI
(apiData: string)
packages/ibkr/src/wrapper.ts:481
↓ 3 callersFunctionwaitForHttp
(url: string, opts: { timeoutMs: number intervalMs?: number })
scripts/guardian/shared.ts:264
↓ 3 callersFunctionweiToAmountIn
(wei: bigint | string, tokenDecimals: number)
services/uta/src/domain/trading/brokers/others/leverup/decimals.ts:54
↓ 3 callersFunctionweiToDecimal
(value: bigint | string, decimals: number)
services/uta/src/domain/trading/brokers/others/leverup/decimals.ts:30
↓ 3 callersFunctionwindowRss
( context: NewsToolContext, options: { pattern?: string; metadataFilter?: Record<string, string>; contextC
src/domain/news/query/archive.ts:149
↓ 3 callersFunctionwithReadStateLock
(fn: () => Promise<T>)
src/core/inbox-store.ts:167
↓ 3 callersFunctionworkspaceDisplayName
(w: Workspace)
ui/src/components/workspace/display.ts:3
↓ 3 callersFunctionworkspaceDisplayTitle
(w: Workspace)
ui/src/components/workspace/display.ts:7
↓ 3 callersMethodwriteAiConfig
* Read/write the workspace's per-CLI AI-provider override. The launcher * dispatches uniformly; each adapter renders the shared `WorkspaceAiCred`
src/workspaces/cli-adapter.ts:233
↓ 3 callersFunctionwriteReadState
(state: InboxReadStateFile)
src/core/inbox-store.ts:193
↓ 2 callersMethodAnd
()
packages/ibkr/src/order-condition.ts:50
↓ 2 callersMethodCashCFD
()
packages/ibkr/ref/samples/Python/Testbed/ContractSamples.py:644
↓ 2 callersMethodComboMarketOrder
(action:str, quantity:Decimal, nonGuaranteed:bool)
packages/ibkr/ref/samples/Python/Testbed/OrderSamples.py:749
↓ 2 callersMethodContFut
()
packages/ibkr/ref/samples/Python/Testbed/ContractSamples.py:580
↓ 2 callersMethodCryptoContract
()
packages/ibkr/ref/samples/Python/Testbed/ContractSamples.py:678
↓ 2 callersMethodEuropeanStockCFD
()
packages/ibkr/ref/samples/Python/Testbed/ContractSamples.py:633
↓ 2 callersFunctionExerciseStaticMethods
(klass)
packages/ibkr/ref/source/pythonclient/ibapi/utils.py:146
↓ 2 callersMethodFutureComboContract
()
packages/ibkr/ref/samples/Python/Testbed/ContractSamples.py:455
↓ 2 callersMethodFuturesOnOptions
()
packages/ibkr/ref/samples/Python/Testbed/ContractSamples.py:315
↓ 2 callersMethodHighOptVolumePCRatioUSIndexes
()
packages/ibkr/ref/samples/Python/Testbed/ScannerSubscriptionSamples.py:47
↓ 2 callersMethodHotUSStkByVolume
()
packages/ibkr/ref/samples/Python/Testbed/ScannerSubscriptionSamples.py:14
↓ 2 callersMethodLimitOrderWithCmeTaggingFields
(action: str, quantity: Decimal, limitPrice: float, extOperator: str, manualOrderIndicator: int)
packages/ibkr/ref/samples/Python/Testbed/OrderSamples.py:1226
↓ 2 callersMethodMarketToLimit
(action:str, quantity:Decimal)
packages/ibkr/ref/samples/Python/Testbed/OrderSamples.py:575
↓ 2 callersMethodOptForecastxZeroStrike
()
packages/ibkr/ref/samples/Python/Testbed/ContractSamples.py:741
↓ 2 callersMethodOr
(self)
packages/ibkr/ref/source/pythonclient/ibapi/order_condition.py:35
↓ 2 callersMethodOrderCancelWithCmeTaggingFields
(extOperator: str, manualOrderIndicator: int)
packages/ibkr/ref/samples/Python/Testbed/OrderSamples.py:1235
↓ 2 callersMethodPriceCondition
(triggerMethod:int, conId:int, exchange:str, price:float, isMore:bool, isConjunction:
packages/ibkr/ref/samples/Python/Testbed/OrderSamples.py:1012
↓ 2 callersFunctionSMA
(data: NumericInput, period: number)
src/domain/analysis/indicator/functions/statistics.ts:14
↓ 2 callersMethodUSStockCFD
()
packages/ibkr/ref/samples/Python/Testbed/ContractSamples.py:622
↓ 2 callersMethod__init__
(self)
packages/ibkr/ref/samples/Python/Testbed/Program.py:283
↓ 2 callersMethod__init__
(self, wrapper, serverVersion)
packages/ibkr/ref/source/pythonclient/ibapi/decoder.py:139
↓ 2 callersMethod_attemptReach
Probe the capability ladder up to this account's target reach. Stages: * L1 `broker.init()` (transport + public data) → 'connected'; for funded
services/uta/src/domain/trading/UnifiedTradingAccount.ts:280
↓ 2 callersMethod_buildContract
* Build a Contract from caller-supplied partial fields, defaulting only * the housekeeping bits (exchange / currency). Carries through every * I
services/uta/src/domain/trading/brokers/mock/MockBroker.ts:636
↓ 2 callersMethod_cloneOrder
(order: Order, orderId: string)
services/uta/src/domain/trading/brokers/mock/MockBroker.ts:967
↓ 2 callersMethod_ensureSubAccounts
Fetch (and memoize) the broker's sub-account list. Brokers that don't * implement `listSubAccounts` collapse to a single implicit 'default'.
services/uta/src/domain/trading/UnifiedTradingAccount.ts:560
↓ 2 callersMethod_noteFailure
(err: unknown)
services/uta/src/domain/trading/UnifiedTradingAccount.ts:306
↓ 2 callersMethod_notePermanent
(err: unknown)
services/uta/src/domain/trading/UnifiedTradingAccount.ts:303
↓ 2 callersMethod_rememberContract
Cache the contract under its native key so `resolveNativeKey` can * recover the full IBKR Contract metadata even after the position is * fully
services/uta/src/domain/trading/brokers/mock/MockBroker.ts:656
↓ 2 callersFunction_resetCacheForTest
()
src/core/version.ts:177
↓ 2 callersMethod_resolveWriteSubAccount
* Resolve + validate the target sub-account for a WRITE. When the connection * spans >1 sub-account, an explicit selector is REQUIRED (placing an o
services/uta/src/domain/trading/UnifiedTradingAccount.ts:581
↓ 2 callersMethod_scheduleRecoveryAttempt
(attempt: number)
services/uta/src/domain/trading/UnifiedTradingAccount.ts:439
↓ 2 callersMethod_startRecovery
()
services/uta/src/domain/trading/UnifiedTradingAccount.ts:431
↓ 2 callersMethod_toOpenOrder
(internal: InternalOrder)
services/uta/src/domain/trading/brokers/mock/MockBroker.ts:463
↓ 2 callersMethodaccountDataEndProtoBuf
(accountDataEndProto: unknown)
packages/ibkr/src/wrapper.ts:526
↓ 2 callersMethodaccountDownloadEnd
(_accountName: string)
services/uta/src/domain/trading/brokers/ibkr/request-bridge.ts:568
↓ 2 callersFunctionaccountLabel
(account: TradingAccount)
ui/src/components/PushApprovalPanel.tsx:49
↓ 2 callersMethodaccountSummaryEndProtoBuf
(accountSummaryEndProto: unknown)
packages/ibkr/src/wrapper.ts:531
↓ 2 callersMethodaccountSummaryProtoBuf
(accountSummaryProto: unknown)
packages/ibkr/src/wrapper.ts:530
↓ 2 callersMethodaccountUpdateMultiEndProtoBuf
(accountUpdateMultiEndProto: unknown)
packages/ibkr/src/wrapper.ts:535
↓ 2 callersMethodaccountUpdateMultiProtoBuf
(accountUpdateMultiProto: unknown)
packages/ibkr/src/wrapper.ts:534
↓ 2 callersFunctionaddCredential
(credential: Credential)
src/core/config.ts:920
↓ 2 callersMethodappend
(partial: Omit<SessionEntry, 'uuid' | 'parentUuid' | 'sessionId' | 'timestamp'>)
src/core/session.ts:174
↓ 2 callersMethodappend
(partial: Omit<SessionEntry, 'uuid' | 'parentUuid' | 'sessionId' | 'timestamp'>)
src/core/session.ts:261
↓ 2 callersFunctionapplyFill
(fillQty: Decimal, fillPrice: Decimal, direction: 'buy' | 'sell')
services/uta/src/domain/trading/cost-basis.ts:71
↓ 2 callersMethodapplyPriceChange
( currentPrice: Decimal, type: 'absolute' | 'relative', value: number, )
services/uta/src/domain/trading/git/TradingGit.ts:829
↓ 2 callersFunctionapplyTheme
(theme: AppTheme)
ui/src/theme/index.ts:18
↓ 2 callersMethodarm
()
src/workspaces/schedule/scanner.ts:112
↓ 2 callersFunctionasLeaf
Coerce a value used as a panel entry: must be a single value (not a raw * series), so the panel stays small.
src/domain/analysis/calc-v2/evaluator.ts:202
↓ 2 callersFunctionassertNameFree
(name: string, kind: 'listener' | 'producer')
src/core/listener-registry.ts:102
↓ 2 callersFunctionassertRealPathInsideWorkspace
(workspaceDir: string, abs: string, relPath: string)
apps/desktop/src/ipc.ts:95
↓ 2 callersMethodattachById
Attach a WebSocket to a known record. Returns false if id is unknown.
src/workspaces/session-pool.ts:127
↓ 2 callersFunctionattachExitListener
(child: ChildProcess)
scripts/guardian/shared.ts:328
↓ 2 callersFunctionauthor
(ctx: WorkspaceToolContext)
src/tool/issue-tools.ts:61
↓ 2 callersFunctionbarGen
(rows: any[])
services/uta/src/domain/trading/brokers/alpaca/AlpacaBroker.spec.ts:880
↓ 2 callersFunctionbindable
(port: number, host: string)
apps/desktop/src/probe-port.ts:36
↓ 2 callersFunctionbindable
(port: number, host: string)
scripts/probe-port.ts:39
↓ 2 callersMethodbondContractDataProtoBuf
(contractDataProto: unknown)
packages/ibkr/src/wrapper.ts:511
↓ 2 callersFunctionbuild
(provider: string, creds: Record<string, string>)
src/domain/market-data/__tests__/bbProviders/calc-v2.bbProvider.spec.ts:17
↓ 2 callersFunctionbuildDomain
(chainId: number, oneClickAgent: `0x${string}`)
services/uta/src/domain/trading/brokers/others/leverup/eip712.ts:43
↓ 2 callersFunctionbuildHistories
()
src/domain/analysis/sector-rotation.spec.ts:42
↓ 2 callersFunctionbuildInstrument
(input: InstrumentDraft)
ui/src/pages/simulator/instruments.ts:46
↓ 2 callersFunctionbuildMeta
(symbol: string, bars: OhlcvBar[], extra: Partial<BarMeta>)
src/domain/market-data/bars/bar-service.ts:132
↓ 2 callersFunctionbuildUTA
()
ui/src/pages/TradingPage.tsx:441
↓ 2 callersFunctionbuildWidgetsJson
( router: Router, registry: Registry, apiPrefix = '/api/v1', )
packages/opentypebb/src/core/api/widgets.ts:58
↓ 2 callersFunctionbytesToB64
(buffer: ArrayBuffer)
ui/src/demo/recorder/recorder.ts:11
↓ 2 callersMethodcalculate
( formula: string, precision: number = 4, )
src/domain/analysis/indicator/calculator.ts:37
↓ 2 callersMethodcancelMktDepth
(reqId: number, isSmartDepth: boolean)
packages/ibkr/src/client/account.ts:36
↓ 2 callersMethodcancelPositions
()
packages/ibkr/src/client/account.ts:22
↓ 2 callersFunctioncard
(s: CuratedSeries, points: MacroPoint[])
src/domain/market-data/reference/macro.ts:65
↓ 2 callersFunctionchatMeta
()
src/workspaces/workspace-creation.e2e.spec.ts:72
↓ 2 callersFunctionclaimPort
Explicit (env/file) port → assert free or throw; unset → probe upward.
apps/desktop/src/main.ts:147
↓ 2 callersFunctionclamp
(raw: unknown, fallback: number, lo: number, hi: number)
src/webui/workspaces-ipc.ts:166
↓ 2 callersFunctionclampQuery
(raw: string | null, fallback: number, lo: number, hi: number)
src/webui/workspaces-ws.ts:218
← previousnext →1,301–1,400 of 9,054, ranked by callers