fix type-hints
This commit is contained in:
parent
da4faacd6b
commit
d8feceebb5
@ -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']:
|
||||||
|
Loading…
Reference in New Issue
Block a user