When placing a margin trade on Binance you need to have a balance of the relevant coin. There are two ways to do in this in Autoview.
The first way which requires a static value being passed is a single command specifically for the borrowing or repaying option. This example would borrow 1 Bitcoin than open a long for 1 Bitcoin. After a 1 second delay, it would close the order and repay the loan.
e=binance y=borrow w=BTC q=1 d=1
e=binance b=long q=1 d=1
e=binance b=short t=market d=1
e=binance y=repay w=BTC q=1 d=1
This method allows for the use of y=equity in your open command.
To do it automatically with an open or close command, which allows for the use of percentages as values. You simply need to add y=borrow or y=repay respectively.
e=binance b=long q=1% y=borrow d=1
e=binance b=short q=100% y=repay d=1
This method does not allow for use of y=equity in your open command
As always, the command examples include d=1 for testing and debugging purposes. If you'd like to try it live, simply remove the d=1 in each command.