JayX Docs
  • 🔭Visions
    • Background
    • What is JayX?
    • Why I/we choose to be anonymous?
  • 📑Solutions
    • Tech Stack
    • Non-Custodial Account
      • What is Chain Abstraction
      • Multi-Chain Signatures: One Account, Multiple Chains
      • Exchange Node Relay Function
      • SSO + Authentication (Wallet Connect)
    • DID/KYC
      • Decentralized Client Verification
      • ZK for Privacy-Preservation
      • Third-Party Verification and On-Chain Endorsements
      • Exchange Node Operators with Choice
    • Asset Management
      • Asset Storages
    • Dapp
      • Exchange Nodes
        • Key Functions of the Exchange Node
        • Order Flow Process
        • Incentive to Operate Nodes
        • Order Book
        • Oracle
  • ⛓️Token (Pending)
    • Utility Token - $SEED
      • Protocol Level Utilities
      • Application Level Utilities
      • Invitation and Referral Rewards
    • NFT - EGG & BIRD
    • Governance Token - $JAY
  • 📖API Docs
    • Intro to Spot Trading API
    • General Info
    • Endpoints
    • Websocket Stream
Powered by GitBook
On this page
  • Common Fields
  • Common Field Explanations for Public Data
  • Order Type (type)
  • Order Direction
  • Order Status (state)
  • Order Object Example

Was this helpful?

  1. API Docs

Endpoints

PreviousGeneral InfoNextWebsocket Stream

Last updated 1 year ago

Was this helpful?

Common Fields

  • category: Type, currently only supports spot - spot trading

  • symbol: Trading pair

  • market: Trading pair (planned to be deprecated, it is recommended to use symbol)

Common Field Explanations for Public Data

  1. "timestamp": Timestamp in milliseconds as a UNIX timestamp.

  2. "sell": Selling price.

  3. "buy": Buying price.

  4. "high": Highest price.

  5. "low": Lowest price.

  6. "last": The latest transaction price, indicating the price of the most recent transaction.

  7. "vol": Trading volume, indicating the market's trading volume within a certain period before the current record time point.

  8. "last24h": The average of the latest transaction prices in the past 24 hours.

  9. "high24h": The highest transaction price in the past 24 hours.

  10. "low24h": The lowest transaction price in the past 24 hours.

  11. "vol24h": The total trading volume in the past 24 hours.

  12. "change24h": 24-hour price fluctuation rate, indicating the percentage change in Bitcoin price over the past 24 hours. A negative number indicates a price drop, e.g., 0.03658904186574487 represents a price drop of approximately 0.0366%.

Order Type (type)

  • 0: LIMIT - Limit Order

  • 1: MARKET - Market Order

  • 2: STOP - Stop Order

Order Direction

  • BUY - Buy

  • SELL - Sell

Order Status (state)

  • NEW

  • TRADE

  • CANCEL

  • PENDING

Order Object Example

{
  "trader": "71b0ee42acade6", // apiKey
  "symbol": "ETCUSDT", // Trading pair
  "price": "1200.34", // Price in USD
  "quantity": "0.01", // Actual quantity
  "market": "ETCUSDT",
  "contr": "ETCUSDT", // Contract pair
  "id": 107385577, // Order ID
  "ref": null,
  "type": "LIMIT", // Refer to Order Type
  "state": "NEW", // Refer to Order Status
  "side": "BUY", // Refer to Order Direction
  "lots": 100,
  "ticks": 12003400,
  "resd": 100,
  "exec": 0,
  "cost": 0,
  "lastLots": null,
  "lastTicks": null,
  "created": 1714320731750,
  "modified": 1714320731750
}

Category

Api

Explanation

Basic Infrastructure

Authentication Encryption

See above

Access Rule

See above

WebSocket Data Push

To be supplemented

Market

Test Server Connection

Tradable Pairs Information

Depth

Recent Order List

K-Line Data

Ticker

Latest Price

Spot Trading

Place an Order

Query Order

Cancel Order

Cancel All Orders for a Single Trading Pair

Current Open Orders

Query All Orders

Spot Account

Spot Account Information

Spot Account Balance

Spot Account Order History

Query Current Order Count

check the transaction fee

The makerFee and takerFee fields in Spot Account Information

📖
🔗
Postman Interface Collection Documentation
Test Server Connection
Tradable Pairs Information
Depth
Recent Order List
K-Line Data
Ticker
Latest Price
Place an Order
Query Order
Cancel Order
Cancel All Orders for a Single Trading Pair
Current Open Orders
Query All Orders
Spot Account Information
Spot Account Balance
Spot Account Order History
Query Current Order Count