DeltaDeFi
  • About
    • 👋Introduction
    • 📖Learn
      • Architecture
        • Account
        • App Vault
        • Hydra
        • Intent and Process
        • Order Book
      • Trade
        • Order Types
      • Whitepaper
  • Start Trading
    • ⚡Getting Started
      • Create Account
      • Deposit
      • Place Order
      • Cancel Order
      • Withdrawal
      • API Key / Dashboard
    • ⚙️Developers
      • Introduction
        • Base Url
        • Auth
        • Assets
      • Getting started
        • Deposit funds
        • Place a new order
        • Cancel an order
        • Withdraw funds
      • API Documentation
        • Account
          • Create new api key
          • Build deposit transaction
          • Submit deposit transaction
          • Deposit records
          • Withdrawal records
          • Order records
          • Build withdrawal transaction
          • Submit withdrawal transaction
          • Balances
        • App
          • Get mock USDX (testnet only)
          • Submit USDX transaction (testnet only)
        • Market
          • Market Price
          • Market Depth
          • Aggregated trades
        • Order
          • Build order transaction
          • Submit order Transaction
          • Build cancel Order Transaction
          • Submit cancel order transaction
      • Websocket Endpoints
        • Account streams
        • Market price streams
        • Market depth streams
      • SDK
        • Typescript
        • Python
  • FAQ
    • General
    • Product
    • Cardano
    • Disclaimer
Powered by GitBook
On this page
  1. Start Trading
  2. Developers
  3. API Documentation
  4. Order

Build order transaction

PreviousOrderNextSubmit order Transaction

Last updated 2 months ago

⚙️

Build place order transaction

post

Build place order transaction

Body
max_slippagebooleanOptional
max_slippage_basis_pointintegerOptional
pricenumberOptional
quantitynumberRequired
sidestring · enumRequiredPossible values:
symbolstring · enumRequiredPossible values:
typestring · enumRequiredPossible values:
Responses
200
OK
application/json
400
Bad Request
application/json
422
Unprocessable Entity
application/json
500
Internal Server Error
application/json
post
POST /orders/build HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 121

{
  "max_slippage": true,
  "max_slippage_basis_point": 1,
  "price": 1,
  "quantity": 1,
  "side": "buy",
  "symbol": "ADAUSDX",
  "type": "market"
}
{
  "order_id": "text",
  "tx_hex": "text"
}