fix type-hints

This commit is contained in:
iuvbio 2019-02-17 15:54:22 +01:00
parent da4faacd6b
commit d8feceebb5

View File

@ -14,11 +14,11 @@ logger = logging.getLogger(__name__)
class Kraken(Exchange): class Kraken(Exchange):
_params: Dict = {"trading_agreement": "agree"}
def __init__(self, config: dict) -> None: def __init__(self, config: dict) -> None:
super().__init__(config) super().__init__(config)
self._params = {"trading_agreement": "agree"}
def buy(self, pair: str, ordertype: str, amount: float, def buy(self, pair: str, ordertype: str, amount: float,
rate: float, time_in_force) -> Dict: rate: float, time_in_force) -> Dict:
if self._conf['dry_run']: if self._conf['dry_run']: