From b129750f4dbff4daca892b6ebefdf1648637caff Mon Sep 17 00:00:00 2001 From: misagh Date: Wed, 21 Nov 2018 19:58:28 +0100 Subject: [PATCH] =?UTF-8?q?adding=20=E2=80=9Coptional=E2=80=9D=20in=20str?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- freqtrade/wallets.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/freqtrade/wallets.py b/freqtrade/wallets.py index 5ee33f41e..531e83a28 100644 --- a/freqtrade/wallets.py +++ b/freqtrade/wallets.py @@ -1,7 +1,7 @@ # pragma pylint: disable=W0603 """ Wallet """ import logging -from typing import Dict, Any, NamedTuple +from typing import Dict, Any, NamedTuple, Optional from collections import namedtuple from freqtrade.exchange import Exchange @@ -9,8 +9,8 @@ logger = logging.getLogger(__name__) class Wallet(NamedTuple): - exchange: str = None - currency: str = None + exchange: Optional[str] = None + currency: Optional[str] = None free: float = 0 used: float = 0 total: float = 0