With ByBit SPOT how can I buy 500 USDT worth of BTC and sell 100%?

Hi there

Why the below isn’t working?

BUY BTCUSDT Q=500 A=SPOT
SELL BTCUSDT Q=100% A=SPOT

I also tried with the CLOSE command, got a “NotSupported bybit fetchPositions() not support spot market” error
CLOSE BTCUSDT Q=100% A=SPOT

How can I buy X coins and sell 100% with bybit spot?

Thank you

Hello @Daveatt

This is a bug that you just caught.

Apologies for the late response, our developers are working to solve it, and I will give you a status update very soon.

Happy Holidays!

Tash.