mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-13 03:33:55 +00:00
removed old code from create_trade
This commit is contained in:
parent
4e45abbf13
commit
d239e99904
|
@ -393,7 +393,6 @@ class FreqtradeBot:
|
||||||
dataframe = self.dataprovider.ohlcv(pair, self.strategy.ticker_interval)
|
dataframe = self.dataprovider.ohlcv(pair, self.strategy.ticker_interval)
|
||||||
latest = dataframe.iloc[-1]
|
latest = dataframe.iloc[-1]
|
||||||
# Check if dataframe is out of date
|
# Check if dataframe is out of date
|
||||||
signal_date = arrow.get(latest['date'])
|
|
||||||
|
|
||||||
if self.strategy.is_pair_locked(pair):
|
if self.strategy.is_pair_locked(pair):
|
||||||
logger.info(f"Pair {pair} is currently locked.")
|
logger.info(f"Pair {pair} is currently locked.")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user