Markets

GET /pairs

Retrieve a list of markets supported by Everstrike.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • code integer

      Response code

    • msg string

      Diagnostic message

    • result object

      Request result

      Hide result attribute Show result attribute object
      • USD_BTCCALL_PERP object

        Information about the market

        Hide USD_BTCCALL_PERP attributes Show USD_BTCCALL_PERP attributes object
        • key string

          Programmatic identifier for the market

        • base string

          Base asset for the market

        • base_precision number

          Precision of base asset

        • base_display_precision number

          Display precision of base asset. Used for display purposes on the Everstrike frontend.

        • quote string

          Quote asset for the market

        • quote_precision number

          Precision of quote asset

        • quote_display_precision number

          Display precision of quote asset. Used for display purposes on the Everstrike frontend.

        • tv_price_precision number

          Precision used for displaying prices on Tradingview

        • tv_volume_precicion number

          Precision used for displaying volume on Tradingview

        • symbol string

          Symbol for the market

        • description string

          Short description of the market

        • introduction string

          Description of the market

        • website string

          Public website of the main asset of the market

        • explorer string

          Public block explorer of the main asset of the market

        • subreddit string

          Subreddit of the main asset of the market

        • issue_price number

          Issue price of the main asset of the market

        • issue_time number

          Issue time of the main asset of the market

        • total_supply number

          Total supply of the main asset of the market

        • category string

          Category of the market

        • url string

          Public wiki URL of the main asset of the market

        • commission_maker number

          Maker fee

        • commission_taker number

          Taker fee

        • commission_liquidation number

          Liquidation fee

        • contract string

          Contract type

        • min_initial_margin number

          Minimum Initial Margin

        • min_maintenace_margin number

          Minimum Maintenance Margin

        • initial_risk_limit number

          Initial Risk Limit. Minimum Initial Margin = Minimum Initial Margin + Position Size (USD) * Initial Risk Limit

        • maintenance_risk_limit number

          Maintenance Risk Limit. Minimum Maintenance Margin = Minimum Maintenance Margin + Position Size (USD) * Maintenance Risk Limit

        • deleverage_threshold number

          Maintenance Margin Threshold for Deleverage Events (ADL)

        • swap_threshold number

          Maintenance Margin Threshold for Liquidation Failures (Liquidity Provider Takeover)

        • min_liquidate number

          Minimum USD position size for Incremental Liquidation

        • liquidate_threshold number

          Liquidation Threshold. Liquidation Qty = Position Size * Liquidation Threshold

        • funding_threshold number

          Funding Threshold. No funding takes place if Abs(Funding Rate) < Funding Threshold

        • funding_interval number

          Funding Interval in milliseconds

        • funding_time_window number

          Funding Period in milliseconds

        • funding_min number

          Minimum Funding Rate

        • funding_max number

          Maximum Funding Rate

        • fair_qty number

          Minimum quantity required for establishing a Fair Price from order book data

        • fair_multiplier number
        • insurance_percentage number
        • index_price_update_interval number

          Milliseconds between each Index Price update

        • index_price_exclude_threshold number
        • mark_price_max_deviation number
        • mark_price_ema_range number
        • trading_ema_range number
        • trading_max_index_deviation number
        • trading_max_mark_deviation number
        • composite boolean

          Is the market a composite market?

        • use_ema boolean

          Is the market tied to an exponential moving average?

        • call boolean

          Is the market a call option?

        • index_price_ema_range number

          If the market is tied to an exponetial moving average, this number indicates the length of the average.

        • price_multiplier number

          Price Multiplier. Strike Price = Price Multiplier * 100HEMA(Underlier).

        • underlier string

          If the market is an option, this property indicates the underlying asset of the option.

        • status string

          Status of the market

        • active boolean

          Is the market currently active?

        • filters object

          Tick size, minimum quantity, iceberg quantity and maximum position size

          Hide filters attributes Show filters attributes object
          • price object

            Price filter

            Hide price attributes Show price attributes object
            • filter_type string

              Type of filter

            • min_price number

              Minimum price

            • max_price number

              Maximum price

            • tick_size number

              Price tick size

          • qty object

            Quantity filter

            Hide qty attributes Show qty attributes object
            • filter_type string

              Type of filter

            • min_qty number

              Minimum quantity

            • max_qty number

              Maximum quantity

            • tick_size number

              Quantity tick size

          • icebergs object

            Iceberg filter

            Hide icebergs attributes Show icebergs attributes object
            • filter_type string

              Type of filter

            • min_qty number

              Minimum quantity

            • max_qty number

              Maximum quantity

            • tick_size number

              Iceberg tick size

          • interest object

            Position size filter

            Hide interest attributes Show interest attributes object
            • filter_type string

              Type of filter

            • min_qty number

              Minimum position size

            • max_qty number

              Maximum position size

            • tick_size number

              Position size tick size

  • 503 application/json

    Error

    Hide response attributes Show response attributes object
    • code integer
    • msg string
    • result object
