I’m currently using a Binance API that’s specifically tailored for copy trading in perpetual futures. However, I’ve encountered an issue regarding the availability of trading pairs. The API lists certain pairs as available, but these pairs do not appear to be supported when I check my copy trading account (example : PYTHUSDT.P). This discrepancy is causing some confusion and operational issues.
I’m interested in understanding if this is a common issue or if there are specific endpoints I should use to get an accurate list of trading pairs for copy trading purposes. I found nothing in the documentation. Could it be a case of the API data not being updated in real-time, or am I missing something?
Any insights, advice, or shared experiences with similar issues would be greatly appreciated.
Thank you for your assistance.
.
Here is the code I used for fetching symbols (using copy trading API keys) :
def fetch_supported_symbols():
exchange_info = client.futures_exchange_info()
symbols = [symbol['symbol'] for symbol in exchange_info['symbols']]
print("Supported Symbols for Futures Trading on Binance:")
print(symbols)
return symbols
Hello Dino, here are two examples : PYTHUSD Perpetual and SUPERSUDT Perpetual.
They give this error ONLY when Lead Trading (Lead Trading API) :
raise BinanceAPIException(response, response.status_code, response.text)
binance.exceptions.BinanceAPIException: APIError(code=-4188): This symbol is not
in symbol white list..
If you check the supported symbol list (fetched with Lead Trading API), these pairs are included! So they should be “operational” for Lead Trading.
I encountered the same issue. A lot of futures symbols are not allowed for trading for some reason, even thought the price streams exist. I end up adding a Blacklist.