mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Update doc for manually fix trade
The profit should be close_rate/open_rate-1 not close_rate/open_rate
This commit is contained in:
parent
fb49d706d0
commit
e759a90b2d
|
@ -59,7 +59,7 @@ SELECT * FROM trades;
|
|||
|
||||
```sql
|
||||
UPDATE trades
|
||||
SET is_open=0, close_date=<close_date>, close_rate=<close_rate>, close_profit=close_rate/open_rate
|
||||
SET is_open=0, close_date=<close_date>, close_rate=<close_rate>, close_profit=close_rate/open_rate-1
|
||||
WHERE id=<trade_ID_to_update>;
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user