Skip to content

Commit b5748fe

Browse files
committed
docs: add FAQ about resetting a bot's database
1 parent b092dfa commit b5748fe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/faq.md

+4
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ This message is a warning that the candles had a price jump of > 30%.
133133
This might be a sign that the pair stopped trading, and some token exchange took place (e.g. COCOS in 2021 - where price jumped from 0.0000154 to 0.01621).
134134
This message is often accompanied by ["Missing data fillup"](#im-getting-missing-data-fillup-messages-in-the-log) - as trading on such pairs is often stopped for some time.
135135

136+
### I want to reset the bot's database
137+
138+
To reset the bot's database, you can either delete the database (by default `tradesv3.sqlite` or `tradesv3.dryrun.sqlite`), or use a different database url via `--db-url` (e.g. `sqlite:///mynewdatabase.sqlite`).
139+
136140
### I'm getting "Outdated history for pair xxx" in the log
137141

138142
The bot is trying to tell you that it got an outdated last candle (not the last complete candle).

0 commit comments

Comments
 (0)