drop minimum_date from get_ticker_history

This commit is contained in:
gcarq
2017-11-06 00:06:59 +01:00
parent 60e651cb4c
commit 810f2f9243
4 changed files with 9 additions and 17 deletions

View File

@@ -1,7 +1,5 @@
from abc import ABC, abstractmethod
from typing import List, Optional, Dict
import arrow
from typing import List, Dict
class Exchange(ABC):
@@ -85,11 +83,10 @@ class Exchange(ABC):
"""
@abstractmethod
def get_ticker_history(self, pair: str, minimum_date: Optional[arrow.Arrow] = None) -> List:
def get_ticker_history(self, pair: str) -> List:
"""
Gets ticker history for given pair.
:param pair: Pair as str, format: BTC_ETC
:param minimum_date: Minimum date (optional)
:return: list, format: [
{
'O': float, (Open)