Add Binance Futures Multi-Asset mode quantity percentage support

Hello,

I would like to be able to specify the quantity of a trade as a percentage of my balance. Currently the assets in the wallet are not read into balance, for example in this case there is adequate BNFCR (Binance Futures Credit), USDC and BTC in the wallet.

Below is an example of how it behaves now. Works normally when “q=0.001” for example.

short BTCUSDT tp=1.5% q=5% SL=1% L=5 a=usdm
FAILED
InvalidOrder binanceusdm amount of BTC/USDT:USDT must be greater than minimum amount precision of 0.001 Quantity: 0

@Lucem , You seem to be active here.

Hello @Murju

This is because your calculated quantity at 5% is lower than the minimum allowed trade size of 0.001.

Try increasing your percentage value.

Hello Tash,

This is not the case. The quantity is always zero wether the percentage is 5 or 100%. Might be it is trying to get USDT quantity from the account but it is not possible anymore to store USDT in the Futures wallet, atleast in EU Binance.

Where are you based?

I am based in Finland

Let me follow it up. Is the Multi-Asset mode enabled on your Binance account?

Hello @Murju

The solution is right here: [feature] Binance Margin with Multi-Assets Mode

Let me know if this works.

Hello,

Works exactly as it should.
Thanks a bunch @Tash

2 Likes