Gate.io: Price Triggered Orders

Gate.io Price Triggered Orders for Selling

Sell all your coins

When your Take Profit (takeProfitTrigger) and Stop Loss (stopLossTrigger) gets hit the sell order gets activated and will be a limit sell order in the Orderbook. The Orders will be placed at the takeProfit or stopLoss Price. To be sold immediately the takeProfit or stopLoss Price has to be lower than the takeProfitTrigger or stopLossTrigger.

When in doubt how to set these Paramters just do your takeProfitTrigger and StopLossTrigger and set the takeProfit and stopLoss both to 0. The Bot will calculate the values accordingly.

"takeProfit" : 0,

"stopLoss" : 0

The Bot will calculate the takeProfit = takeProfitTrigger * 0.7 and stopLoss = stopLossTrigger * 0.7 this should be low enough to sell all your coins immediately. The Exchange will try to fill your order at the best Price possible.

Gate.io: Price Triggered Sell Orders

The Gate.io Bots will place two price triggered Orders for selling. Price triggered Orders a Limit Orders that get activated when the trigger Price is hit. This gives you 4 Price Parameters.

{
...
    "createLimitSellOrder" : "True",
    "takeProfitTrigger": 1.15,
    "takeProfit": 0,
    "stopLossTrigger": 0.90,
    "stopLoss": 0,
...
}

Calculation of the prices:

This is the intern calculation of the Prices:

  • takeProfitTrigger, the price that activates the Limit Sell Order: buyPrice * takeProfitTrigger

  • takeProfit, the limit price of the actual Limit Sell Order: buyPrice * takeProfit

  • stopLossTrigger, the price that activates the Limit Sell Order: buyPrice * stopLossTrigger

  • stopLoss, the limit price of the actual Limit Sell Order: buyPrice * stopLoss

If you put takeProfit and/or stopLoss as 0:

  • takeProfitTrigger, the price that activates the Limit Sell Order: buyPrice * takeProfitTrigger

  • takeProfit, the limit price of the actual Limit Sell Order: buyPrice * (takeProfitTrigger * 0.7)

  • stopLossTrigger, the price that activates the Limit Sell Order: buyPrice * stopLossTrigger

  • stopLoss, the limit price of the actual Limit Sell Order: buyPrice * (stopLossTrigger * 0.7)

The first time is might sound complicated but it isnt, believe me. The two important parameters are the takeProfitTrigger and the stopLossTrigger. Those two are the Price when the Limit Sell Order get activated on the Oderbook. This is your normal take profit price, or stop loss price.

The takeProfit or the stopLoss have to be lower than the takeProfitTrigger or stopLossTrigger. This takeProfit and stopLoss will be the prices of the Limit Sell Order on the Orderbook. The Order to be filled immediately the price has to be lower then the current price. When the current price moves below your takeProfit or stopLoss the coins will remain in the Orderbook and dont get sold.

takeProfitTrigger > takeProfit

stopLossTrigger > stopLoss

Last updated