Merge pull request #1000 from pan-long/fix-doc

Update doc for manually fix trade
This commit is contained in:
Matthias 2018-07-08 20:07:25 +02:00 committed by GitHub
commit 0bd9674b5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>;
```