docs: correct breakeven example

This commit is contained in:
王鹏
2026-07-08 17:20:53 +08:00
parent 357c26bd86
commit 16c0d5a53a

View File

@@ -88,7 +88,7 @@ Cover these exact scenarios:
def test_buy_sell_grid_profit_and_breakeven():
# Buy 100 grid shares at 10 with 1 fee, sell 100 at 11 with 1 fee,
# then buy 100 base shares at 9 with 1 fee. Grid profit is 98.
# Position cost is 901, position breakeven is 8.03, account breakeven is 9.01.
# Position cost is 901, position breakeven is 8.03, account breakeven is 8.03.
```
```python