Skip to main content
Rails Perpetuals lets you trade perpetuals on major crypto markets, with leverage and cross or isolated margin.

Key Capabilities

  • No expiry, with funding. Positions are held indefinitely; periodic funding payments keep the contract price aligned with the underlying. See Funding.
  • Leverage and margin modes. Trade with up to 5x leverage in either cross or isolated margin, configured per market. See Risk Management.
  • A single order book per market. Each market (e.g. BTC-USDT) has one order book you can stream and maintain locally. See Order Book.
  • REST and WebSocket. Place and manage orders and stream live market data over both interfaces. See the WebSocket overview.

Core Concepts

How to Get Started

1

Set up your account

Complete Get Set Up with Rails — registering, funding, and creating API keys.
2

Connect

Authorize your requests with an access token (see API Authorization) and open a WebSocket connection.
3

Explore market data

Read Market Data and maintain a local Order Book from snapshots and delta updates.
4

Trade

Place, modify, and cancel orders via the Order Creation Stream, then track positions and balances from your account streams.