diff --git a/crates/fidc-core/src/platform_expr_strategy.rs b/crates/fidc-core/src/platform_expr_strategy.rs index d081e03..b74df84 100644 --- a/crates/fidc-core/src/platform_expr_strategy.rs +++ b/crates/fidc-core/src/platform_expr_strategy.rs @@ -7104,7 +7104,7 @@ impl Strategy for PlatformExprStrategy { aiquant_available_cash = (aiquant_available_cash - spent).max(0.0); working_symbols.insert(symbol.clone()); slot_working_symbols.insert(symbol.clone()); - pending_buy_value += available_buy_cash; + pending_buy_value += spent; if debug_daily_top_up { daily_top_up_debug_notes.push(format!( "daily_top_up_fill date={} symbol={} requested_cash={:.4} filled_qty={} spent={:.4} remaining_cash={:.4}", @@ -7292,7 +7292,7 @@ impl Strategy for PlatformExprStrategy { aiquant_available_cash = (aiquant_available_cash - spent).max(0.0); rebalance_working_symbols.insert(symbol.clone()); slot_working_symbols.insert(symbol.clone()); - rebalance_pending_buy_value += buy_cash; + rebalance_pending_buy_value += spent; } } }