Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trading bot ERROR: mexc {"code":10007,"msg":"symbol not support api"}

I have this python script and I use mexc API and I want to trade BTC/USDT but when I run the script I get this error ERROR: mexc {"code":10007,"msg":"symbol not support api"}

here is the script

import ccxt
import time

# Trading pair and time frame
SYMBOL = 'BTC/USDT'
TIMEFRAME = '1m'
TRADE_SYMBOL = SYMBOL.replace('/', '')

# Trading amount and risk
TRADE_AMOUNT = 0.0025
RISK_PER_TRADE = 0.01
BALANCE = 250

# Exchange API keys
API_KEY = 'api key'
SECRET_KEY = 'secret key'

I found mexc symbol list and BTC/USDT was there so it should work but it doesn't

like image 912
keen Avatar asked Sep 19 '25 20:09

keen


1 Answers

I had a similar issue where the BTC/USDT trading pair was not available for use through the Mexc API. It appears that in the Apikey configuration, there is a whitelist of approved trading pairs that must be manually added before they can be accessed through the API. As a workaround, I tested the LBTC/USDT pair and it worked successfully. I hope this information is useful to you.

enter image description here

like image 114
Andres Lopez Avatar answered Sep 22 '25 04:09

Andres Lopez