From 27cb1a41746d4f6eceefbdea8800014f524b59bc Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 8 Jul 2019 17:08:14 +0200 Subject: [PATCH] Add FAQ section explaining "module not found" errors --- docs/faq.md | 34 +++++++++++++++++++++++----------- setup.sh | 2 +- 2 files changed, 24 insertions(+), 12 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index 22cfcd616..83576af4d 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -1,14 +1,25 @@ # Freqtrade FAQ -### Freqtrade commons +## Freqtrade common issues -#### I have waited 5 minutes, why hasn't the bot made any trades yet?! +### The bot does not start + +Running the bot with `freqtrade --config config.json` does show the output `freqtrade: command not found`. + +This could have the following reasons: + +* The virtual environment is not active + * run `source .env/bin/activate` to activate the virtual environment +* The installation did not work correctly. + * Please check the [Installation documentation](installation.md). + +### I have waited 5 minutes, why hasn't the bot made any trades yet?! Depending on the buy strategy, the amount of whitelisted coins, the situation of the market etc, it can take up to hours to find good entry position for a trade. Be patient! -#### I have made 12 trades already, why is my total profit negative?! +### I have made 12 trades already, why is my total profit negative?! I understand your disappointment but unfortunately 12 trades is just not enough to say anything. If you run backtesting, you can see that our @@ -19,24 +30,24 @@ of course constantly aim to improve the bot but it will _always_ be a gamble, which should leave you with modest wins on monthly basis but you can't say much from few trades. -#### I’d like to change the stake amount. Can I just stop the bot with /stop and then change the config.json and run it again? +### I’d like to change the stake amount. Can I just stop the bot with /stop and then change the config.json and run it again? Not quite. Trades are persisted to a database but the configuration is currently only read when the bot is killed and restarted. `/stop` more like pauses. You can stop your bot, adjust settings and start it again. -#### I want to improve the bot with a new strategy +### I want to improve the bot with a new strategy That's great. We have a nice backtesting and hyperoptimizing setup. See the tutorial [here|Testing-new-strategies-with-Hyperopt](bot-usage.md#hyperopt-commands). -#### Is there a setting to only SELL the coins being held and not perform anymore BUYS? +### Is there a setting to only SELL the coins being held and not perform anymore BUYS? You can use the `/forcesell all` command from Telegram. -### Hyperopt module +## Hyperopt module -#### How many epoch do I need to get a good Hyperopt result? +### How many epoch do I need to get a good Hyperopt result? Per default Hyperopts without `-e` or `--epochs` parameter will only run 100 epochs, means 100 evals of your triggers, guards, ... Too few @@ -56,7 +67,7 @@ or if you want intermediate result to see for i in {1..100}; do freqtrade hyperopt -e 100; done ``` -#### Why it is so long to run hyperopt? +### Why it is so long to run hyperopt? Finding a great Hyperopt results takes time. @@ -74,13 +85,14 @@ already 8\*10^9\*10 evaluations. A roughly total of 80 billion evals. Did you run 100 000 evals? Congrats, you've done roughly 1 / 100 000 th of the search space. -### Edge module +## Edge module -#### Edge implements interesting approach for controlling position size, is there any theory behind it? +### Edge implements interesting approach for controlling position size, is there any theory behind it? The Edge module is mostly a result of brainstorming of [@mishaker](https://github.com/mishaker) and [@creslinux](https://github.com/creslinux) freqtrade team members. You can find further info on expectancy, winrate, risk management and position size in the following sources: + - https://www.tradeciety.com/ultimate-math-guide-for-traders/ - http://www.vantharp.com/tharp-concepts/expectancy.asp - https://samuraitradingacademy.com/trading-expectancy/ diff --git a/setup.sh b/setup.sh index c99a98eb1..fe7110ef6 100755 --- a/setup.sh +++ b/setup.sh @@ -242,7 +242,7 @@ function install() { echo "-------------------------" echo "Run the bot !" echo "-------------------------" - echo "You can now use the bot by executing 'source .env/bin/activate; python freqtrade'." + echo "You can now use the bot by executing 'source .env/bin/activate; freqtrade'." } function plot() {