mirror of
https://github.com/hydrosquall/tiingo-python.git
synced 2025-12-17 20:04:19 +01:00
Remove endDate argument from crypto top of book endpoint
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user