Fix check

This commit is contained in:
Anton 2018-06-11 16:21:57 +03:00
parent b1b87731b1
commit 3676015184

View File

@ -7,7 +7,7 @@ import logging
import time import time
import traceback import traceback
from datetime import datetime from datetime import datetime
from typing import Dict, List, Optional, Any, Callable from typing import Dict, List, Optional, Any, Callable, Optional
import arrow import arrow
import requests import requests
@ -239,7 +239,7 @@ class FreqtradeBot(object):
return final_list 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 Calculates bid target between current ask price and last price
:param ticker: Ticker to use for getting Ask and Last Price :param ticker: Ticker to use for getting Ask and Last Price