Your one-person Wall Street. An AI trading agent covering equities, crypto, commodities, forex, and macro — from research through position entry, ongoing management, to exit.
This report presents the forensic synthetic code analysis of TraderAlice/OpenAlice, a TypeScript project with 5,976 GitHub stars. SynthScan v2.0 examined 230,114 lines of code across 1407 source files, recording 618 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 4.4 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 618 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ui/src/components/workspace/api.ts | 324 | // ── sessions ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | ui/src/components/workspace/api.ts | 773 | // ── git ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | ui/src/components/workspace/api.ts | 808 | // ── files ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | ui/src/components/workspace/api.ts | 876 | // ── Agent provider config ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | ui/src/components/workspace/api.ts | 931 | // ── Central credential store ────────────────────────────────────────────── | COMMENT |
| MEDIUM | ui/src/components/workspace/protocol.ts | 6 | // ── client → server ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | ui/src/components/workspace/protocol.ts | 24 | // ── server → client ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | ui/src/components/workspace/protocol.ts | 71 | // ── parser ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | ui/src/components/workspace/Sidebar.tsx | 533 | // ── headless runs (the collapsed second tier under a workspace) ───────────── | COMMENT |
| MEDIUM | ui/src/lib/intl.ts | 45 | // ── Relative time ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | ui/src/pages/ChatLandingPage.tsx | 233 | // ── Loginless-runtime credential picker (opencode/pi) ───────────────────── | COMMENT |
| MEDIUM | scripts/guardian/smoke.ts | 108 | // ── Spawn the full stack ────────────────────────────────── | COMMENT |
| MEDIUM | scripts/guardian/smoke.ts | 174 | // ── HARD: wait for boot, no ENOENT ──────────────────────── | COMMENT |
| MEDIUM | scripts/guardian/smoke.ts | 210 | // ── SOFT: UTA restart (never fails the run) ─────────────── | COMMENT |
| MEDIUM | scripts/guardian/smoke.ts | 234 | // ── SOFT: teardown orphan check ─────────────────────────── | COMMENT |
| MEDIUM | scripts/guardian/dev.ts | 159 | // ── UTA spec (re-used by Guardian for restart) ──────────── | COMMENT |
| MEDIUM | scripts/guardian/dev.ts | 182 | // ── Alice ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/guardian/dev.ts | 211 | // ── Vite ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/guardian/dev.ts | 241 | // ── Flag watch ──────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/guardian/shared.ts | 45 | // ── Port configuration (L1 → L2) ──────────────────────────── | COMMENT |
| MEDIUM⚡ | packages/ibkr/src/wrapper.ts | 230 | // ── Contract details ───────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packages/ibkr/src/wrapper.ts | 240 | // ── Executions ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packages/ibkr/src/wrapper.ts | 250 | // ── Market depth ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packages/ibkr/src/wrapper.ts | 467 | // ── Reroute ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packages/ibkr/src/wrapper.ts | 473 | // ── Display groups ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packages/ibkr/src/wrapper.ts | 479 | // ── Verify (deprecated) ────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packages/ibkr/src/wrapper.ts | 489 | // ── WSH ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packages/ibkr/src/wrapper.ts | 495 | // ── User info ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packages/ibkr/src/wrapper.ts | 499 | // ── Protobuf callbacks ─────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packages/ibkr/src/wrapper.ts | 1038 | // ── Display groups ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packages/ibkr/src/wrapper.ts | 1044 | // ── Verify (deprecated) ────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packages/ibkr/src/wrapper.ts | 1054 | // ── WSH ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packages/ibkr/src/wrapper.ts | 1060 | // ── User info ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | packages/ibkr/src/wrapper.ts | 1064 | // ── Protobuf callbacks ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 49 | // ── Connection & server ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 65 | // ── Market data ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 126 | // ── Orders ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 161 | // ── Account ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 208 | // ── Positions ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 276 | // ── News ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 303 | // ── Financial Advisor ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 309 | // ── Historical data ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 347 | // ── Scanner ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 363 | // ── Real-time bars ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 377 | // ── Tick-by-tick ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 402 | // ── Fundamentals & misc ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 415 | // ── Option chains ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 429 | // ── Soft dollar tiers ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 433 | // ── Symbol / family / smart / market rules ─────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 449 | // ── PnL ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 592 | // ── Connection & server ────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 608 | // ── Market data ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 669 | // ── Orders ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 704 | // ── Account ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 751 | // ── Positions ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 773 | // ── Contract details ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 786 | // ── Executions ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 800 | // ── Market depth ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 826 | // ── News ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/ibkr/src/wrapper.ts | 853 | // ── Financial Advisor ──────────────────────────────────────────────── | COMMENT |
| 54 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/ibkr/ref/source/pythonclient/setup.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …ource/pythonclient/ibapi/commission_and_fees_report.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …ges/ibkr/ref/source/pythonclient/ibapi/order_cancel.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …kages/ibkr/ref/source/pythonclient/ibapi/connection.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …/ref/source/pythonclient/ibapi/ineligibility_reason.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …ges/ibkr/ref/samples/Python/Testbed/ContractSamples.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …f/samples/Python/Testbed/ScannerSubscriptionSamples.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …s/ibkr/ref/source/pythonclient/ibapi/softdollartier.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …/ref/source/pythonclient/ibapi/account_summary_tags.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …ckages/ibkr/ref/source/pythonclient/ibapi/tag_value.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | packages/ibkr/ref/source/pythonclient/ibapi/scanner.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …es/ibkr/ref/source/pythonclient/ibapi/object_implem.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …ages/ibkr/ref/source/pythonclient/ibapi/enum_implem.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | packages/ibkr/ref/source/pythonclient/ibapi/ticktype.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | packages/ibkr/ref/source/pythonclient/ibapi/news.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …ckages/ibkr/ref/source/pythonclient/tests/test_comm.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …kages/ibkr/ref/source/pythonclient/tests/test_utils.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …ref/source/pythonclient/tests/test_order_conditions.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | packages/ibkr/ref/source/pythonclient/tests/manual.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …source/pythonclient/tests/test_account_summary_tags.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …ibkr/ref/source/pythonclient/tests/test_enum_implem.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …ibkr/ref/samples/Python/Testbed/AvailableAlgoParams.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | packages/ibkr/ref/source/pythonclient/ibapi/decoder.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …/ibkr/ref/source/pythonclient/ibapi/server_versions.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …ges/ibkr/ref/source/pythonclient/ibapi/client_utils.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …ckages/ibkr/ref/source/pythonclient/ibapi/execution.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | packages/ibkr/ref/source/pythonclient/ibapi/order.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | packages/ibkr/ref/source/pythonclient/ibapi/message.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …ages/ibkr/ref/source/pythonclient/ibapi/order_state.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …/ibkr/ref/source/pythonclient/ibapi/order_condition.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | packages/ibkr/ref/source/pythonclient/ibapi/common.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | packages/ibkr/ref/source/pythonclient/ibapi/utils.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | packages/ibkr/ref/source/pythonclient/ibapi/contract.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …es/ibkr/ref/source/pythonclient/ibapi/decoder_utils.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …ges/ibkr/ref/source/pythonclient/ibapi/orderdecoder.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …ckages/ibkr/ref/samples/Python/Testbed/OrderSamples.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | packages/ibkr/ref/samples/Python/Testbed/Program.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | packages/ibkr/ref/source/pythonclient/ibapi/__init__.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …ibkr/ref/samples/Python/Testbed/FaAllocationSamples.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| HIGH | …kages/ibkr/ref/samples/Python/Testbed/ConfigSamples.py | 0 | copyright (c) 2026 interactive brokers llc. all rights reserved. this code is subject to the terms and conditions of the | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ui/src/components/EquityCurve.tsx | 239 | function makeCurrencyTickFormatter(range: number, tickSpacing: number): (val: number) => string { | CODE |
| LOW | ui/src/components/first-run-guide-model.ts | 38 | export function parseFirstRunStepOverride(search: string, enabled: boolean): FirstRunStepKey | null { | CODE |
| LOW | ui/src/components/workspace/terminalTheme.ts | 55 | export function resolveTerminalThemeVariant( | CODE |
| LOW | ui/src/components/workspace/terminalTheme.ts | 76 | export function useResolvedTerminalThemeVariant(): TerminalThemeVariant { | CODE |
| LOW | ui/src/components/workspace/sidebar-order.ts | 21 | export function orderWorkspacesForSidebar( | CODE |
| LOW | ui/src/components/workspace/api.ts | 249 | export async function probeAgentRuntimeReadiness( | CODE |
| LOW | ui/src/components/workspace/api.ts | 418 | export async function getWorkspaceSessionDirectory(id: string): Promise<WorkspaceSessionDirectory> { | CODE |
| LOW | ui/src/components/workspace/api.ts | 667 | export async function getWorkspaceOffboardingAssessment(id: string): Promise<WorkspaceOffboardingAssessment> { | CODE |
| LOW | ui/src/components/workspace/api.ts | 967 | export async function detectWorkspaceCredential( | CODE |
| LOW | …rc/components/workspace/WorkspaceOffboardingDialog.tsx | 24 | export function WorkspaceOffboardingDialog({ | CODE |
| LOW | ui/src/components/workspace/terminalThemeProfile.ts | 90 | export function terminalThemeProfileForVariant(variant: TerminalThemeVariant): TerminalThemeProfile { | CODE |
| LOW | ui/src/components/workspace/terminalThemeProfile.ts | 116 | function defineTerminalThemeProfile(input: TerminalThemeProfileInput): TerminalThemeProfile { | CODE |
| LOW | ui/src/live/inbox.ts | 79 | export function removeInboxOptimistically(id: string): void { | CODE |
| LOW | ui/src/live/inbox.ts | 88 | export function setInboxReadAtOptimistically(id: string, readAt: number | null): void { | CODE |
| LOW⚡ | ui/src/pages/TradingPage.tsx | 52 | async function writeTradingRuntimeConfig(next: TradingRuntimeConfig): Promise<void> { | CODE |
| LOW⚡ | ui/src/pages/TradingPage.tsx | 61 | async function saveTradingRuntimeConfigPatch(patch: Partial<TradingRuntimeConfig>): Promise<TradingRuntimeConfig> { | CODE |
| LOW⚡ | ui/src/pages/TradingPage.tsx | 68 | function ExternalOrderMonitoringRow() { | CODE |
| LOW | ui/src/pages/TradingPage.tsx | 398 | function TradingServiceOfflineBanner({ status }: { status: TradingServiceStatus }) { | CODE |
| LOW | ui/src/pages/ChatLandingPage.tsx | 56 | export function resolveChatWorkspaceTarget( | CODE |
| LOW | ui/src/pages/ChatLandingPage.tsx | 134 | export function resolveQuickChatCredentialSlug( | CODE |
| LOW | scripts/onboarding-ai-mock.ts | 6 | function requestContainsReadinessPrompt(body: string): boolean { | CODE |
| LOW | scripts/onboarding-ai-mock.ts | 42 | export function createOnboardingAiMockServer(): Server { | CODE |
| LOW | scripts/onboarding-ai-mock.ts | 79 | export async function startOnboardingAiMockServer(port = 0): Promise<Server> { | CODE |
| LOW | scripts/guardian/dev-hot-reload.ts | 18 | export function isBackendHotReloadEnabled(env: NodeJS.ProcessEnv = process.env): boolean { | CODE |
| LOW | scripts/guardian/dev.ts | 49 | async function releaseGuardianRuntimeLock(): Promise<void> { | CODE |
| LOW | packages/guardian-runtime/src/trading-mode.ts | 18 | export function parseGuardianTradingModeEnv(env: NodeJS.ProcessEnv): GuardianTradingMode | null { | CODE |
| LOW | packages/guardian-runtime/src/trading-mode.ts | 24 | export async function resolveGuardianTradingMode( | CODE |
| LOW | packages/guardian-runtime/src/runtime-lock.ts | 231 | export async function acquireOpenAliceRuntimeLocks(opts: OpenAliceRuntimeOptions): Promise<OpenAliceRuntimeLock> { | CODE |
| LOW | packages/ibkr/src/execution.ts | 38 | function getOptionExerciseTypeName(entry: OptionExerciseTypeEntry): string { | CODE |
| LOW | packages/ibkr/src/decoder/contract.ts | 177 | function decodeContractDetailsFromProto( | CODE |
| LOW | packages/ibkr/src/decoder/contract.ts | 434 | function processBondContractDataMsg(d: Decoder, fields: Iterator<string>): void { | CODE |
| LOW | packages/ibkr/src/decoder/contract.ts | 520 | function processContractDataEndMsg(d: Decoder, fields: Iterator<string>): void { | CODE |
| LOW | packages/ibkr/src/decoder/contract.ts | 556 | function processDeltaNeutralValidationMsg(d: Decoder, fields: Iterator<string>): void { | CODE |
| LOW | packages/ibkr/src/decoder/contract.ts | 592 | function processContractDataMsgProtoBuf(d: Decoder, buf: Buffer): void { | CODE |
| LOW | packages/ibkr/src/decoder/contract.ts | 605 | function processBondContractDataMsgProtoBuf(d: Decoder, buf: Buffer): void { | CODE |
| LOW | packages/ibkr/src/decoder/contract.ts | 618 | function processContractDataEndMsgProtoBuf(d: Decoder, buf: Buffer): void { | CODE |
| LOW | packages/ibkr/src/decoder/contract.ts | 626 | function processSymbolSamplesMsgProtoBuf(d: Decoder, buf: Buffer): void { | CODE |
| LOW | packages/ibkr/src/decoder/contract.ts | 646 | function processMarketRuleMsgProtoBuf(d: Decoder, buf: Buffer): void { | CODE |
| LOW | packages/ibkr/src/decoder/historical.ts | 75 | function decodeHistoricalTickProto(proto: HistoricalTickProto): HistoricalTick { | CODE |
| LOW | packages/ibkr/src/decoder/historical.ts | 83 | function decodeHistoricalTickBidAskProto(proto: HistoricalTickBidAskProtoMsg): HistoricalTickBidAsk { | CODE |
| LOW | packages/ibkr/src/decoder/historical.ts | 101 | function decodeHistoricalTickLastProto(proto: HistoricalTickLastProtoMsg): HistoricalTickLast { | CODE |
| LOW | packages/ibkr/src/decoder/historical.ts | 164 | function processHistoricalDataEndMsg(d: Decoder, fields: Iterator<string>): void { | CODE |
| LOW | packages/ibkr/src/decoder/historical.ts | 173 | function processHistoricalDataUpdateMsg(d: Decoder, fields: Iterator<string>): void { | CODE |
| LOW | packages/ibkr/src/decoder/historical.ts | 253 | function processHistoricalTicksBidAsk(d: Decoder, fields: Iterator<string>): void { | CODE |
| LOW | packages/ibkr/src/decoder/historical.ts | 280 | function processHistoricalTicksLast(d: Decoder, fields: Iterator<string>): void { | CODE |
| LOW | packages/ibkr/src/decoder/historical.ts | 352 | function processHistoricalSchedule(d: Decoder, fields: Iterator<string>): void { | CODE |
| LOW | packages/ibkr/src/decoder/historical.ts | 377 | function processHistoricalDataMsgProtoBuf(d: Decoder, buf: Buffer): void { | CODE |
| LOW | packages/ibkr/src/decoder/historical.ts | 390 | function processHistoricalDataEndMsgProtoBuf(d: Decoder, buf: Buffer): void { | CODE |
| LOW | packages/ibkr/src/decoder/historical.ts | 400 | function processHistoricalDataUpdateMsgProtoBuf(d: Decoder, buf: Buffer): void { | CODE |
| LOW | packages/ibkr/src/decoder/historical.ts | 411 | function processRealTimeBarMsgProtoBuf(d: Decoder, buf: Buffer): void { | CODE |
| LOW | packages/ibkr/src/decoder/historical.ts | 427 | function processHeadTimestampMsgProtoBuf(d: Decoder, buf: Buffer): void { | CODE |
| LOW | packages/ibkr/src/decoder/historical.ts | 436 | function processHistogramDataMsgProtoBuf(d: Decoder, buf: Buffer): void { | CODE |
| LOW | packages/ibkr/src/decoder/historical.ts | 451 | function processHistoricalTicksMsgProtoBuf(d: Decoder, buf: Buffer): void { | CODE |
| LOW | packages/ibkr/src/decoder/historical.ts | 467 | function processHistoricalTicksBidAskMsgProtoBuf(d: Decoder, buf: Buffer): void { | CODE |
| LOW | packages/ibkr/src/decoder/historical.ts | 483 | function processHistoricalTicksLastMsgProtoBuf(d: Decoder, buf: Buffer): void { | CODE |
| LOW | packages/ibkr/src/decoder/historical.ts | 499 | function processTickByTickMsgProtoBuf(d: Decoder, buf: Buffer): void { | CODE |
| LOW | packages/ibkr/src/decoder/historical.ts | 534 | function processHistoricalScheduleMsgProtoBuf(d: Decoder, buf: Buffer): void { | CODE |
| LOW | packages/ibkr/src/decoder/orders.ts | 119 | function decodeOrderComboLegsFromProto(cp: ContractProto): OrderComboLeg[] { | CODE |
| LOW | packages/ibkr/src/decoder/orders.ts | 138 | function decodeConditionsFromProto(conditions: OrderConditionProto[] | undefined): OrderCondition[] { | CODE |
| LOW⚡ | packages/ibkr/src/decoder/orders.ts | 191 | function setOperatorConditionFields(ocp: OrderConditionProto, cond: { isMore: boolean | null; isConjunctionConnection: b | CODE |
| 62 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ges/ibkr/ref/source/pythonclient/ibapi/client_utils.py | 401 | except Exception: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 407 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 429 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 647 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 669 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 697 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 719 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 891 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 915 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 949 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 971 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 1019 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 1038 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 1072 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 1096 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 1123 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 1145 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 1212 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 1236 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 1264 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 1285 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 1383 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 1407 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 1446 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 1467 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 1560 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 1584 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 1623 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 1644 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 1788 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 1812 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 2765 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 2803 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 2911 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 2935 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 2966 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 2984 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 3019 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 3037 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 3065 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 3083 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 3133 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 3155 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 3184 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 3206 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 3251 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 3273 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 3356 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 3380 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 3407 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 3431 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 3462 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 3484 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 3516 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 3538 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 3580 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 3604 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 3637 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 3661 | except Exception as ex: | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 3705 | except Exception as ex: | CODE |
| 117 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py | 110 | Wait for a response from TWS for a specific request. Args: req_id: The request ID to wait for event_name: Th | STRING |
| HIGH | …ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py | 384 | Get the next valid order ID from TWS. Args: timeout: Timeout in seconds (uses default if None) Returns: The | STRING |
| HIGH | …ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py | 400 | Get the current system time on the server side. Args: timeout: Timeout in seconds (uses default if None) Retu | STRING |
| HIGH | …ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py | 416 | Get contract details for a specific contract. Args: contract: Contract object timeout: Timeout in seconds (use | STRING |
| HIGH | …ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py | 434 | Place an order and wait for the initial order status. Args: contract: Contract object order: Order object ti | STRING |
| HIGH | …ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py | 462 | Cancel an order and wait for the cancellation status. Args: order_id: The order ID to cancel orderCancel: Opti | STRING |
| HIGH | …ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py | 483 | Get all open orders. Args: timeout: Timeout in seconds (uses default if None) Returns: A dictionary of open | STRING |
| HIGH | …ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py | 502 | Get executions matching the filter. Args: exec_filter: Optional ExecutionFilter object timeout: Timeout in sec | STRING |
| HIGH | …ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py | 528 | Get portfolio information. Args: account_code: Account code (empty for all accounts) timeout: Timeout in secon | STRING |
| HIGH | …ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py | 553 | Get current positions. Args: timeout: Timeout in seconds (uses default if None) Returns: A dictionary of po | STRING |
| HIGH | …ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py | 577 | Get account summary information. Args: tags: Comma-separated string of tags to request group: Account group (d | STRING |
| HIGH | …ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py | 606 | Get a snapshot of market data. Args: contract: Contract object generic_tick_list: String of generic tick types | STRING |
| HIGH | …ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py | 647 | Get historical data for a contract. Args: contract: Contract object end_date_time: End date and time (format: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker-compose.yml | 1 | # Single-service compose for OpenAlice self-hosting. | COMMENT |
| LOW | ui/vite.config.ts | 61 | COMMENT | |
| LOW | ui/src/tabs/store.ts | 241 | // persisted tab or selectedSidebar of a removed kind would make | COMMENT |
| LOW | ui/src/components/ActivityBar.tsx | 81 | COMMENT | |
| LOW | ui/src/components/workspace/WorkspaceView.tsx | 41 | export function WorkspaceView(props: WorkspaceViewProps): ReactElement { | COMMENT |
| LOW | ui/src/lib/format.ts | 81 | // Re-export the Market workbench's helpers from one place so callers only | COMMENT |
| LOW | scripts/guardian/smoke.ts | 101 | // Every Guardian smoke gets a disposable data root. Startup and recovery | COMMENT |
| LOW | scripts/guardian/shared.ts | 41 | /** Vite dev-server port — resolved by Guardian (dev only; prod has no Vite). */ | COMMENT |
| LOW | scripts/guardian/shared.ts | 221 | const pathResolved = process.platform === 'win32' && directNpm === null | COMMENT |
| LOW | packages/ibkr/ref/source/pythonclient/tests/manual.py | 201 | contract.exchange = "SMART" | COMMENT |
| LOW | packages/ibkr/ref/source/pythonclient/tests/manual.py | 221 | # app.reqFundamentalData(6001, contract, "ReportSnapshot") | COMMENT |
| LOW | …ckages/ibkr/ref/samples/Python/Testbed/OrderSamples.py | 281 | #! [auction_limit] | COMMENT |
| LOW | …ckages/ibkr/ref/samples/Python/Testbed/OrderSamples.py | 841 | COMMENT | |
| LOW | packages/ibkr/ref/samples/Python/Testbed/Program.py | 341 | print("Executing GlobalCancel only") | COMMENT |
| LOW | packages/ibkr/ref/samples/Python/Testbed/Program.py | 361 | #self.financialAdvisorOperations() | COMMENT |
| LOW | packages/ibkr/ref/samples/Python/Testbed/Program.py | 381 | if self.nKeybInt == 1: | COMMENT |
| LOW | packages/ibkr/ref/samples/Python/Testbed/Program.py | 501 | COMMENT | |
| LOW | packages/ibkr/ref/samples/Python/Testbed/Program.py | 821 | # ! [reqmktdatapreopenbidask] | COMMENT |
| LOW | packages/ibkr/ref/samples/Python/Testbed/Program.py | 1301 | # ! [reqNewsTicks] | COMMENT |
| LOW | packages/ibkr/ref/samples/Python/Testbed/Program.py | 1841 | COMMENT | |
| LOW | packages/ibkr/ref/samples/Python/Testbed/Program.py | 1961 | # OrderSamples.PeggedToBenchmark("SELL", 100, 33, True, 0.1, 1, 208813720, "ARCA", 750, 650, 800)) | COMMENT |
| LOW | packages/ibkr/ref/samples/Python/Testbed/Program.py | 2021 | # Placing peg best up to mid order | COMMENT |
| LOW | apps/desktop/src/main.ts | 81 | // Inline mirror of scripts/guardian/shared.ts:killTree. UTA and Alice each | COMMENT |
| LOW | …rvices/uta/src/domain/trading/UnifiedTradingAccount.ts | 981 | const projected = recomputeCostBasisFromCommits(commits, aliceId) | COMMENT |
| LOW | …uta/src/domain/trading/brokers/mock/MockBroker.spec.ts | 541 | COMMENT | |
| LOW | src/server/mcp.ts | 201 | entityStore, | COMMENT |
| LOW | src/workspaces/context-injector.ts | 61 | COMMENT | |
| LOW | src/workspaces/spawn-env.ts | 81 | // Announce ourselves honestly so well-behaved TUI apps can detect us. | COMMENT |
| LOW | src/workspaces/service.ts | 521 | } => { | COMMENT |
| LOW | src/workspaces/service.ts | 561 | // adapter wins on key collisions. (Independent of the seed below — every | COMMENT |
| LOW | src/workspaces/service.ts | 1441 | (wsId, ctx) => { | COMMENT |
| LOW | src/workspaces/adapters/opencode.ts | 81 | // by-id resume: opencode can't be assigned an id at spawn and its sessions | COMMENT |
| LOW | src/workspaces/adapters/pi.ts | 141 | // Quick-chat seed: `pi [--session-id <id>] <messages…>` opens the | COMMENT |
| LOW | src/workspaces/adapters/claude.ts | 61 | // `claude --continue` is intentionally NOT supported. It's a fragile | COMMENT |
| LOW | src/workspaces/adapters/codex.ts | 81 | if (ctx.resume === undefined) { | COMMENT |
| LOW | src/webui/routes/workspaces.ts | 1661 | COMMENT | |
| LOW | src/webui/routes/config.ts | 321 | const validated = await writeConfigSection(section, body) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/decoder.py | 7 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/decoder.py | 17 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/decoder.py | 19 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/decoder.py | 20 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/decoder.py | 22 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/decoder.py | 26 | CODE | |
| LOW | …ges/ibkr/ref/source/pythonclient/ibapi/client_utils.py | 9 | CODE | |
| LOW | …ges/ibkr/ref/source/pythonclient/ibapi/client_utils.py | 12 | CODE | |
| LOW | …ges/ibkr/ref/source/pythonclient/ibapi/client_utils.py | 14 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/wrapper.py | 58 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 20 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 195 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 196 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 243 | CODE | |
| LOW | …ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py | 19 | CODE | |
| LOW | …es/ibkr/ref/source/pythonclient/ibapi/decoder_utils.py | 18 | CODE | |
| LOW | …es/ibkr/ref/source/pythonclient/ibapi/decoder_utils.py | 26 | CODE | |
| LOW | …es/ibkr/ref/source/pythonclient/ibapi/decoder_utils.py | 36 | CODE | |
| LOW | …ref/source/pythonclient/tests/test_order_conditions.py | 8 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/tests/manual.py | 10 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/tests/manual.py | 11 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/tests/manual.py | 12 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/tests/manual.py | 13 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/tests/manual.py | 14 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/tests/manual.py | 17 | CODE | |
| LOW | …ckages/ibkr/ref/samples/Python/Testbed/OrderSamples.py | 8 | CODE | |
| LOW | …ckages/ibkr/ref/samples/Python/Testbed/OrderSamples.py | 11 | CODE | |
| LOW | …ges/ibkr/ref/samples/Python/Testbed/ContractSamples.py | 6 | CODE | |
| LOW | packages/ibkr/ref/samples/Python/Testbed/sync_tester.py | 12 | CODE | |
| LOW | packages/ibkr/ref/samples/Python/Testbed/Program.py | 21 | CODE | |
| LOW | packages/ibkr/ref/samples/Python/Testbed/Program.py | 22 | CODE | |
| LOW | packages/ibkr/ref/samples/Python/Testbed/Program.py | 23 | CODE | |
| LOW | packages/ibkr/ref/samples/Python/Testbed/Program.py | 24 | CODE | |
| LOW | packages/ibkr/ref/samples/Python/Testbed/Program.py | 25 | CODE | |
| LOW | packages/ibkr/ref/samples/Python/Testbed/Program.py | 29 | CODE | |
| LOW | packages/ibkr/ref/samples/Python/Testbed/Program.py | 32 | CODE | |
| LOW | packages/ibkr/ref/samples/Python/Testbed/Program.py | 48 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | safe/harness/runner.ts | 66 | * # safe/harness/cases.yaml (alternative source of truth) | COMMENT |
| MEDIUM | ui/src/pages/TrackedPage.tsx | 76 | // mirroring the BacklinkRow chrome so the swap to real rows is seamless. | COMMENT |
| MEDIUM | scripts/guardian/smoke.ts | 186 | // Parse the ports Guardian prints in its banner (robust to port-probe shifts). | COMMENT |
| MEDIUM | .github/workflows/ci.yml | 137 | # diff, not a harness bug. See scripts/guardian/smoke.ts. | COMMENT |
| MEDIUM | …ices/uta/src/domain/trading/brokers/ccxt/CcxtBroker.ts | 1052 | // Leveraged-derivative risk picture (leverage / liq price / margin | COMMENT |
| MEDIUM | …uta/src/domain/trading/brokers/ccxt/CcxtBroker.spec.ts | 1162 | // No leverage / liquidationPrice / marginMode at all. | COMMENT |
| MEDIUM | …uta/src/domain/trading/brokers/ccxt/CcxtBroker.spec.ts | 1175 | // Cross perp: leverage + marginMode reported, liquidationPrice 0 (not computed). | COMMENT |
| MEDIUM | …uta/src/domain/trading/brokers/ccxt/CcxtBroker.spec.ts | 1271 | expect(btc.risk).toBeUndefined() // spot holdings never carry leverage risk | CODE |
| MEDIUM | …domain/trading/brokers/others/leverup/LeverupBroker.ts | 238 | // amountIn = required margin (collateral). For MVP, leverage=1: amountIn = qty * price (USDC). | COMMENT |
| MEDIUM | …domain/trading/brokers/others/leverup/LeverupBroker.ts | 242 | const amountInUsd = notionalUsd // 1x leverage MVP | CODE |
| MEDIUM | …uta/src/domain/trading/brokers/others/leverup/pairs.ts | 41 | // ---- High-leverage zero-fee ---- | COMMENT |
| MEDIUM | src/tool/trading.ts | 400 | // Leveraged-derivative risk (crypto perps): leverage, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/ibkr/ref/source/pythonclient/ibapi/wrapper.py | 286 | """This function is called to feed in open orders. | STRING |
| MEDIUM | packages/ibkr/ref/source/pythonclient/ibapi/wrapper.py | 303 | """This function is called when TWS closes the sockets | STRING |
| MEDIUM | packages/ibkr/ref/source/pythonclient/ibapi/wrapper.py | 309 | """This function is called only when ReqAccountUpdates on | STRING |
| MEDIUM | packages/ibkr/ref/source/pythonclient/ibapi/wrapper.py | 325 | """This function is called only when reqAccountUpdates on | STRING |
| MEDIUM | packages/ibkr/ref/source/pythonclient/ibapi/wrapper.py | 352 | """This function is called when reqContractDetails function | STRING |
| MEDIUM | packages/ibkr/ref/source/pythonclient/ibapi/wrapper.py | 358 | """This function is called once all contract details for a given | STRING |
| MEDIUM | packages/ibkr/ref/source/pythonclient/ibapi/wrapper.py | 371 | """This function is called once all executions have been sent to | STRING |
| MEDIUM | packages/ibkr/ref/source/pythonclient/ibapi/wrapper.py | 547 | """This function is called to receive fundamental | STRING |
| MEDIUM | packages/ibkr/ref/source/pythonclient/ibapi/wrapper.py | 595 | """This method is called once all account summary data for a | STRING |
| MEDIUM | packages/ibkr/ref/source/pythonclient/ibapi/wrapper.py | 694 | """This function is called when the market in an option or its | STRING |
| MEDIUM | packages/ibkr/ref/source/pythonclient/ibapi/wrapper.py | 897 | """This function is called to feed in completed orders. | STRING |
| MEDIUM | …ges/ibkr/ref/source/pythonclient/ibapi/sync_wrapper.py | 94 | # Create a thread for message processing | COMMENT |
| MEDIUM | packages/ibkr/ref/samples/Python/Testbed/sync_tester.py | 14 | # Create the wrapper | COMMENT |
| MEDIUM⚡ | packages/ibkr/ref/samples/Python/Testbed/sync_tester.py | 39 | # Define a contract (e.g., AAPL stock) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/decoder.py | 144 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/decoder.py | 183 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/decoder.py | 1432 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/decoder.py | 1940 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/decoder.py | 1990 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/decoder.py | 2689 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/decoder.py | 2699 | CODE | |
| LOW | …ges/ibkr/ref/source/pythonclient/ibapi/client_utils.py | 379 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 574 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 1820 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 4011 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 4129 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 4842 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 5513 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 5685 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 5874 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 6105 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 6184 | CODE | |
| LOW | …/ibkr/ref/source/pythonclient/ibapi/order_condition.py | 273 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/reader.py | 25 | CODE | |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/utils.py | 87 | CODE | |
| LOW | …es/ibkr/ref/source/pythonclient/ibapi/decoder_utils.py | 293 | CODE | |
| LOW | …ges/ibkr/ref/source/pythonclient/ibapi/orderdecoder.py | 329 | CODE | |
| LOW | packages/ibkr/ref/samples/Python/Testbed/Program.py | 212 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …ntypebb/src/providers/yfinance/models/futures-curve.ts | 107 | // Step 1: Try to get the futures chain from Yahoo's API (like Python's get_futures_symbols) | COMMENT |
| LOW⚡ | …ntypebb/src/providers/yfinance/models/futures-curve.ts | 110 | // Step 2: If no chain from API, manually construct symbols with exchange mapping | COMMENT |
| LOW⚡ | …ntypebb/src/providers/yfinance/models/futures-curve.ts | 116 | // Step 3: Fetch current price for each symbol | COMMENT |
| LOW | …typebb/src/providers/yfinance/models/options-chains.ts | 23 | // Step 1: Get first expiration + list of all expirations | COMMENT |
| LOW⚡ | …uta/src/domain/trading/brokers/mock/MockBroker.spec.ts | 466 | // Step 1: external deposit (transfer-in / 空投) of 1 BTC. | COMMENT |
| LOW⚡ | …uta/src/domain/trading/brokers/mock/MockBroker.spec.ts | 469 | // Step 2: market BUY 0.5 BTC via the IBroker pipeline. Mimic UTA by | COMMENT |
| LOW | …/src/domain/trading/__test__/e2e/uta-bybit.e2e.spec.ts | 138 | // Step 1: search → get the canonical aliceId the AI would receive. | COMMENT |
| LOW | …/src/domain/trading/__test__/e2e/uta-bybit.e2e.spec.ts | 153 | // Step 2: getQuote — would have errored on the legacy code path. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …ntypebb/src/providers/yfinance/models/futures-curve.ts | 107 | // Step 1: Try to get the futures chain from Yahoo's API (like Python's get_futures_symbols) | COMMENT |
| LOW⚡ | …ntypebb/src/providers/yfinance/models/futures-curve.ts | 110 | // Step 2: If no chain from API, manually construct symbols with exchange mapping | COMMENT |
| LOW⚡ | …ntypebb/src/providers/yfinance/models/futures-curve.ts | 116 | // Step 3: Fetch current price for each symbol | COMMENT |
| LOW | …typebb/src/providers/yfinance/models/options-chains.ts | 23 | // Step 1: Get first expiration + list of all expirations | COMMENT |
| LOW⚡ | …uta/src/domain/trading/brokers/mock/MockBroker.spec.ts | 466 | // Step 1: external deposit (transfer-in / 空投) of 1 BTC. | COMMENT |
| LOW⚡ | …uta/src/domain/trading/brokers/mock/MockBroker.spec.ts | 469 | // Step 2: market BUY 0.5 BTC via the IBroker pipeline. Mimic UTA by | COMMENT |
| LOW | …/src/domain/trading/__test__/e2e/uta-bybit.e2e.spec.ts | 138 | // Step 1: search → get the canonical aliceId the AI would receive. | COMMENT |
| LOW | …/src/domain/trading/__test__/e2e/uta-bybit.e2e.spec.ts | 153 | // Step 2: getQuote — would have errored on the legacy code path. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/decoder.py | 122 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/wrapper.py | 135 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/comm.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/client.py | 283 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/reader.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | …kages/ibkr/ref/source/pythonclient/ibapi/connection.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/utils.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ges/ibkr/ref/source/pythonclient/ibapi/orderdecoder.py | 43 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | safe/harness/runner.ts | 141 | // minimal scaffold compiles cleanly when `noUnusedLocals` is on). | COMMENT |
| MEDIUM | src/workspaces/workspace-creation.e2e.spec.ts | 152 | // working tree carries the upstream content + the results scaffold... | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ui/public/mockServiceWorker.js | 124 | async function handleRequest(event, requestId, requestInterceptedAt) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/ibkr/ref/source/pythonclient/ibapi/common.py | 163 | CODE |