From ac942416de9ad5b382019c867c30efaf0261dd4c Mon Sep 17 00:00:00 2001 From: Vikhyath Mondreti Date: Sat, 3 Jan 2026 17:40:55 -0800 Subject: [PATCH] fix(kalshi): remove synthetically constructed outputs (#2677) * fix(kalshi): remove synthetically constructed outputs * fix api interface --- apps/sim/tools/kalshi/get_balance.ts | 12 +++--------- apps/sim/tools/kalshi/types.ts | 2 +- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/apps/sim/tools/kalshi/get_balance.ts b/apps/sim/tools/kalshi/get_balance.ts index bc273fea9..1ebcd9437 100644 --- a/apps/sim/tools/kalshi/get_balance.ts +++ b/apps/sim/tools/kalshi/get_balance.ts @@ -8,9 +8,7 @@ export interface KalshiGetBalanceResponse { success: boolean output: { balance: number // In cents - portfolioValue?: number // In cents - balanceDollars: number // Converted to dollars - portfolioValueDollars?: number // Converted to dollars + portfolioValue: number // In cents } } @@ -51,16 +49,14 @@ export const kalshiGetBalanceTool: ToolConfig