LogoLogo
  • 👋Introduction
  • Get Started
  • Sonic rGEMs Rewards Program
  • Chart Trader
  • Index Price
  • Vaults
    • RabbitX Liquidity Pool Vault
  • Funding Rate
  • Deposit / Withdrawal
  • Fiat Deposits
  • Binance Direct Deposit
  • Profit / Loss Calculation
  • Margin Calculation
  • Market Slippage Protection
  • Liquidations
  • RabbitX Quantower
  • Fees
    • API Fees
  • Frequently Asked Questions
  • Token
    • Explore $RBX
    • Contract Details
  • API Documentation
    • Introduction
    • Rate Limits
    • Generate Your API Keys
      • Signing with API Key
    • Public Endpoints
      • Market Info
      • Trades
      • Orderbook
      • Funding Rate
      • Candles
    • Private Endpoints
      • Account Operations
      • Authentication
      • Orders
      • Fills
      • Positions
      • Profile
      • Balance History
      • Deadman Switch
    • Websocket
      • Trades
      • Orderbook
      • Market Info
      • Account
    • Responses Data Structure
  • Twitter
  • Discord
  • Audit
  • Bug Bounty
  • Bug Bounty Postmortem Report
  • Terms of Use
Powered by GitBook
On this page
  1. API Documentation
  2. Private Endpoints

Positions

Get positions

Get account open positions.

GET /positions
Example response

{
    "success": true,
    "error": "",
    "result": [
            {'entry_price': '25532.188679245283018867924528301886794',
              'fair_price': '24351',
              'id': 'pos-BTC-USD-tr-7615',
              'liquidation_price': '26027.959333211210844477010441472797217',
              'margin': '64.53015',
              'market_id': 'BTC-USD',
              'notional': '1290.603',
              'profile_id': 7615,
              'side': 'short',
              'size': '0.053',
              'unrealized_pnl': '62.603000000000000000000000000000000082'}
    ]
}
PreviousFillsNextProfile

Last updated 11 months ago