You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Theres an error with the get_symbols call. It doesnt take the optional parameter to get the data for one token and it errors out with "too many parameters given.
As per the docs :
GET /api/v1/symbols
PARAMETERS
Param Type Description
market String [Optional] The trading market.
The text was updated successfully, but these errors were encountered:
Seems like this lib is a disaster... basics don't work. Example below.... get_ticker & allTickers CODE MIXED.
(I've taken out the comments from the lib, so that the Proc is easier to read).
get_ticker Proc: accesses 'market/allTickers' API path.
There doesn't seem to be an allTickers Proc.
Not gonna bother posting separately, seems this lib is not maintained.
def get_ticker(self, symbol=None):
data = {}
tick_path = 'market/allTickers'
if symbol is not None:
tick_path = 'market/orderbook/level1'
data = {
'symbol': symbol
}
return self._get(tick_path, False, data=data)
def get_symbols(self):
Theres an error with the get_symbols call. It doesnt take the optional parameter to get the data for one token and it errors out with "too many parameters given.
As per the docs :
GET /api/v1/symbols
PARAMETERS
Param Type Description
market String [Optional] The trading market.
The text was updated successfully, but these errors were encountered: