Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
syntax:binanceft [2020/05/12 05:36]
profitview
syntax:binanceft [2020/08/22 07:07]
profitview
Line 14: Line 14:
 # Optionally for multi accounts uncomment the following and fill in your accounts # Optionally for multi accounts uncomment the following and fill in your accounts
 #​parallel=acc1,​acc2,​acc3 #​parallel=acc1,​acc2,​acc3
 +
 +# Optionally ignore this alert if ANY position is already open
 +#​check=position iffound=abort
  
 # Close open positions on the opposite side at market # Close open positions on the opposite side at market
Line 26: Line 29:
 :main :main
 cancel=order # cancel any open order/stop first cancel=order # cancel any open order/stop first
-side=[side] quantity=YOUR_BUY_IN% leverage=YOUR_LEVERAGE type=market error=abort retries=3 ~~codedoc:​clean:#​notify=discord:​1~~+side=[side] quantity=YOUR_BUY_IN% leverage=YOUR_LEVERAGE type=market ​posmode=auto ​error=abort retries=3 ~~codedoc:​clean:#​notify=discord:​1~~
  
 # Give main order time to execute # Give main order time to execute
Line 40: Line 43:
 </​codedoc>​ </​codedoc>​
 ''​Quantity,​ leverage, stoploss and takeprofit have to be adjusted to your strategy / personal needs!''​ ''​Quantity,​ leverage, stoploss and takeprofit have to be adjusted to your strategy / personal needs!''​
 +\\
 +**NOTE:** Add ``posmode=auto`` to the main order command line (``side=...``) if you are using hedge mode or switching between hedge and normal mode on Binance!
 +(see "​Setup:​ Commands"​ page in PV – if you don't use hedge mode you can remove the ``posmode`` option completely!)
 </​panel>​ </​panel>​