Add mode as parameter for the UI
This commit is contained in:
@@ -79,6 +79,13 @@ class RemotePairList(IPairList):
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def available_parameters() -> Dict[str, PairlistParameter]:
|
def available_parameters() -> Dict[str, PairlistParameter]:
|
||||||
return {
|
return {
|
||||||
|
"mode": {
|
||||||
|
"type": "option",
|
||||||
|
"default": "whitelist",
|
||||||
|
"options": ["whitelist", "blacklist"],
|
||||||
|
"description": "Pairlist mode",
|
||||||
|
"help": "Should this pairlist operate as a whitelist or blacklist?",
|
||||||
|
},
|
||||||
"number_assets": {
|
"number_assets": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 0,
|
"default": 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user