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:deribit [2020/04/24 10:13] profitview |
syntax:deribit [2020/05/12 05:36] profitview |
||
---|---|---|---|
Line 15: | Line 15: | ||
#parallel=acc1,acc2 | #parallel=acc1,acc2 | ||
- | # Cancel all orders ..if none found jump ahead to main order | ||
- | cancel=order ifnone=main | ||
# 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 28: | Line 26: | ||
# 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~~ | ||