From 39d7c5761cbea91dabc886920fbe6c2e480f4495 Mon Sep 17 00:00:00 2001 From: Senofy <63175905+Senofy@users.noreply.github.com> Date: Thu, 12 Mar 2026 03:38:03 -0500 Subject: [PATCH] Add Random symbol option to trade controls - Symbol dropdown now includes a "Random" option alongside enabled instruments - runTrade resolves 'Random' to a random enabled instrument once per batch, so all accounts in the same tick trade the same symbol - Import getInstruments in auto-trade.ts to support the resolution Co-Authored-By: Claude Sonnet 4.6 --- app/page.tsx | 1 + lib/auto-trade.ts | 23 +++++++++++++++-------- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/app/page.tsx b/app/page.tsx index c82cbf7..656328b 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -479,6 +479,7 @@ export default function Home() { className="rounded-lg border border-slate-200 bg-slate-50 px-2.5 py-1.5 text-sm font-mono text-slate-800 focus:outline-none focus:ring-2 focus:ring-blue-500" > {enabledSymbols.map((s) => )} +