I am trying to place a future order on the BTCBUSD Perpetual symbol and keep getting this error: “Mandatory parameter ‘-0.001’ was not sent, was empty/null, or malformed.” I have searched the docs and cannot find any mention of ‘-0.001’ anywhere. The exact same code was working for every other futures symbol, I only got that error when ordering on BTCBUSD.
These are the parameters I sent:
order = self.client.futures_create_order(
symbol=‘BTCBUSD’,
side=Client.SIDE_BUY,
type=Client.ORDER_TYPE_MARKET,
quantity=quantity,
positionSide=‘LONG’
)
Does anyone know why I am getting this error?