GET /pairs
curl \
 --request GET 'https://api.testnet.everstrike.io/pairs'
Response examples (200)
{
  "code": 200,
  "msg": "null",
  "result": {
    "USD_BTCCALL_PERP": [
      {
        "key": "USD_BTCCALL_PERP",
        "url": "https://en.wikipedia.org/wiki/Bitcoin",
        "base": "USD",
        "call": true,
        "quote": "BTC",
        "active": true,
        "status": "TRADING",
        "symbol": "BTCCALL90/USD",
        "filters": {
          "qty": {
            "max_qty": 50000,
            "min_qty": 0.001,
            "tick_size": 1e-05,
            "filter_type": "LOT_SIZE"
          },
          "price": {
            "max_price": 100000,
            "min_price": 0.001,
            "tick_size": 1e-05,
            "filter_type": "PRICE_FILTER"
          },
          "icebergs": {
            "max_qty": 10,
            "min_qty": 1,
            "tick_size": 1,
            "filter_type": "ICEBERG"
          },
          "interest": {
            "max_qty": 0.1,
            "min_qty": 0,
            "tick_size": 1e-05,
            "filter_type": "INTEREST"
          }
        },
        "use_ema": true,
        "website": "https://bitcoin.org",
        "category": "call",
        "contract": "PERP",
        "explorer": "https://www.blockchain.com/explore",
        "fair_qty": 0.001,
        "composite": false,
        "subreddit": "bitcoin",
        "underlier": "BTC",
        "usd_price": 3843.01040541,
        "issue_time": 1225494000,
        "description": "BTC Perpetual Call Option (+10%)",
        "funding_max": 1,
        "funding_min": -1,
        "issue_price": 0.0025,
        "order_types": [
          "MARKET",
          "LIMIT"
        ],
        "introduction": "BTC call option. The strike of the option is pinned to the 100-hour EMA of BTC (+10%). The option never expires.",
        "total_supply": 21000000,
        "min_liquidate": 500,
        "base_precision": 18,
        "swap_threshold": 0.5,
        "fair_multiplier": 0.01,
        "precision_asset": "BTC",
        "quote_precision": 12,
        "commission_maker": 0,
        "commission_taker": 0.0003,
        "funding_interval": 3600000,
        "price_multiplier": 1.1,
        "funding_threshold": 0.0005,
        "trading_ema_range": 30,
        "initial_risk_limit": 1e-06,
        "min_initial_margin": 1,
        "tv_price_precision": 1,
        "funding_time_window": 36000000,
        "index_price_hit_api": true,
        "liquidate_threshold": 0.1,
        "tv_volume_precision": 4,
        "deleverage_threshold": 0,
        "insurance_percentage": 1,
        "mark_price_ema_range": 5,
        "index_price_ema_range": 100,
        "qty_display_precision": 4,
        "base_display_precision": 2,
        "commission_liquidation": 0.0003,
        "maintenance_risk_limit": 5e-07,
        "min_maintenance_margin": 0.5,
        "quote_display_precision": 1,
        "mark_price_max_deviation": 0.5,
        "trading_max_mark_deviation": 0.5,
        "index_price_update_interval": 4000,
        "trading_max_index_deviation": 0.5,
        "index_price_exclude_threshold": 4
      }
    ]
  }
}
Response examples (503)
{
  "code": 503,
  "msg": "Invalid request",
  "result": {}
}