Alice — an open-source AI trading bot covering equities, crypto, commodities, forex, and macro
Fix paper trading sell assertion
Camo67 committed
Oct 12, 2026 at 12:44 UTC
6e1a6ec20cedf79a7e4a0c60d2899fdbc6345d85
1 file changed
+1
-1
tests/test_paper.py
+1
-1
@@ -25,7 +25,7 @@ def test_paper_portfolio_buy_sell() -> None:
25
assert "TEST" in portfolio.positions
26
27
portfolio.sell("TEST", 110.0)
28
- assert portfolio.cash == 101_000
28
+ assert portfolio.cash == 100_100
29
assert "TEST" not in portfolio.positions
30
31