show last 24hours in analyze graph

This commit is contained in:
Janne Sinivirta 2017-09-29 09:37:05 +03:00
parent 272abed807
commit b2f4778352

View File

@ -93,7 +93,7 @@ def analyze_ticker(pair: str) -> DataFrame:
add several TA indicators and buy signal to it
:return DataFrame with ticker data and indicator data
"""
minimum_date = arrow.utcnow().shift(hours=-6)
minimum_date = arrow.utcnow().shift(hours=-24)
data = get_ticker(pair, minimum_date)
dataframe = parse_ticker_dataframe(data['result'], minimum_date)