mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Merge pull request #1000 from pan-long/fix-doc
Update doc for manually fix trade
This commit is contained in:
commit
0bd9674b5c
|
@ -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