From d65addcc6d4dfa83c3bba59a5991964eb4ff402b Mon Sep 17 00:00:00 2001 From: Vikhyath Mondreti Date: Sat, 3 Jan 2026 17:34:13 -0800 Subject: [PATCH 1/2] fix(kalshi): remove synthetically constructed outputs --- apps/sim/tools/kalshi/get_balance.ts | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/apps/sim/tools/kalshi/get_balance.ts b/apps/sim/tools/kalshi/get_balance.ts index bc273fea95..1ebcd94373 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 Date: Sat, 3 Jan 2026 17:40:23 -0800 Subject: [PATCH 2/2] fix api interface --- apps/sim/tools/kalshi/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/sim/tools/kalshi/types.ts b/apps/sim/tools/kalshi/types.ts index 7041f1dd1f..6acc21a4da 100644 --- a/apps/sim/tools/kalshi/types.ts +++ b/apps/sim/tools/kalshi/types.ts @@ -82,7 +82,7 @@ export interface KalshiEvent { // Balance type export interface KalshiBalance { balance: number // In cents - portfolio_value?: number // In cents + portfolio_value: number // In cents } // Position type