Welcome to the Kucoin command examples page.
Here you will find some Commands/Parameters that can help you start trading in Kucoin with Autoview.
Keep in mind that most of these can be done using the handy Syntax Builder!
If this article is missing something you feel should be added, feel free to make a suggestion under this page so we can add it for future reference.
Parameters
Here we will cover some of the Parameters that we will be using to set up some basic trades for Kucoin using Autoview.
Exchange [e=]
Used for pinpointing what exchange you are trading on.
e=kucoin
Symbol [s=]
"s=" is used whenever you are referencing an asset you want to trade. This symbol can be copied from the website to ensure you are getting the proper asset you want.
s=eth-usdt
s=btc-usdt
s=bnb-usdt
Book [b=]
Standard Buy, Sell, Long and Short options.
b=buy (Spot Trading)
b=sell (Spot Trading)
b=long (Cross Margin Trading)
b=short (Cross Margin Trading)
b=long (Isolated Margin Trading)
b=short (Isolated Margin Trading)
Price [p=]
The amount to undercut (negative) or overcut (positive) the top order of the book.
When using this, enter the appropriate amount for the asset you are trading.
In some cases you may see a negative input [Ex: p=-1%]. It is only relevant to your take profit, as a negative, when closing a short position.
p=20% (Price based off a percentage)
p=120 (Price based off of a number)
b=buy p=-1% (Place buy 1% below the current price)
b=sell p=20 (Place sell $20 above the current price)
Quantity [q=]
The portion of your wallet balance or position you would like to effect.
q=10% (Price based off a percentage)
q=50 (Price based off of a number)
Order Type [t=]
There are Various order types that can be used within your command to select what type of trade you want.
t=limit (Limit: Order will be placed in the books to await being filled)
t=market (Market: Place order in the book for immediate filling (p
is ignored)
Auto Borrow [ab=1]
This command allows you to use Kucoin borrow function
ab=1 (typically used when calling a short in cross margin)
ab=0
Repay [y=repay, w=currency]
This command is used to repay anything borrowed from the exchange.
y=repay w=eth
e=kucoin s=eth-usdt q=0.03 t=market y=repay w=eth
One Cancels the Other [oco=]
Unfortunately Kucoin's API doesn't support oco.
Order Examples for spot trading
Below will be a set of examples using some of the parameters mentioned above.
We will be stringing some of them together to form different types of orders.
These examples should help you get started with opening basic and or advanced orders in Kucoin with Autoview/TradingView.
Open a buy/sell limit
e=kucoin s=eth-usdt b=buy q=10% p=-10%
e=kucoin s=eth-usdt b=sell q=10% p=-10%
Open a buy/sell market
e=kucoin s=eth-usdt b=buy q=1 t=market
e=kucoin s=eth-usdt b=sell q=1 t=market
Open a buy with a stop-limit/market
e=kucoin s=eth-usdt b=buy q=10% tp=10%
e=kucoin s=eth-usdt b=buy q=10% tp=10% t=market
Open a buy with a stop-loss limit/market
e=kucoin s=eth-usdt b=buy q=10% sl=-10%
e=kucoin s=eth-usdt b=buy q=10% sl=-10% t=market
Close orders
e=kucoin s=eth-usdt c=order
Order Examples for Cross Margin trading
Below will be a set of examples using some of the parameters mentioned above.
We will be stringing some of them together to form different types of orders.
These examples should help you get started with opening basic and or advanced orders in Kucoin with Autoview/TradingView.
Note: Not every symbol is available on cross margin some are isolated margin only.
Open a long/short limit
e=kucoin s=eth-usdt b=long q=10% p=10%
e=kucoin s=eth-usdt b=short q=10% p=-10% ab=1
Open a long/short market
e=kucoin s=eth-usdt b=long q=1 t=market
e=kucoin s=eth-usdt b=short q=1 ab=1 t=market
Open a long with a stop-limit/market
e=kucoin s=eth-usdt b=long q=10% tp=10%
e=kucoin s=eth-usdt b=long q=10% sl=-10%
e=kucoin s=eth-usdt b=long q=10% tp=10% t=market
e=kucoin s=eth-usdt b=long q=10% sl=-10% t=market
Open a short with a stop-limit/market
e=kucoin s=eth-usdt b=short q=10% tp=-10%
e=kucoin s=eth-usdt b=short q=10% sl=10%
e=kucoin s=eth-usdt b=short q=10% tp=-10% t=market
e=kucoin s=eth-usdt b=short q=10% sl=10% t=market
Swing trade with borrow and repay
e=kucoin s=eth-usdt q=0.03 t=market b=short ab=1
e=kucoin s=eth-usdt q=0.03 t=market b=long
e=kucoin s=eth-usdt q=0.03 t=market y=repay w=eth
Close orders
e=kucoin s=eth-usdt c=order
Comments
0 comments
Please sign in to leave a comment.