mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
load_exchange - force kwargs for non-required arguments
This commit is contained in:
@@ -19,7 +19,7 @@ class ExchangeResolver(IResolver):
|
||||
object_type = Exchange
|
||||
|
||||
@staticmethod
|
||||
def load_exchange(config: Config, validate: bool = True,
|
||||
def load_exchange(config: Config, *, validate: bool = True,
|
||||
load_leverage_tiers: bool = False) -> Exchange:
|
||||
"""
|
||||
Load the custom class from config parameter
|
||||
|
||||
Reference in New Issue
Block a user