docs: correct breakeven example
This commit is contained in:
@@ -88,7 +88,7 @@ Cover these exact scenarios:
|
|||||||
def test_buy_sell_grid_profit_and_breakeven():
|
def test_buy_sell_grid_profit_and_breakeven():
|
||||||
# Buy 100 grid shares at 10 with 1 fee, sell 100 at 11 with 1 fee,
|
# 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.
|
# 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
|
```python
|
||||||
|
|||||||
Reference in New Issue
Block a user