From 367601518481092ae92d320e0eeabaa4b2bf7b8a Mon Sep 17 00:00:00 2001 From: Anton Date: Mon, 11 Jun 2018 16:21:57 +0300 Subject: [PATCH] Fix check --- freqtrade/freqtradebot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index 70c74755e..8c8017d0b 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -7,7 +7,7 @@ import logging import time import traceback from datetime import datetime -from typing import Dict, List, Optional, Any, Callable +from typing import Dict, List, Optional, Any, Callable, Optional import arrow import requests @@ -239,7 +239,7 @@ class FreqtradeBot(object): return final_list - def get_target_bid(self, ticker: Dict[str, float]) -> float: + def get_target_bid(self, ticker: Dict[str, float]) -> Optional[float]: """ Calculates bid target between current ask price and last price :param ticker: Ticker to use for getting Ask and Last Price