🧬
Launch App
English
English
  • Say Hello to Raydium
  • Getting Started
    • How-to guides
    • SPL Wallet
      • Buying and selling digital assets
      • Bridging assets
    • Best practices
    • Welcome to UI V3
    • FAQ
  • Traders
    • Swapping
      • Swap FAQ
    • Blinks and Referrals
    • Trade API
    • Raydium Perps
      • Trading basics
      • Order types
      • Trading fees
  • Liquidity providers
    • Providing Concentrated Liquidity (CLMM)
      • Intro on Concentrated Liquidity
      • Estimated APR Calculations
      • Position creation cost (CLMM)
    • Providing Constant Product liquidity
      • Farms
    • Liquidity providing FAQ
  • POOL CREATION
    • LaunchLab
      • Create a Token
      • Buying a LaunchLab token
      • Earn referral fees!
      • Creator fee share
      • Platforms
      • LaunchLab TypeScript SDK
    • Pool types overview
    • Creating a CLMM Pool and Farm
    • Creating a Constant Product Pool
      • Creating an Ecosystem Farm
    • Burn & Earn
    • Pool creation fees
    • Pool creation FAQ
  • Protocol
    • RAY TOKEN
      • RAY Staking
      • Protocol Fees
      • RAY Buybacks
    • Developers
      • Addresses
      • APIs
    • Security
      • Access Controls
    • Bug Bounty Program
      • CLMM Bug Bounty Details
      • Hybrid AMM Bug Bounty Details
      • CPMM (CP-Swap) Bug Bounty Details
    • Protocol Metrics & Analytics
  • Media assets
  • updates
    • Token-2022 Support
    • Archive
      • Staking History Tool
      • V3 LPs migrated to V4
      • Serum DEX3 upgrade
      • Associated Token Account Migration
      • Serum DEX Deprecation
      • Transparency on Exploit Compensation Funds
      • Claim Portal
      • Creating an OpenBook AMM Pool
        • Creating an Ecosystem Farm
      • Integration with OpenBook
      • Acceleraytor
  • Learn more
    • Discord
    • Telegram
Powered by GitBook
On this page
  • Order Types
  • Order Flags

Was this helpful?

  1. Traders
  2. Raydium Perps

Order types

Order Types

There are 4 order types on Raydium Perpertuals:

Market: An order to buy or sell at the current price. A market will fill all (inverse-sided) open orders until the quantity is matched. If the size of the order is larger than the whole book then the remaining quantity is canceled.

Limit: An order to buy or sell at a specified price.

Stop Orders: An order that only activates once the asset reaches or surpasses a specified price, known as the "stop price" or "trigger price". If the asset does not reach the stop price, the order remains inactive and is not executed.

Stop market: When the asset hits the stop price, the order is activated and becomes a live market order, it will be executed at the next available market price.

Stop limit: When the asset hits the stop price, the order is activated and becomes a live market order, it will be placed as a limit order and executed if the market reaches the specified limit.

Order Flags

IOC (Immediate or Cancel): It matches as much as possible at the order_price. If not fully executed, then the remaining quantity will be canceled.

FOK (Fill or Kill): If the order can be fully executed at the order_price, then the order gets fully executed otherwise would be canceled without any execution.

POST ONLY: If the order executes with any maker trades at the time of placement, then it will be canceled without execution.

REDUCE ONLY: Executes buy or sell orders that only reduce the current position

PreviousTrading basicsNextTrading fees

Last updated 4 months ago

Was this helpful?