Skip to content

Commit

Permalink
Cleanup history
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Dec 28, 2019
1 parent d06777b commit d1b5280
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions freqtrade/data/history.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import operator
from datetime import datetime, timezone
from pathlib import Path
from typing import Any, Dict, List, Optional, Tuple
from typing import Dict, List, Optional, Tuple

import arrow
from pandas import DataFrame
Expand All @@ -21,7 +21,7 @@
from freqtrade.data.converter import parse_ticker_dataframe, trades_to_ohlcv
from freqtrade.data.datahandlers import get_datahandler
from freqtrade.data.datahandlers.idatahandler import IDataHandler
from freqtrade.exchange import Exchange, timeframe_to_minutes
from freqtrade.exchange import Exchange

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -68,15 +68,6 @@ def load_tickerdata_file(datadir: Path, pair: str, timeframe: str,
return pairdata


def store_tickerdata_file(datadir: Path, pair: str,
timeframe: str, data: list, is_zip: bool = False):
"""
Stores tickerdata to file
"""
filename = pair_data_filename(datadir, pair, timeframe)
misc.file_dump_json(filename, data, is_zip=is_zip)


def load_pair_history(pair: str,
timeframe: str,
datadir: Path, *,
Expand Down

0 comments on commit d1b5280

Please sign in to comment.