Remove endDate argument from crypto top of book endpoint

This commit is contained in:
n1rna
2019-10-16 10:57:30 +03:30
parent 58efa544ec
commit c455fd856d

View File

@@ -334,16 +334,13 @@ class TiingoClient(RestClient):
# Crypto
# tiingo/crypto
def get_crypto_top_of_book(self, tickers=[],
endDate=None, exchanges=[],
def get_crypto_top_of_book(self, tickers=[], exchanges=[],
includeRawExchangeData=False, convertCurrency=None):
url = 'https://api.tiingo.com/tiingo/crypto/top'
params = {
'tickers': ','.join(tickers)
}
if endDate:
params['endDate'] = endDate
if len(exchanges):
params['exchanges'] = ','.join(exchanges)
if includeRawExchangeData is True: