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
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With