Links

Order Types

Order types on proton DEX are classified into:
  • Limit Order(= 1)
    • Market order (Price = '9223372036854775806' for buy, Price = '1' for sell)
  • Stoploss order(= 2)
  • Takeprofit order(= 3)
Limit Order: It is an order with limit price placed in the orderq. This order will promoted into orderbook or executed/fills on reaching the limit price(it can be less for buy ordes or more for sell orders)
Market Order: Market orders are a special type of limit order that are executed/fills as quickly as possible after processing on proton chain. It is applicable for both buy and sell orders.
Stoploss Order: Stoploss order is an order that gives an opportunity to the user/trader to choose maximum amount of loose on the trade. Both limit and stoploss price has to be selected on the trade. Also this order is not guaranteed to be executed.
Takeprofit Order: Takeprofit order is an order that gives an opportunity to the user/trader to choose minimum profit on trade. Both limit and takeprofit price has to be selected on the trade. Also this order is not guaranteed to be executed.