Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
syntax:bybit [2020/05/12 05:36] profitview |
syntax:bybit [2020/09/10 10:04] 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 34: | Line 37: | ||
# return 1 : Expect to place an order (needed in case main order takes longer to fill) | # return 1 : Expect to place an order (needed in case main order takes longer to fill) | ||
# error closeside : If we cannot place SL, cancel orders, close position & abort | # error closeside : If we cannot place SL, cancel orders, close position & abort | ||
- | close=position side=[side] stoploss=[-]YOUR_STOP_LOSS% t=market return=1 error=closeside retries=10 id=SL ~~codedoc:clean:#notify=discord:"`SL at \z` {stop_px}"~~ | + | close=position side=[side] stoploss=[-]YOUR_STOP_LOSS% t=market return=1 error=closeside retries=10 id=SL ~~codedoc:clean:#notify=discord:"`SL at \z` {stop_loss}"~~ |
# Add limit take profit (reduce/close only) order | # Add limit take profit (reduce/close only) order |