Update freqtrade/data/converter.py

Co-Authored-By: hroff-1902 <47309513+hroff-1902@users.noreply.github.com>
This commit is contained in:
Matthias 2020-04-17 06:22:25 +02:00 committed by GitHub
parent 46f1d1f39f
commit 7aba9bc62a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -174,7 +174,7 @@ def trades_dict_to_list(trades: List[Dict]) -> List[List]:
:param trades: List of trades, as returned by ccxt.fetch_trades. :param trades: List of trades, as returned by ccxt.fetch_trades.
:return: List of Lists, with constants.DEFAULT_TRADES_COLUMNS as columns :return: List of Lists, with constants.DEFAULT_TRADES_COLUMNS as columns
""" """
return [[t[col] for col in DEFAULT_TRADES_COLUMNS]for t in trades] return [[t[col] for col in DEFAULT_TRADES_COLUMNS] for t in trades]
def trades_to_ohlcv(trades: List, timeframe: str) -> DataFrame: def trades_to_ohlcv(trades: List, timeframe: str) -> DataFrame: