@@ -572,6 +572,7 @@
|
|||||||
"pairlists": {
|
"pairlists": {
|
||||||
"description": "Configuration for pairlists.",
|
"description": "Configuration for pairlists.",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"minItems": 1,
|
||||||
"items": {
|
"items": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|||||||
@@ -453,6 +453,7 @@ CONF_SCHEMA = {
|
|||||||
"pairlists": {
|
"pairlists": {
|
||||||
"description": "Configuration for pairlists.",
|
"description": "Configuration for pairlists.",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"minItems": 1,
|
||||||
"items": {
|
"items": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@@ -1381,6 +1382,7 @@ SCHEMA_TRADE_REQUIRED = [
|
|||||||
"entry_pricing",
|
"entry_pricing",
|
||||||
"stoploss",
|
"stoploss",
|
||||||
"minimal_roi",
|
"minimal_roi",
|
||||||
|
"pairlists",
|
||||||
"internals",
|
"internals",
|
||||||
"dataformat_ohlcv",
|
"dataformat_ohlcv",
|
||||||
"dataformat_trades",
|
"dataformat_trades",
|
||||||
@@ -1390,6 +1392,7 @@ SCHEMA_BACKTEST_REQUIRED = [
|
|||||||
"exchange",
|
"exchange",
|
||||||
"stake_currency",
|
"stake_currency",
|
||||||
"stake_amount",
|
"stake_amount",
|
||||||
|
"pairlists",
|
||||||
"dry_run_wallet",
|
"dry_run_wallet",
|
||||||
"dataformat_ohlcv",
|
"dataformat_ohlcv",
|
||||||
"dataformat_trades",
|
"dataformat_trades",
|
||||||
|
|||||||
@@ -84,9 +84,6 @@ class Configuration:
|
|||||||
if "internals" not in config:
|
if "internals" not in config:
|
||||||
config["internals"] = {}
|
config["internals"] = {}
|
||||||
|
|
||||||
if "pairlists" not in config:
|
|
||||||
config["pairlists"] = []
|
|
||||||
|
|
||||||
# Keep a copy of the original configuration file
|
# Keep a copy of the original configuration file
|
||||||
config["original_config"] = deepcopy(config)
|
config["original_config"] = deepcopy(config)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user