Futures api new_order returns "code":-1111"

Hello,

When running python code

#!/usr/bin/env python
import logging
from binance.cm_futures import CMFutures as Client
from binance.lib.utils import config_logging
from binance.error import ClientError

config_logging(logging, logging.DEBUG)

key = “”
secret = “”

client = Client(key, secret, base_url=“https://testnet.binancefuture.com”)

try:
response = client.new_order(
symbol=“BTCUSD_PERP”,
side=“SELL”,
type=“LIMIT”,
quantity=0.005,
timeInForce=“GTC”,
price=44000,
)
logging.info(response)
except ClientError as error:
logging.error(
“Found error. status: {}, error code: {}, error message: {}”.format(
error.status_code, error.error_code, error.error_message
)
)

it returns

DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): testnet.binancefuture.com:443
DEBUG:urllib3.connectionpool:https://testnet.binancefuture.com:443 "POST /dapi/v1/order?symbol=BTCUSD_PERP&side=SELL&type=LIMIT&quantity=0.005&timeInForce=GTC&price=44000&timestamp=1704561530940&signature=a2c67708270538afde15052df71b23d9f35c2079ee1d82bbec7ee1d8313e0ac9 HTTP/1.1" 400 76
DEBUG:root:raw response from server:{"code":-1111,"msg":"Precision is over the maximum defined for this asset."}
ERROR:root:Found error. status: 400, error code: -1111, error message: Precision is over the maximum defined for this asset.

I have USDT that i want to place orders long/short by market not limit… I will appreciate alot if someone will look into this issue to help me.

Thanks

For Coin margin futures, the filters of BTCUSD_PERP is

                {
                    "stepSize": "1",
                    "filterType": "LOT_SIZE",
                    "maxQty": "1000000",
                    "minQty": "1"
                }

so the quantity should has no decimal; one contract values 100 USD.