flake 8
This commit is contained in:
parent
6b3e8dcc33
commit
d2a728cebd
@ -136,9 +136,9 @@ class IStrategy(ABC):
|
|||||||
dataframe = parse_ticker_dataframe(ticker_history)
|
dataframe = parse_ticker_dataframe(ticker_history)
|
||||||
|
|
||||||
pair = metadata['pair']
|
pair = metadata['pair']
|
||||||
last_candle_seen = self.candleSeen.get_last_seen(pair)
|
last_seen = self.candleSeen.get_last_seen(pair)
|
||||||
|
|
||||||
if last_candle_seen != dataframe.iloc[-1]['date'] or self.config.get('ta_on_candle') is False:
|
if last_seen != dataframe.iloc[-1]['date'] or self.config.get('ta_on_candle') is False:
|
||||||
# Defs that only make change on new candle data.
|
# Defs that only make change on new candle data.
|
||||||
logging.info("TA Analysis Launched")
|
logging.info("TA Analysis Launched")
|
||||||
dataframe = self.advise_indicators(dataframe, metadata)
|
dataframe = self.advise_indicators(dataframe, metadata)
|
||||||
|
Loading…
Reference in New Issue
Block a user