block “==“ removed

This commit is contained in:
misagh 2018-12-31 13:27:59 +01:00
parent dd91b5c731
commit 361b294e43
1 changed files with 73 additions and 73 deletions

View File

@ -11,67 +11,67 @@ The table below will list all configuration parameters.
| Command | Default | Mandatory | Description |
|----------|---------|-----------|-------------|
| ==`max_open_trades`== | 3 | Yes | Number of trades open your bot will have. If -1 then it is ignored (i.e. potentially unlimited open trades)
| ==`stake_currency`== | BTC | Yes | Crypto-currency used for trading.
| ==`stake_amount`== | 0.05 | Yes | Amount of crypto-currency your bot will use for each trade. Per default, the bot will use (0.05 BTC x 3) = 0.15 BTC in total will be always engaged. Set it to 'unlimited' to allow the bot to use all avaliable balance.
| ==`ticker_interval`== | [1m, 5m, 30m, 1h, 1d] | No | The ticker interval to use (1min, 5 min, 30 min, 1 hour or 1 day). Default is 5 minutes
| ==`fiat_display_currency`== | USD | Yes | Fiat currency used to show your profits. More information below.
| ==`dry_run`== | true | Yes | Define if the bot must be in Dry-run or production mode.
| ==`process_only_new_candles`== | false | No | If set to true indicators are processed only once a new candle arrives. If false each loop populates the indicators, this will mean the same candle is processed many times creating system load but can be useful of your strategy depends on tick data not only candle. Can be set either in Configuration or in the strategy.
| ==`minimal_roi`== | See below | No | Set the threshold in percent the bot will use to sell a trade. More information below. If set, this parameter will override `minimal_roi` from your strategy file.
| ==`stoploss`== | -0.10 | No | Value of the stoploss in percent used by the bot. More information below. If set, this parameter will override `stoploss` from your strategy file.
| ==`trailing_stop`== | false | No | Enables trailing stop-loss (based on `stoploss` in either configuration or strategy file).
| ==`trailing_stop_positve`== | 0 | No | Changes stop-loss once profit has been reached.
| ==`trailing_stop_positve_offset`== | 0 | No | Offset on when to apply `trailing_stop_positive`. Percentage value which should be positive.
| ==`unfilledtimeout.buy`== | 10 | Yes | How long (in minutes) the bot will wait for an unfilled buy order to complete, after which the order will be cancelled.
| ==`unfilledtimeout.sell`== | 10 | Yes | How long (in minutes) the bot will wait for an unfilled sell order to complete, after which the order will be cancelled.
| ==`bid_strategy.ask_last_balance`== | 0.0 | Yes | Set the bidding price. More information below.
| ==`bid_strategy.use_order_book`== | false | No | Allows buying of pair using the rates in Order Book Bids.
| ==`bid_strategy.order_book_top`== | 0 | No | Bot will use the top N rate in Order Book Bids. Ie. a value of 2 will allow the bot to pick the 2nd bid rate in Order Book Bids.
| ==`bid_strategy. check_depth_of_market.enabled`== | false | No | Does not buy if the % difference of buy orders and sell orders is met in Order Book.
| ==`bid_strategy. check_depth_of_market.bids_to_ask_delta`== | 0 | No | The % difference of buy orders and sell orders found in Order Book. A value lesser than 1 means sell orders is greater, while value greater than 1 means buy orders is higher.
| ==`ask_strategy.use_order_book`== | false | No | Allows selling of open traded pair using the rates in Order Book Asks.
| ==`ask_strategy.order_book_min`== | 0 | No | Bot will scan from the top min to max Order Book Asks searching for a profitable rate.
| ==`ask_strategy.order_book_max`== | 0 | No | Bot will scan from the top min to max Order Book Asks searching for a profitable rate.
| ==`order_types`== | None | No | Configure order-types depending on the action (`"buy"`, `"sell"`, `"stoploss"`, `"stoploss_on_exchange"`). [More information below](#understand-order_types).
| ==`order_time_in_force`== | None | No | Configure time in force for buy and sell orders. [More information below](#understand-order_time_in_force).
| ==`exchange.name`== | bittrex | Yes | Name of the exchange class to use. [List below](#user-content-what-values-for-exchangename).
| ==`exchange.key`== | key | No | API key to use for the exchange. Only required when you are in production mode.
| ==`exchange.secret`== | secret | No | API secret to use for the exchange. Only required when you are in production mode.
| ==`exchange.pair_whitelist`== | [] | No | List of currency to use by the bot. Can be overrided with `--dynamic-whitelist` param.
| ==`exchange.pair_blacklist`== | [] | No | List of currency the bot must avoid. Useful when using `--dynamic-whitelist` param.
| ==`exchange.ccxt_rate_limit`== | True | No | DEPRECATED!! Have CCXT handle Exchange rate limits. Depending on the exchange, having this to false can lead to temporary bans from the exchange.
| ==`exchange.ccxt_config`== | None | No | Additional CCXT parameters passed to the regular ccxt instance. Parameters may differ from exchange to exchange and are documented in the [ccxt documentation](https://ccxt.readthedocs.io/en/latest/manual.html#instantiation)
| ==`exchange.ccxt_async_config`== | None | No | Additional CCXT parameters passed to the async ccxt instance. Parameters may differ from exchange to exchange and are documented in the [ccxt documentation](https://ccxt.readthedocs.io/en/latest/manual.html#instantiation)
| ==`edge`== | false | No | Please refer to [edge configuration document](edge.md) for detailed explanation.
| ==`experimental.use_sell_signal`== | false | No | Use your sell strategy in addition of the `minimal_roi`.
| ==`experimental.sell_profit_only`== | false | No | waits until you have made a positive profit before taking a sell decision.
| ==`experimental.ignore_roi_if_buy_signal`== | false | No | Does not sell if the buy-signal is still active. Takes preference over `minimal_roi` and `use_sell_signal`
| ==`pairlist.method`== | StaticPairList | No | Use Static whitelist. [More information below](#dynamic-pairlists).
| ==`pairlist.config`== | None | No | Additional configuration for dynamic pairlists. [More information below](#dynamic-pairlists).
| ==`telegram.enabled`== | true | Yes | Enable or not the usage of Telegram.
| ==`telegram.token`== | token | No | Your Telegram bot token. Only required if `telegram.enabled` is `true`.
| ==`telegram.chat_id`== | chat_id | No | Your personal Telegram account id. Only required if `telegram.enabled` is `true`.
| ==`webhook.enabled`== | false | No | Enable usage of Webhook notifications
| ==`webhook.url`== | false | No | URL for the webhook. Only required if `webhook.enabled` is `true`. See the [webhook documentation](webhook-config.md) for more details.
| ==`webhook.webhookbuy`== | false | No | Payload to send on buy. Only required if `webhook.enabled` is `true`. See the [webhook documentationV](webhook-config.md) for more details.
| ==`webhook.webhooksell`== | false | No | Payload to send on sell. Only required if `webhook.enabled` is `true`. See the [webhook documentationV](webhook-config.md) for more details.
| ==`webhook.webhookstatus`== | false | No | Payload to send on status calls. Only required if `webhook.enabled` is `true`. See the [webhook documentationV](webhook-config.md) for more details.
| ==`db_url`== | `sqlite:///tradesv3.sqlite`| No | Declares database URL to use. NOTE: This defaults to `sqlite://` if `dry_run` is `True`.
| ==`initial_state`== | running | No | Defines the initial application state. More information below.
| ==`forcebuy_enable`== | false | No | Enables the RPC Commands to force a buy. More information below.
| ==`strategy`== | DefaultStrategy | No | Defines Strategy class to use.
| ==`strategy_path`== | null | No | Adds an additional strategy lookup path (must be a folder).
| ==`internals.process_throttle_secs`== | 5 | Yes | Set the process throttle. Value in second.
| `max_open_trades` | 3 | Yes | Number of trades open your bot will have. If -1 then it is ignored (i.e. potentially unlimited open trades)
| `stake_currency` | BTC | Yes | Crypto-currency used for trading.
| `stake_amount` | 0.05 | Yes | Amount of crypto-currency your bot will use for each trade. Per default, the bot will use (0.05 BTC x 3) = 0.15 BTC in total will be always engaged. Set it to 'unlimited' to allow the bot to use all avaliable balance.
| `ticker_interval` | [1m, 5m, 30m, 1h, 1d] | No | The ticker interval to use (1min, 5 min, 30 min, 1 hour or 1 day). Default is 5 minutes
| `fiat_display_currency` | USD | Yes | Fiat currency used to show your profits. More information below.
| `dry_run` | true | Yes | Define if the bot must be in Dry-run or production mode.
| `process_only_new_candles` | false | No | If set to true indicators are processed only once a new candle arrives. If false each loop populates the indicators, this will mean the same candle is processed many times creating system load but can be useful of your strategy depends on tick data not only candle. Can be set either in Configuration or in the strategy.
| `minimal_roi` | See below | No | Set the threshold in percent the bot will use to sell a trade. More information below. If set, this parameter will override `minimal_roi` from your strategy file.
| `stoploss` | -0.10 | No | Value of the stoploss in percent used by the bot. More information below. If set, this parameter will override `stoploss` from your strategy file.
| `trailing_stop` | false | No | Enables trailing stop-loss (based on `stoploss` in either configuration or strategy file).
| `trailing_stop_positve` | 0 | No | Changes stop-loss once profit has been reached.
| `trailing_stop_positve_offset` | 0 | No | Offset on when to apply `trailing_stop_positive`. Percentage value which should be positive.
| `unfilledtimeout.buy` | 10 | Yes | How long (in minutes) the bot will wait for an unfilled buy order to complete, after which the order will be cancelled.
| `unfilledtimeout.sell` | 10 | Yes | How long (in minutes) the bot will wait for an unfilled sell order to complete, after which the order will be cancelled.
| `bid_strategy.ask_last_balance` | 0.0 | Yes | Set the bidding price. More information below.
| `bid_strategy.use_order_book` | false | No | Allows buying of pair using the rates in Order Book Bids.
| `bid_strategy.order_book_top` | 0 | No | Bot will use the top N rate in Order Book Bids. Ie. a value of 2 will allow the bot to pick the 2nd bid rate in Order Book Bids.
| `bid_strategy. check_depth_of_market.enabled` | false | No | Does not buy if the % difference of buy orders and sell orders is met in Order Book.
| `bid_strategy. check_depth_of_market.bids_to_ask_delta` | 0 | No | The % difference of buy orders and sell orders found in Order Book. A value lesser than 1 means sell orders is greater, while value greater than 1 means buy orders is higher.
| `ask_strategy.use_order_book` | false | No | Allows selling of open traded pair using the rates in Order Book Asks.
| `ask_strategy.order_book_min` | 0 | No | Bot will scan from the top min to max Order Book Asks searching for a profitable rate.
| `ask_strategy.order_book_max` | 0 | No | Bot will scan from the top min to max Order Book Asks searching for a profitable rate.
| `order_types` | None | No | Configure order-types depending on the action (`"buy"`, `"sell"`, `"stoploss"`, `"stoploss_on_exchange"`). [More information below](#understand-order_types).
| `order_time_in_force` | None | No | Configure time in force for buy and sell orders. [More information below](#understand-order_time_in_force).
| `exchange.name` | bittrex | Yes | Name of the exchange class to use. [List below](#user-content-what-values-for-exchangename).
| `exchange.key` | key | No | API key to use for the exchange. Only required when you are in production mode.
| `exchange.secret` | secret | No | API secret to use for the exchange. Only required when you are in production mode.
| `exchange.pair_whitelist` | [] | No | List of currency to use by the bot. Can be overrided with `--dynamic-whitelist` param.
| `exchange.pair_blacklist` | [] | No | List of currency the bot must avoid. Useful when using `--dynamic-whitelist` param.
| `exchange.ccxt_rate_limit` | True | No | DEPRECATED!! Have CCXT handle Exchange rate limits. Depending on the exchange, having this to false can lead to temporary bans from the exchange.
| `exchange.ccxt_config` | None | No | Additional CCXT parameters passed to the regular ccxt instance. Parameters may differ from exchange to exchange and are documented in the [ccxt documentation](https://ccxt.readthedocs.io/en/latest/manual.html#instantiation)
| `exchange.ccxt_async_config` | None | No | Additional CCXT parameters passed to the async ccxt instance. Parameters may differ from exchange to exchange and are documented in the [ccxt documentation](https://ccxt.readthedocs.io/en/latest/manual.html#instantiation)
| `edge` | false | No | Please refer to [edge configuration document](edge.md) for detailed explanation.
| `experimental.use_sell_signal` | false | No | Use your sell strategy in addition of the `minimal_roi`.
| `experimental.sell_profit_only` | false | No | waits until you have made a positive profit before taking a sell decision.
| `experimental.ignore_roi_if_buy_signal` | false | No | Does not sell if the buy-signal is still active. Takes preference over `minimal_roi` and `use_sell_signal`
| `pairlist.method` | StaticPairList | No | Use Static whitelist. [More information below](#dynamic-pairlists).
| `pairlist.config` | None | No | Additional configuration for dynamic pairlists. [More information below](#dynamic-pairlists).
| `telegram.enabled` | true | Yes | Enable or not the usage of Telegram.
| `telegram.token` | token | No | Your Telegram bot token. Only required if `telegram.enabled` is `true`.
| `telegram.chat_id` | chat_id | No | Your personal Telegram account id. Only required if `telegram.enabled` is `true`.
| `webhook.enabled` | false | No | Enable usage of Webhook notifications
| `webhook.url` | false | No | URL for the webhook. Only required if `webhook.enabled` is `true`. See the [webhook documentation](webhook-config.md) for more details.
| `webhook.webhookbuy` | false | No | Payload to send on buy. Only required if `webhook.enabled` is `true`. See the [webhook documentationV](webhook-config.md) for more details.
| `webhook.webhooksell` | false | No | Payload to send on sell. Only required if `webhook.enabled` is `true`. See the [webhook documentationV](webhook-config.md) for more details.
| `webhook.webhookstatus` | false | No | Payload to send on status calls. Only required if `webhook.enabled` is `true`. See the [webhook documentationV](webhook-config.md) for more details.
| `db_url` | `sqlite:///tradesv3.sqlite`| No | Declares database URL to use. NOTE: This defaults to `sqlite://` if `dry_run` is `True`.
| `initial_state` | running | No | Defines the initial application state. More information below.
| `forcebuy_enable` | false | No | Enables the RPC Commands to force a buy. More information below.
| `strategy` | DefaultStrategy | No | Defines Strategy class to use.
| `strategy_path` | null | No | Adds an additional strategy lookup path (must be a folder).
| `internals.process_throttle_secs` | 5 | Yes | Set the process throttle. Value in second.
The definition of each config parameters is in [misc.py](https://github.com/freqtrade/freqtrade/blob/develop/freqtrade/misc.py#L205).
### Understand stake_amount
==`stake_amount`== is an amount of crypto-currency your bot will use for each trade.
`stake_amount` is an amount of crypto-currency your bot will use for each trade.
The minimal value is 0.0005. If there is not enough crypto-currency in
the account an exception is generated.
To allow the bot to trade all the avaliable ==`stake_currency`== in your account set<br/>
To allow the bot to trade all the avaliable `stake_currency` in your account set<br/>
```json
"stake_amount" : "unlimited",
```
@ -82,7 +82,7 @@ currency_balanse / (max_open_trades - current_open_trades)
### Understand minimal_roi
==`minimal_roi`== is a JSON object where the key is a duration
`minimal_roi` is a JSON object where the key is a duration
in minutes and the value is the minimum ROI in percent.
See the example below:
@ -95,19 +95,19 @@ See the example below:
},
```
Most of the strategy files already include the optimal ==`minimal_roi`==
Most of the strategy files already include the optimal `minimal_roi`
value. This parameter is optional. If you use it, it will take over the
==`minimal_roi`== value from the strategy file.
`minimal_roi` value from the strategy file.
### Understand stoploss
==`stoploss`== is loss in percentage that should trigger a sale.
`stoploss` is loss in percentage that should trigger a sale.
For example value `-0.10` will cause immediate sell if the
profit dips below -10% for a given trade. This parameter is optional.
Most of the strategy files already include the optimal ==`stoploss`==
Most of the strategy files already include the optimal `stoploss`
value. This parameter is optional. If you use it, it will take over the
==`stoploss`== value from the strategy file.
`stoploss` value from the strategy file.
### Understand trailing stoploss
@ -115,13 +115,13 @@ Go to the [trailing stoploss Documentation](stoploss.md) for details on trailing
### Understand initial_state
==`initial_state`== is an optional field that defines the initial application state.
`initial_state` is an optional field that defines the initial application state.
Possible values are `running` or `stopped`. (default=`running`)
If the value is `stopped` the bot has to be started with `/start` first.
### Understand forcebuy_enable
==`forcebuy_enable`== enables the usage of forcebuy commands via Telegram.
`forcebuy_enable` enables the usage of forcebuy commands via Telegram.
This is disabled for security reasons by default, and will show a warning message on startup if enabled.
You send `/forcebuy ETH/BTC` to the bot, who buys the pair and holds it until a regular sell-signal appears (ROI, stoploss, /forcesell).
@ -130,21 +130,21 @@ See [the telegram documentation](telegram-usage.md) for details on usage.
### Understand process_throttle_secs
==`process_throttle_secs`== is an optional field that defines in seconds how long the bot should wait
`process_throttle_secs` is an optional field that defines in seconds how long the bot should wait
before asking the strategy if we should buy or a sell an asset. After each wait period, the strategy is asked again for
every opened trade wether or not we should sell, and for all the remaining pairs (either the dynamic list of pairs or
the static list of pairs) if we should buy.
### Understand ask_last_balance
==`ask_last_balance`== sets the bidding price. Value `0.0` will use `ask` price, `1.0` will
`ask_last_balance` sets the bidding price. Value `0.0` will use `ask` price, `1.0` will
use the `last` price and values between those interpolate between ask and last
price. Using `ask` price will guarantee quick success in bid, but bot will also
end up paying more then would probably have been necessary.
### Understand order_types
==`order_types`== contains a dict mapping order-types to market-types as well as stoploss on or off exchange type. This allows to buy using limit orders, sell using limit-orders, and create stoploss orders using market. It also allows to set the stoploss "on exchange" which means stoploss order would be placed immediately once the buy order is fulfilled.
`order_types` contains a dict mapping order-types to market-types as well as stoploss on or off exchange type. This allows to buy using limit orders, sell using limit-orders, and create stoploss orders using market. It also allows to set the stoploss "on exchange" which means stoploss order would be placed immediately once the buy order is fulfilled.
This can be set in the configuration or in the strategy. Configuration overwrites strategy configurations.
If this is configured, all 4 values (`"buy"`, `"sell"`, `"stoploss"`, `"stoploss_on_exchange"`) need to be present, otherwise the bot warn about it and will fail to start.
@ -164,7 +164,7 @@ The below is the default which is used if this is not configured in either Strat
The following message will be shown if your exchange does not support market orders: `"Exchange <yourexchange> does not support market orders."`
### Understand order_time_in_force
==`order_time_in_force`== defines the policy by which the order is executed on the exchange. Three commonly used time in force are:<br/>
`order_time_in_force` defines the policy by which the order is executed on the exchange. Three commonly used time in force are:<br/>
**GTC (Goog Till Canceled):**
This is most of the time the default time in force. It means the order will remain on exchange till it is canceled by user. It can be fully or partially fulfilled. If partially fulfilled, the remaining will stay on the exchange till cancelled.<br/>
**FOK (Full Or Kill):**
@ -172,7 +172,7 @@ It means if the order is not executed immediately AND fully then it is canceled
**IOC (Immediate Or Canceled):**
It is the same as FOK (above) except it can be partially fulfilled. The remaining part is automatically cancelled by the exchange.
<br/>
==`order_time_in_force`== contains a dict buy and sell time in force policy. This can be set in the configuration or in the strategy. Configuration overwrites strategy configurations.<br/>
`order_time_in_force` contains a dict buy and sell time in force policy. This can be set in the configuration or in the strategy. Configuration overwrites strategy configurations.<br/>
possible values are: `gtc` (default), `fok` or `ioc`.<br/>
``` python
"order_time_in_force": {
@ -200,7 +200,7 @@ Feel free to test other exchanges and submit your PR to improve the bot.
### What values for fiat_display_currency?
==`fiat_display_currency`== set the base currency to use for the conversion from coin to fiat in Telegram.
`fiat_display_currency` set the base currency to use for the conversion from coin to fiat in Telegram.
The valid values are:<br/>
```json
"AUD", "BRL", "CAD", "CHF", "CLP", "CNY", "CZK", "DKK", "EUR", "GBP", "HKD", "HUF", "IDR", "ILS", "INR", "JPY", "KRW", "MXN", "MYR", "NOK", "NZD", "PHP", "PKR", "PLN", "RUB", "SEK", "SGD", "THB", "TRY", "TWD", "ZAR", "USD"
@ -243,17 +243,17 @@ production mode.
### Dynamic Pairlists
Dynamic pairlists select pairs for you based on the logic configured.
The bot runs against all pairs (with that stake) on the exchange, and a number of assets (==`number_assets`==) is selected based on the selected criteria.
The bot runs against all pairs (with that stake) on the exchange, and a number of assets (`number_assets`) is selected based on the selected criteria.
By default, a Static Pairlist is used (configured as ==`"pair_whitelist"`== under the ==`"exchange"`== section of this configuration).
By default, a Static Pairlist is used (configured as `"pair_whitelist"` under the `"exchange"` section of this configuration).
**Available Pairlist methods:**
* `"StaticPairList"`
* uses configuration from ==`exchange.pair_whitelist`== and ==`exchange.pair_blacklist`==
* uses configuration from `exchange.pair_whitelist` and `exchange.pair_blacklist`
* `"VolumePairList"`
* Formerly available as `--dynamic-whitelist [<number_assets>]`
* Selects ==`number_assets`== top pairs based on ==`sort_key`==, which can be one of `askVolume`, `bidVolume` and `quoteVolume`, defaults to `quoteVolume`.
* Selects `number_assets` top pairs based on `sort_key`, which can be one of `askVolume`, `bidVolume` and `quoteVolume`, defaults to `quoteVolume`.
```json
"pairlist": {
@ -297,7 +297,7 @@ you run it in production mode.
### Using proxy with FreqTrade
To use a proxy with freqtrade, add the kwarg ==`"aiohttp_trust_env"=true`== to the ==`"ccxt_async_kwargs"`== dict in the exchange section of the configuration.
To use a proxy with freqtrade, add the kwarg `"aiohttp_trust_env"=true` to the `"ccxt_async_kwargs"` dict in the exchange section of the configuration.
An example for this can be found in `config_full.json.example`