Invalid Symbol BTCUSDT

I am getting the following error
binance.error.ClientError: (400, -1121, 'Invalid symbol.', {'Content-Type': 'application/json'....

when using this code

from binance.cm_futures import CMFutures

cm_futures_client = CMFutures()
print(cm_futures_client.time())

cm_futures_client = CMFutures(key='XXXX', secret='YYYY')

# Get account information
print(cm_futures_client.account())

# Post a new order
params = {
    'symbol': 'BTCUSDT',
    'side': 'SELL',
    'type': 'LIMIT',
    'timeInForce': 'GTC',
    'quantity': 0.002,
    'price': 59808
}

response = cm_futures_client.new_order(**params)
print(response)

This is very odd, I am using python connector

Hi Bounty_PW,

This is because you’re using COIN-M Futures and BTCUSDT is not a valid symbol on COIN-M Futures. Try BTCUSD_PERP instead for example.

In order to see all available COIN-M Symbols, you can add this snippet to your existing code:

for x in cm_futures_client.account()['positions']:
    print(x['symbol'])

Cheers,

I didn’t notice I was using COIN-M Futures, Thank you