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
for my understanding I can use "if exchange.has['fetchConvertTradeHistory']:" to check if there is the wanted method.
Running it on binance where the method exists all workd fine. On phemex I get the following error:
Traceback (most recent call last):
File "/root/fetch-orders.py", line 65, in <module>
if exchange.has['fetchConvertTradeHistory']:
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'fetchConvertTradeHistory'
For my understanding there should be "x" printed.
Any Ideas whats going wrong?
Code
if exchange.has['fetchConvertTradeHistory']:
print(exchange.fetchConvertTradeHistory(limit=200, since=1685700951930, params={'until': 1685700951932}))
else:
print('x')
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/root/fetch-orders.py", line 66, in
if exchange.has['fetchConvertTradeHistory']:
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'fetchConvertTradeHistory'
Operating System
Debian 12
Programming Languages
Python
CCXT Version
4.3.11
Description
Moin,
for my understanding I can use "if exchange.has['fetchConvertTradeHistory']:" to check if there is the wanted method.
Running it on binance where the method exists all workd fine. On phemex I get the following error:
For my understanding there should be "x" printed.
Any Ideas whats going wrong?
Code
The text was updated successfully, but these errors were encountered: