Reya
  • Start Here
    • Why Reya?
  • REYA PRODUCTS
    • Reya DEX
      • Navigating Reya DEX
        • Dashboard: getting started
          • Creating your margin account
          • Moving funds
          • Checking your account
        • The Trading Screen
          • Trade form
          • Market Data Panel
        • LP Pool
      • Trading on Reya DEX
        • Perpetual Futures
        • Margin
        • Auto-exchange and Liquidations
        • Specifications
        • Conditional Orders
        • FlashSwap
        • Collateral liquidations
        • Settlement and cross-collateralization
      • Docs: Reya DEX REST API
      • Docs: Reya DEX WebSocket
    • Reya Network
      • The structure of Reya Network
      • The Liquidity Layer
        • Reya’s pool for perpetual futures
        • Offering liquidity in the passive pool
        • Deepdive into passive perps
        • Network Owned Liquidity
      • Derivatives Clearing
        • Automatic leveraging of PnL across instruments
        • Cross-collateralization
          • Haircuts
          • Auto-exchange conditions
          • Auto-exchange mechanism
        • Cross-margining
          • The margin system
        • The liquidation engine
          • Ranked liquidations
          • Dutch auction
          • Backstop LPs
          • Insurance Funds
          • Page 1
        • Spot markets
        • Reya Governance
      • What's the roadmap
      • Who's Behind Reya Network
    • rUSD / srUSD
      • rUSD
      • srUSD
      • srUSD How to and FAQs
  • COMMUNITY
    • Join the Reya Community
    • Incentives Overview
      • Experience (XP)
        • Technical details
      • Boosts
      • Ranks and Seasons
    • x.com
  • Technical Docs
    • Reya Python SDK
    • Contract Functions
      • Core
      • Passive Perp Instrument
      • Passive Pool
      • Oracle Adapter
    • Contract Addresses
    • Smart Contract Withdrawals
    • Audits
  • REYA RESOURCES
    • Blog
    • Beginner's Guide to Better Trading with Reya
    • Block Explorer
    • Glossary (coming soon)
    • FAQ (coming soon)
Powered by GitBook
On this page
  1. REYA PRODUCTS
  2. Reya DEX
  3. Trading on Reya DEX

Conditional Orders

ReyaDEX supports setting a “Stop Loss” or "Take Profit" conditional order against open positions. Traders can set a Stop Loss and Take Profit price for each position. When the market price reaches this trigger price, the position is closed by executing a Market Order of the same size but in the opposite direction of the current exposure. Stop Loss or Take Profit conditional orders can be canceled by traders at any time.

Traders can edit positions without adjusting the conditional orders against that position. The Conditional orders will apply to the whole position at the time of execution. If a position is closed, then the associated conditional orders will be canceled. If a trader has Long exposure in a given market and trades short (Sell-side) such that the net exposure is short after the trade, Reya assumes the original long exposure to have been closed and clears any conditional orders.

Against a Long (Buy-side) position in a given market, traders can set a stop loss (trigger) price below the current estimated execution price. Against a Short (Sell-side) position, traders can set a Stop Loss (trigger) price above the current estimated execution price. With Take Profit orders, long positions need a trigger price above the current market (estimated execution) price and short positions need a trigger below the current price.

To ensure traders remain in control of their funds, traders must first authorize Reya to execute Conditional orders on their behalf and then generate a signature for each conditional order placed. The order will only be executed if Reya has both authorization and a valid signature. This is for the safety of the trader. Traders only need to authorise Reya once per account, but will need to generate a signature for each new conditional order (so two if setting both a stop loss and take profit) or edit or cancel of existing order.

ReyaDEX cannot guarantee that any specific price will be achieved in connection with a conditional order. Markets in digital tokens are underdeveloped and can be volatile and illiquid. Traders should consider the risks associated with digital token markets before deciding to invest.

PreviousSpecificationsNextFlashSwap

Last updated 4 months ago