MCPcopy Create free account

hub / github.com/TraderAlice/OpenAlice / functions

Functions9,054 in github.com/TraderAlice/OpenAlice

↓ 742 callersMethoderror
( reqId: number, errorTime: number, errorCode: number, errorString: string, advancedOrderR
packages/ibkr/src/wrapper.ts:51
↓ 685 callersFunctiondecode
(the_type, fields, show_unset=False, use_unicode=False)
packages/ibkr/ref/source/pythonclient/ibapi/utils.py:87
↓ 637 callersMethodpush
(value: T)
src/core/async-channel.ts:10
↓ 615 callersFunctiondescribe
(t: TokenType, value?: string)
src/domain/analysis/calc-v2/parser.ts:217
↓ 587 callersFunctionmakeField
(val: unknown)
packages/ibkr/src/comm.ts:56
↓ 560 callersFunctioncurrentTimeMillis
()
packages/ibkr/ref/source/pythonclient/ibapi/utils.py:213
↓ 557 callersFunctionmake_field
adds the NULL string terminator
packages/ibkr/ref/source/pythonclient/ibapi/comm.py:41
↓ 502 callersMethodparse
(formula: string)
src/domain/analysis/indicator/calculator.ts:81
↓ 468 callersMethodcode
(self)
packages/ibkr/ref/source/pythonclient/ibapi/errors.py:15
↓ 468 callersMethodmsg
(self)
packages/ibkr/ref/source/pythonclient/ibapi/errors.py:18
↓ 380 callersMethodappend
Append a typed event (registered in AgentEventMap). Validates payload at runtime.
src/core/event-log.ts:52
↓ 378 callersMethodlog
(options?: { limit?: number; symbol?: string })
services/uta/src/domain/trading/git/interfaces.ts:48
↓ 344 callersFunctioncurrent_fn_name
(parent_idx=0)
packages/ibkr/ref/source/pythonclient/ibapi/utils.py:73
↓ 338 callersFunctiondecodeInt
(fields: Iterator<string>, showUnset = false)
packages/ibkr/src/utils.ts:52
↓ 312 callersMethodget
(name: string)
src/core/entity-store.ts:51
↓ 307 callersFunctiondecodeStr
(fields: Iterator<string>)
packages/ibkr/src/utils.ts:46
↓ 295 callersMethodfromPartial
(object: DeepPartial<T>)
packages/ibkr/src/protobuf/CurrentTime.ts:103
↓ 282 callersMethodtoString
()
packages/ibkr/src/order.ts:246
↓ 249 callersMethodset
(wsId: string, taskId: string, ts: number)
src/workspaces/schedule/scanner.ts:51
↓ 238 callersMethodserverVersion
Returns the version of the TWS instance to which the API application is connected.
packages/ibkr/ref/source/pythonclient/ibapi/client.py:673
↓ 221 callersMethodget
(wsId: string, taskId: string)
src/workspaces/schedule/scanner.ts:50
↓ 218 callersMethodrequest
(method: string, path: string, opts?: RequestOpts)
packages/uta-protocol/src/client/UTAClient.ts:24
↓ 210 callersMethoddecode
(input: BinaryReader | Uint8Array, length?: number)
packages/ibkr/src/protobuf/CurrentTime.ts:99
↓ 202 callersMethodhas
(id: string)
src/domain/market-data/bars/types.ts:142
↓ 194 callersMethodserverVersion
()
packages/ibkr/src/client/base.ts:92
↓ 188 callersMethodadd
(operation: Operation)
services/uta/src/domain/trading/git/interfaces.ts:31
↓ 185 callersMethodpush
()
services/uta/src/domain/trading/git/interfaces.ts:33
↓ 177 callersMethodmsg
()
packages/ibkr/src/errors.ts:16
↓ 176 callersMethodcode
()
packages/ibkr/src/errors.ts:12
↓ 173 callersFunctioncurrentTimeMillis
()
packages/ibkr/src/utils.ts:173
↓ 173 callersFunctionlogAnswer
(fnName, fnParams)
packages/ibkr/ref/source/pythonclient/ibapi/wrapper.py:138
↓ 172 callersMethodisConnected
Call this function to check if there is a connection with TWS
packages/ibkr/ref/source/pythonclient/ibapi/client.py:542
↓ 164 callersMethodlogRequest
(self, fnName, fnParams)
packages/ibkr/ref/source/pythonclient/ibapi/client.py:343
↓ 155 callersMethodwarn
(msg: string, fields?: Record<string, unknown>)
src/workspaces/logger.ts:80
↓ 149 callersMethodexecute
* Execute the query and return an OBBject. * Maps to: Query.execute() in query.py + OBBject.from_query()
packages/opentypebb/src/core/app/query.ts:53
↓ 145 callersFunctionisSet
(value: any)
packages/ibkr/src/protobuf/Order.ts:3113
↓ 143 callersMethodcommand
* Register a command. * Maps to: @router.command(model="...", ...) in router.py
packages/opentypebb/src/core/app/router.ts:96
↓ 129 callersMethodcommit
(message: string)
services/uta/src/domain/trading/git/interfaces.ts:32
↓ 126 callersFunctionisValidIntValue
(val: int)
packages/ibkr/ref/source/pythonclient/ibapi/utils.py:160
↓ 120 callersMethodfrom
Wrap any error as a BrokerError, classifying by message patterns.
packages/uta-protocol/src/types/broker.ts:41
↓ 113 callersFunctiondecodeFloat
(fields: Iterator<string>, showUnset = false)
packages/ibkr/src/utils.ts:63
↓ 106 callersMethodencode
(message: T, writer?: BinaryWriter)
packages/ibkr/src/protobuf/CurrentTime.ts:98
↓ 103 callersMethoddelete
Hard-delete an entry by id. Returns true if removed, false if no * entry matched. JSONL rewrites are atomic (tmp + rename).
src/core/inbox-store.ts:117
↓ 103 callersFunctionfetch
()
ui/src/components/market/QuoteHeader.tsx:17
↓ 102 callersMethodpost
(path: string, body?: unknown)
packages/uta-protocol/src/client/UTAClient.ts:26
↓ 101 callersMethodgetPositions
* Positions / holdings. `subAccountId` OPTIONAL: omitted ⇒ ALL sub-accounts; * a specific id ⇒ just that wallet's positions. Single-sub-account bro
packages/uta-protocol/src/types/broker.ts:531
↓ 90 callersFunctionfloatMaxString
(val: float)
packages/ibkr/ref/source/pythonclient/ibapi/utils.py:169
↓ 86 callersMethodsendMsg
(msgId: number, msg: string)
packages/ibkr/src/client/base.ts:66
↓ 84 callersMethodregisterText
Register a text-protocol handler for a given IN message id.
packages/ibkr/src/decoder/base.ts:29
↓ 83 callersMethodrequireConnected
Check that the connection is live; if not, report error and return false.
packages/ibkr/src/client/base.ts:210
↓ 83 callersMethodsendMsg
(self, msgId:int, msg: str)
packages/ibkr/ref/source/pythonclient/ibapi/client.py:337
↓ 83 callersMethodsendMsgProtoBuf
(self, msgId: int, msg: bytes)
packages/ibkr/ref/source/pythonclient/ibapi/client.py:332
↓ 82 callersMethodgetState
()
src/services/uta-client/UTAAccountSDK.ts:257
↓ 81 callersMethodstagePlaceOrder
(params: StagePlaceOrderParams)
services/uta/src/domain/trading/UnifiedTradingAccount.ts:609
↓ 80 callersMethoderror
(msg: string, fields?: Record<string, unknown>)
src/workspaces/logger.ts:81
↓ 80 callersMethodregisterProto
Register a protobuf handler for a given IN message id.
packages/ibkr/src/decoder/base.ts:34
↓ 79 callersFunctionmakeAccount
(overrides?: Partial<{ exchange: string; apiKey: string; secret: string }>)
services/uta/src/domain/trading/brokers/ccxt/CcxtBroker.spec.ts:80
↓ 79 callersMethoduseProtoBuf
(self, msgId: int)
packages/ibkr/ref/source/pythonclient/ibapi/client.py:376
↓ 78 callersMethodplaceOrder
Place an order via ccxt.createOrder. Override when an exchange needs custom prep * (e.g. hyperliquid market orders require a reference price for s
services/uta/src/domain/trading/brokers/ccxt/overrides.ts:54
↓ 76 callersMethodclose
Close the log (clear listeners and buffer).
src/core/event-log.ts:94
↓ 76 callersMethodfromJSON
(object: any)
packages/ibkr/src/protobuf/CurrentTime.ts:100
↓ 76 callersMethodgetAccount
* Account equity. `subAccountId` OPTIONAL: omitted ⇒ AGGREGATE across every * sub-account (the rolled-up netLiquidation); a specific id ⇒ just that
packages/uta-protocol/src/types/broker.ts:525
↓ 76 callersMethodtoJSON
(message: T)
packages/ibkr/src/protobuf/CurrentTime.ts:101
↓ 74 callersMethodplaceOrder
(orderId: number, contract: Contract, order: Order)
packages/ibkr/src/client/orders.ts:20
↓ 71 callersMethodregister
Register a listener. Throws if the name collides with any listener or producer.
src/core/listener-registry.ts:47
↓ 70 callersMethodnextOrderId
(self)
packages/ibkr/ref/samples/Python/Testbed/Program.py:409
↓ 68 callersFunctionapplyAliases
( data: Record<string, unknown>, aliasDict: Record<string, string>, )
packages/opentypebb/src/core/provider/utils/helpers.ts:141
↓ 66 callersFunctionmakeFieldHandleEmpty
(val: unknown)
packages/ibkr/src/comm.ts:87
↓ 65 callersFunctionsetInitialized
(acc: CcxtBroker, markets: Record<string, any>)
services/uta/src/domain/trading/brokers/ccxt/CcxtBroker.spec.ts:89
↓ 64 callersFunctionisSet
(value: any)
packages/ibkr/src/protobuf/ContractDetails.ts:1361
↓ 64 callersMethodquery
* Paginated query from DISK. Returns entries newest-first (descending seq). * - page: 1-indexed page number (default: 1) * - pageSize: entries p
src/core/event-log.ts:70
↓ 62 callersFunctioncreateUTA
(broker?: MockBroker, options?: UnifiedTradingAccountOptions)
services/uta/src/domain/trading/UnifiedTradingAccount.spec.ts:10
↓ 60 callersMethoddebug
(msg: string, fields?: Record<string, unknown>)
src/workspaces/logger.ts:78
↓ 60 callersFunctiondecodeDecimal
(fields: Iterator<string>)
packages/ibkr/src/utils.ts:82
↓ 59 callersMethodinfo
(msg: string, fields?: Record<string, unknown>)
src/workspaces/logger.ts:79
↓ 58 callersFunctionopenOrFocus
(spec)
ui/src/tabs/store.ts:107
↓ 56 callersFunctioncalc
(formula: string, precision?: number)
src/domain/analysis/indicator/calculator.spec.ts:34
↓ 56 callersFunctiongetDataMany
(url: string, subDict?: string)
packages/opentypebb/src/providers/fmp/utils/helpers.ts:77
↓ 55 callersMethodstart
Arm the timer if enabled. Idempotent — calling twice is a no-op.
src/core/pump.ts:63
↓ 54 callersFunctionmake_field_handle_empty
(val)
packages/ibkr/ref/source/pythonclient/ibapi/comm.py:64
↓ 53 callersFunctionfetchJson
(url: string, init?: RequestInit)
ui/src/api/client.ts:5
↓ 50 callersFunctiondecimalMaxString
(val: Decimal)
packages/ibkr/ref/source/pythonclient/ibapi/utils.py:189
↓ 50 callersFunctionexec
(model: string, params: Record<string, unknown> = {})
src/domain/market-data/__tests__/bbProviders/yfinance.bbProvider.spec.ts:15
↓ 48 callersFunctiondecodeBool
(fields: Iterator<string>)
packages/ibkr/src/utils.ts:75
↓ 46 callersFunctiondec
(s: string)
services/uta/src/domain/trading/brokers/longbridge/LongbridgeBroker.spec.ts:828
↓ 46 callersMethodsearchContracts
Flat contract-search hits across all accounts (for searchBarSources).
src/domain/market-data/bars/types.ts:145
↓ 45 callersMethodlist
All entities, most-recently-created first.
src/core/entity-store.ts:50
↓ 44 callersFunctionintMaxString
(val)
packages/ibkr/ref/source/pythonclient/ibapi/utils.py:181
↓ 44 callersMethodstatus
()
services/uta/src/domain/trading/git/interfaces.ts:50
↓ 44 callersFunctionval
(v: unknown)
src/tool/trading-compact.ts:29
↓ 43 callersFunctionisValidFloatValue
(val: float)
packages/ibkr/ref/source/pythonclient/ibapi/utils.py:157
↓ 42 callersFunctionexec
(model: string, params: Record<string, unknown> = {})
src/domain/market-data/__tests__/bbProviders/fmp.bbProvider.spec.ts:15
↓ 42 callersMethodgetOrder
* Look up a single order. `symbolHint` is the broker-native localSymbol * recorded with the order's git operation — brokers whose order-lookup *
packages/uta-protocol/src/types/broker.ts:540
↓ 42 callersMethodread
* Read events from the DISK log file. * - afterSeq: only return entries with seq > afterSeq (default: 0 = all) * - type: only return entries mat
src/core/event-log.ts:62
↓ 40 callersFunctionmakeSwapMarket
(base: string, quote: string, symbol?: string)
services/uta/src/domain/trading/brokers/ccxt/CcxtBroker.spec.ts:66
↓ 40 callersMethodrecent
* Query the in-memory buffer (fast, no disk I/O). * - afterSeq: only return entries with seq > afterSeq * - type: only return entries matching t
src/core/event-log.ts:80
↓ 39 callersMethodbuild
Build a concrete Tool with workspaceId baked in. Called per MCP * request, so closure capture is the right pattern (no shared mutable * state
src/core/workspace-tool-center.ts:88
↓ 39 callersFunctionroundTrip
Helper: complete a tool call round-trip and return the record.
src/core/tool-call-log.spec.ts:22
↓ 38 callersFunctionbuyOp
(symbol = 'AAPL')
services/uta/src/domain/trading/git/TradingGit.spec.ts:45
↓ 38 callersFunctiondataPath
(...parts: string[])
src/core/paths.ts:43
next →1–100 of 9,054, ranked by callers