Suggest changing strategy

This commit is contained in:
hroff-1902 2020-02-09 18:54:04 +03:00 committed by GitHub
parent c7ba85c2e6
commit 40abdd2608

View File

@ -55,14 +55,18 @@ Read [the Bittrex section about restricted markets](exchanges.md#restricted-mark
As the message says, Bittrex does not support market orders and you have one of the [order types](configuration.md/#understand-order_types) set to "market". Probably your strategy was written for another exchanges in mind and sets "market" orders for "stoploss" orders, which is correct and preferable for most of other exchanges.
To fix it for Bittrex, redefine order types in the configuration file (do this for all order types that are defined as "market" in your strategy):
To fix it for Bittrex, redefine order types in the strategy to use "limit" instead of "market":
```
"order_types": {
"stoploss": "limit",
}
order_types = {
...
'stoploss': 'limit',
...
}
```
Same fix should be done in the configuration file, if order types are defined in your custom config rather than in the strategy.
### How do I search the bot logs for something?
By default, the bot writes its log into stderr stream. This is implemented this way so that you can easily separate the bot's diagnostics messages from Backtesting, Edge and Hyperopt results, output from other various Freqtrade utility subcommands, as well as from the output of your custom `print()`'s you may have inserted into your strategy. So if you need to search the log messages with the grep utility, you need to redirect stderr to stdout and disregard stdout.