This article will elaborate on a few specific commands that will help you avoid common errors when configuring your custom AscendEX strategies automation.
Parameters
Exchange [e=]
e=ascendex
e=ascendex-sandbox
Symbol [s=]
e=ascendex s=ASD/USDT
Symbol parameters typically match the Tradingview chart, you simply need to add a slash between the symbols.
Book [b=]
e=ascendex s=ASD/USDT b=buy SPOT
e=ascendex s=ASD/USDT b=sell SPOT
e=ascendex s=ASD/USDT b=long MARGIN
e=ascendex s=ASD/USDT b=short MARGIN
Advanced Orders
Open with a stop-limit order
- We added tp/sl to be used with c=position, however, it can also be used to open new stop-limit and stop-market trades. This however means that Autoview will think it is "closing" a position because so the opposite of your b= will be placed. To maintain backwards compatibility within the extension, this is something that worked by default and could not be corrected.
e=ascendex s=asd/usdt b=buy px=10% t=market d=1
e=ascendex s=asd/usdt b=sell px=-10% t=market d=1
px= sets the trigger price for the stop-limit.
fpx= fixed-trigger-price will be placed at the value passed.
p= sets the price of your limit once triggered.
fp= sets the price of your limit once triggered at the value passed.
Comments
0 comments
Article is closed for comments.