Basic syntax for entries
Binance Spot & Margin
Example Syntax for Binance Spot
It is always recommended to use testnet/sandbox first!
Buy/Sell Signal (unified)
# either buy ETC using 10% of your BTC balance (side=buy) or sell 10% of your ETC balance for BTC (side=sell) ex=binance symbol=ETCBTC [side]=10% type=market # protect it with TP & SL as one OCO order (one cancels the other): with sl= and tp= together # Binance places the order on the opposite side, so [side] sells the bought ETC (buy) or buys back with the BTC (sell) # note: 100% is of your whole balance of that coin, not only of what the first order got! delay=0.5s [side]=100% sl=[-]2% tp=[+]2% type=market
Note: Make sure to use “buy” and “sell” in the PV alert name and when using the manual run/test buttons press the Alt key so the
[side] placeholder uses buy/sell instead of long/short!Quantity, stoploss and takeprofit have to be adjusted to your strategy / personal needs!
Balance Transfers
# transfer 10 ETC from your *spot balance* to your *cross margin* balance transfer=ETC quantity=10 yield=spot
# transfer ALL of your ETC from your ETCBTC *isolated margin* balance to your *spot balance* transfer=ETC quantity=100% symbol=ETCBTC iso yield=margin
# transfer one quarter (25%) of your ETC from your *spot balance* to your ETCBTC *isolated margin* balance transfer=ETC quantity=25% symbol=ETCBTC iso yield=spot
Margin Loan/Borrow
See https://www.binance.com/en/academy/articles/what-is-binance-margin-and-how-to-use-it
# apply for the maximum margin loan (100% of borrowable) for your ETC *cross margin* balance loan=ETC quantity=100%
# apply for the maximum margin loan (100% of borrowable) for the ETC part of your ETCBTC *isolated margin* balance loan=ETC quantity=100% symbol=ETCBTC iso
Spot Margin Trades (Auto-Borrow)
See https://www.binance.com/en/academy/articles/what-is-binance-margin-and-how-to-use-it
# place a *cross margin* limit buy order in the ETCBTC market and *auto-borrow* the maximum margin loan (100% of borrowable) long=100% symbol=ETCBTC mt=borrow
# place a *isolated margin* limit buy order in the ETCBTC market and *auto-borrow* the maximum margin loan (100% of borrowable) long=100% symbol=ETCBTC mt=borrow iso
Attention: Always double check that you are using the right syntax/alert!