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:bybit [2020/04/24 15:05]
profitview ↷ Page moved and renamed from syntax-setup:bybit-syntax to syntax:bybit
syntax:bybit [2020/05/12 05:38]
profitview
Line 15: Line 15:
 #​parallel=acc1,​acc2,​acc3 #​parallel=acc1,​acc2,​acc3
  
-Cancel all orders ..if none found jump ahead to main order +Optionally ignore this alert if ANY position is already open 
-cancel=order ifnone=main+#check=position iffound=abort 
 # Close open positions on the opposite side at market # Close open positions on the opposite side at market
 # ..if no matching position is found, skip the delay and jump to main order # ..if no matching position is found, skip the delay and jump to main order
Line 27: Line 28:
 # retries 3   : Give up after 3 retries in case of overload # retries 3   : Give up after 3 retries in case of overload
 :main :main
 +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 error=abort retries=3 ~~codedoc:​clean:#​notify=discord:​1~~