QuantJourney API

QuantJourney API as documented publicly: 21 operations. Contract generated from the documentation by API Evangelist (2026-11-22); not the provider's own document.

GitHub OpenAPI

Operations 21

GET /api/fundamentals/AAPL.US GET /api/fundamentals/AAPL.US #
POST /d/equity.market.get_quote Explore the API #
POST /d/equity.pricing.get_prices Explore the API #
POST /d/macro.us.get_cpi The HTTP operation is: #
GET /health Synthetic Check: GET /health every 60s (UptimeRobot) #
GET /market-data/crypto/{symbol}/quote Get Crypto Quote #
GET /market-data/forex/{pair}/quote Get Currency Quote #
GET /market-data/options/{symbol}/chain Get Options Chain #
POST /market-data/stocks/quotes Retrieve quotes for multiple stocks in a single request. #
GET /market-data/stocks/{symbol}/history Retrieve historical price data for a stock symbol. #
GET /market-data/stocks/{symbol}/indicators Get Technical Analysis #
GET /market-data/stocks/{symbol}/quote Retrieve the latest quote for a specific stock symbol. #
POST /trading/orders Quick start tutorial #
POST /v1/query/sec-company-identity POST /v1/query/sec-company-identity #
GET /v2/market-data/crypto/BTC/quote GET /v2/market-data/crypto/BTC/quote #
GET /v2/market-data/forex/EURUSD/quote GET /v2/market-data/forex/EURUSD/quote #
GET /v2/market-data/options/AAPL/chain GET /v2/market-data/options/AAPL/chain #
GET /v2/market-data/stocks/AAPL GET /v2/market-data/stocks/AAPL #
GET /v2/market-data/stocks/AAPL/history GET /v2/market-data/stocks/AAPL/history #
GET /v2/market-data/stocks/AAPL/indicators GET /v2/market-data/stocks/AAPL/indicators #
GET /v2/market-data/stocks/AAPL/quote GET /v2/market-data/stocks/AAPL/quote #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/quantjourney-cloud:quantjourney-cloud-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

quantjourney-cloud-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: QuantJourney API
  version: '2026-11-22'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-22: 21 operation(s) read from 6 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; QuantJourney has published no machine-readable contract that
    the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 9
    documentation: 12
    pages-with-code: 4
    pages-read: 6
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-22'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://docs.quantjourney.cloud/api-reference/market-data
  - https://api.quantjourney.cloud
  - https://docs.quantjourney.cloud/getting-started
  - https://api.quantjourney.cloud/agents
  - https://api.quantjourney.cloud/sdk
  - https://api.quantjourney.cloud/status
servers:
- url: https://agents.quantjourney.cloud
paths:
  /api/fundamentals/AAPL.US:
    get:
      operationId: get_api_fundamentals_AAPL_US
      tags:
      - Api
      summary: GET /api/fundamentals/AAPL.US
      x-source: https://api.quantjourney.cloud
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: python
        snippet: "requests.get(\n \"https://eodhd.com/api/fundamentals/AAPL.US\" ,\n params={ \"api_token\" : EOD}, timeout=20)"
  /d/equity.market.get_quote:
    post:
      operationId: post_d_equity_market_get_quote
      tags:
      - D
      summary: Explore the API
      x-source: https://api.quantjourney.cloud
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostDEquityMarketGetQuoteRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostDEquityMarketGetQuoteResponse'
      x-evidence:
        kind: documentation
  /d/equity.pricing.get_prices:
    post:
      operationId: post_d_equity_pricing_get_prices
      tags:
      - D
      summary: Explore the API
      x-source: https://api.quantjourney.cloud
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostDEquityPricingGetPricesRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostDEquityPricingGetPricesResponse'
      x-evidence:
        kind: documentation
  /d/macro.us.get_cpi:
    post:
      operationId: post_d_macro_us_get_cpi
      tags:
      - D
      summary: 'The HTTP operation is:'
      x-source: https://api.quantjourney.cloud/sdk
      parameters:
      - name: provider
        in: query
        required: true
        schema:
          type: string
        description: Data provider, e.g., "bls"
      - name: category
        in: query
        required: false
        schema:
          type: string
        description: CPI category, e.g., "all"
      - name: seasonally_adjusted
        in: query
        required: false
        schema:
          type: boolean
        description: Whether to return seasonally adjusted values
      - name: start_year
        in: query
        required: false
        schema:
          type: integer
        description: Starting year for CPI data
      - name: end_year
        in: query
        required: false
        schema:
          type: integer
        description: Ending year for CPI data
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /health:
    get:
      operationId: get_health
      tags:
      - Health
      summary: 'Synthetic Check: GET /health every 60s (UptimeRobot)'
      x-source: https://api.quantjourney.cloud/status
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /market-data/crypto/{symbol}/quote:
    get:
      operationId: get_market_data_crypto_symbol_quote
      tags:
      - Market Data
      summary: Get Crypto Quote
      x-source: https://docs.quantjourney.cloud/api-reference/market-data
      parameters:
      - name: symbol
        in: path
        required: true
        schema:
          type: string
      - name: vs_currency
        in: query
        required: false
        schema:
          type: string
        description: 'Quote currency (default: USD)'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetMarketDataCryptoSymbolQuoteResponse'
      x-evidence:
        kind: documentation
  /market-data/forex/{pair}/quote:
    get:
      operationId: get_market_data_forex_pair_quote
      tags:
      - Market Data
      summary: Get Currency Quote
      x-source: https://docs.quantjourney.cloud/api-reference/market-data
      parameters:
      - name: pair
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetMarketDataForexPairQuoteResponse'
      x-evidence:
        kind: documentation
  /market-data/options/{symbol}/chain:
    get:
      operationId: get_market_data_options_symbol_chain
      tags:
      - Market Data
      summary: Get Options Chain
      x-source: https://docs.quantjourney.cloud/api-reference/market-data
      parameters:
      - name: symbol
        in: path
        required: true
        schema:
          type: string
      - name: expiration
        in: query
        required: false
        schema:
          type: string
        description: Expiration date (YYYY-MM-DD)
      - name: strike
        in: query
        required: false
        schema:
          type: number
        description: Strike price filter
      - name: option_type
        in: query
        required: false
        schema:
          type: string
        description: call, put, or both (default)
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetMarketDataOptionsSymbolChainResponse'
      x-evidence:
        kind: documentation
  /market-data/stocks/quotes:
    post:
      operationId: post_market_data_stocks_quotes
      tags:
      - Market Data
      summary: Retrieve quotes for multiple stocks in a single request.
      x-source: https://docs.quantjourney.cloud/api-reference/market-data
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostMarketDataStocksQuotesRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostMarketDataStocksQuotesResponse'
      x-evidence:
        kind: documentation
  /market-data/stocks/{symbol}/history:
    get:
      operationId: get_market_data_stocks_symbol_history
      tags:
      - Market Data
      summary: Retrieve historical price data for a stock symbol.
      x-source: https://docs.quantjourney.cloud/api-reference/market-data
      parameters:
      - name: symbol
        in: path
        required: true
        schema:
          type: string
      - name: period
        in: query
        required: false
        schema:
          type: string
        description: Time period (1d,5d,1mo,3mo,6mo,1y,2y,5y,10y,ytd,max)
      - name: interval
        in: query
        required: false
        schema:
          type: string
        description: Data interval (1m,2m,5m,15m,30m,60m,90m,1h,1d,5d,1wk,1mo,3mo)
      - name: adjust
        in: query
        required: false
        schema:
          type: boolean
        description: Whether to adjust for splits and dividends
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetMarketDataStocksSymbolHistoryResponse'
      x-evidence:
        kind: documentation
  /market-data/stocks/{symbol}/indicators:
    get:
      operationId: get_market_data_stocks_symbol_indicators
      tags:
      - Market Data
      summary: Get Technical Analysis
      x-source: https://docs.quantjourney.cloud/api-reference/market-data
      parameters:
      - name: symbol
        in: path
        required: true
        schema:
          type: string
      - name: indicators
        in: query
        required: true
        schema:
          type: string
        description: Comma-separated list of indicators
      - name: period
        in: query
        required: false
        schema:
          type: integer
        description: 'Period for calculation (default: 14)'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetMarketDataStocksSymbolIndicatorsResponse'
      x-evidence:
        kind: documentation
  /market-data/stocks/{symbol}/quote:
    get:
      operationId: get_market_data_stocks_symbol_quote
      tags:
      - Market Data
      summary: Retrieve the latest quote for a specific stock symbol.
      x-source: https://docs.quantjourney.cloud/api-reference/market-data
      parameters:
      - name: symbol
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetMarketDataStocksSymbolQuoteResponse'
      x-evidence:
        kind: documentation
  /trading/orders:
    post:
      operationId: post_trading_orders
      tags:
      - Trading
      summary: Quick start tutorial
      x-source: https://docs.quantjourney.cloud/getting-started
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostTradingOrdersRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostTradingOrdersResponse'
      x-evidence:
        kind: documentation
  /v1/query/sec-company-identity:
    post:
      operationId: post_v1_query_sec_company_identity
      tags:
      - Query
      summary: POST /v1/query/sec-company-identity
      x-source: https://api.quantjourney.cloud/agents
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1QuerySecCompanyIdentityRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -sS -X POST  "https://agents.quantjourney.cloud/v1/query/sec-company-identity"  -H "Content-Type: application/json"  -d
          ''{"query":"AAPL"}'''
  /v2/market-data/crypto/BTC/quote:
    get:
      operationId: get_v2_market_data_crypto_BTC_quote
      tags:
      - Market Data
      summary: GET /v2/market-data/crypto/BTC/quote
      x-source: https://docs.quantjourney.cloud/api-reference/market-data
      parameters:
      - name: vs_currency
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV2MarketDataCryptoBtcQuoteResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -H \"Authorization: Bearer YOUR_API_KEY\"  \"https://api.quantjourney.com/v2/market-data/crypto/BTC/quote?vs_currency=USD\"\
          \ \n Example Response \n { \n \"symbol\" : \"BTC\" , \n \"name\" : \"Bitcoin\" , \n \"price\" : 42847.92 , \n \"change_24h\" : 1247.83\
          \ , \n \"change_percent_24h\" : 3.01 , \n \"volume_24h\" : 23847293847 , \n \"market_cap\" : 847293847293 , \n \"circulating_supply\"\
          \ : 19789234 , \n \"total_supply\" : 21000000"
  /v2/market-data/forex/EURUSD/quote:
    get:
      operationId: get_v2_market_data_forex_EURUSD_quote
      tags:
      - Market Data
      summary: GET /v2/market-data/forex/EURUSD/quote
      x-source: https://docs.quantjourney.cloud/api-reference/market-data
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV2MarketDataForexEurusdQuoteResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -H \"Authorization: Bearer YOUR_API_KEY\"  \"https://api.quantjourney.com/v2/market-data/forex/EURUSD/quote\" \n Example\
          \ Response \n { \n \"pair\" : \"EURUSD\" , \n \"bid\" : 1.0847 , \n \"ask\" : 1.0849 , \n \"spread\" : 0.0002 , \n \"change_24h\" :\
          \ 0.0012 , \n \"change_percent_24h\" : 0.11 , \n \"timestamp\" : \"2024-12-20T21:00:00Z\" \n } \n Options Data \n Get Options Chain\
          \ \n GET /market-data/options/{symbol}/chain\n Param"
  /v2/market-data/options/AAPL/chain:
    get:
      operationId: get_v2_market_data_options_AAPL_chain
      tags:
      - Market Data
      summary: GET /v2/market-data/options/AAPL/chain
      x-source: https://docs.quantjourney.cloud/api-reference/market-data
      parameters:
      - name: expiration
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV2MarketDataOptionsAaplChainResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -H \"Authorization: Bearer YOUR_API_KEY\"  \"https://api.quantjourney.com/v2/market-data/options/AAPL/chain?expiration=2024-01-19\"\
          \ \n Example Response \n { \n \"symbol\" : \"AAPL\" , \n \"expiration\" : \"2024-01-19\" , \n \"calls\" : [ \n { \n \"strike\" : 180.0\
          \ , \n \"last_price\" : 5.45 , \n \"bid\" : 5.30 , \n \"ask\" : 5.60 , \n \"volume\" : 2847 , \n \"open_interest\" : 15847 , \n \"implied_volatility\"\
          \ : 0.234 , \n \"delta\" : "
  /v2/market-data/stocks/AAPL:
    get:
      operationId: get_v2_market_data_stocks_AAPL
      tags:
      - Market Data
      summary: GET /v2/market-data/stocks/AAPL
      x-source: https://docs.quantjourney.cloud/getting-started
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV2MarketDataStocksAaplResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -H \"Authorization: Bearer YOUR_API_KEY\"  https://api.quantjourney.com/v2/market-data/stocks/AAPL\n Rate Limits \n Free\
          \ tier : 1,000 requests per hour \n Pro tier : 10,000 requests per hour \n Enterprise : Custom limits \n Rate limit information is included\
          \ in response headers: \n X-RateLimit-Limit : 1000 \n X-RateLimit-Remaining : 999 \n X-RateLimit-Reset : 1640995200 \n Quick Start Tutorial\
          \ \n Let’s w"
  /v2/market-data/stocks/AAPL/history:
    get:
      operationId: get_v2_market_data_stocks_AAPL_history
      tags:
      - Market Data
      summary: GET /v2/market-data/stocks/AAPL/history
      x-source: https://docs.quantjourney.cloud/api-reference/market-data
      parameters:
      - name: interval
        in: query
        required: false
        schema:
          type: string
      - name: period
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV2MarketDataStocksAaplHistoryResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -H \"Authorization: Bearer YOUR_API_KEY\"  \"https://api.quantjourney.com/v2/market-data/stocks/AAPL/history?period=1mo&interval=1d\"\
          \ \n Example Response \n { \n \"symbol\" : \"AAPL\" , \n \"period\" : \"1mo\" , \n \"interval\" : \"1d\" , \n \"data\" : [ \n { \n \"\
          timestamp\" : \"2024-11-20T14:30:00Z\" , \n \"open\" : 180.25 , \n \"high\" : 182.91 , \n \"low\" : 179.87 , \n \"close\" : 182.52 ,\
          \ \n \"volume\" : 45234567 , \n \"adj_close\" :"
  /v2/market-data/stocks/AAPL/indicators:
    get:
      operationId: get_v2_market_data_stocks_AAPL_indicators
      tags:
      - Market Data
      summary: GET /v2/market-data/stocks/AAPL/indicators
      x-source: https://docs.quantjourney.cloud/api-reference/market-data
      parameters:
      - name: indicators
        in: query
        required: false
        schema:
          type: string
      - name: period
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV2MarketDataStocksAaplIndicatorsResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -H \"Authorization: Bearer YOUR_API_KEY\"  \"https://api.quantjourney.com/v2/market-data/stocks/AAPL/indicators?indicators=sma,rsi,macd&period=14\"\
          \ \n Example Response \n { \n \"symbol\" : \"AAPL\" , \n \"indicators\" : { \n \"sma\" : { \n \"value\" : 178.92 , \n \"period\" : 14\
          \ \n } , \n \"rsi\" : { \n \"value\" : 67.34 , \n \"period\" : 14 , \n \"signal\" : \"neutral\" \n } , \n \"macd\" : { \n \"macd\" :\
          \ 2.47 , \n \"signal\" : 1.83 , \n "
  /v2/market-data/stocks/AAPL/quote:
    get:
      operationId: get_v2_market_data_stocks_AAPL_quote
      tags:
      - Market Data
      summary: GET /v2/market-data/stocks/AAPL/quote
      x-source: https://docs.quantjourney.cloud/api-reference/market-data
      responses:
        '200':
          description: Success (shape read from the example response on the page)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV2MarketDataStocksAaplQuoteResponse'
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -H \"Authorization: Bearer YOUR_API_KEY\"  \"https://api.quantjourney.com/v2/market-data/stocks/AAPL/quote\" \n Example\
          \ Response \n { \n \"symbol\" : \"AAPL\" , \n \"name\" : \"Apple Inc.\" , \n \"price\" : 182.52 , \n \"change\" : 1.84 , \n \"change_percent\"\
          \ : 1.02 , \n \"volume\" : 45234567 , \n \"market_cap\" : 2847392847392 , \n \"pe_ratio\" : 28.4 , \n \"day_high\" : 183.91 , \n \"\
          day_low\" : 180.12 , \n \"week_52_high\" : 198.2"
components:
  schemas:
    PostDEquityMarketGetQuoteRequest:
      type: object
      properties:
        symbol:
          type: string
      required:
      - symbol
    PostDEquityMarketGetQuoteResponse:
      type: object
      properties:
        data:
          type: object
        meta:
          type: object
          description: contains provider and request_id
        meta.provider:
          type: string
        meta.request_id:
          type: string
        warnings:
          type: array
    PostDEquityPricingGetPricesRequest:
      type: object
      properties:
        symbol:
          type: string
      required:
      - symbol
    PostDEquityPricingGetPricesResponse:
      type: object
      properties:
        data:
          type: object
        meta:
          type: object
          description: contains provider and request_id
        meta.provider:
          type: string
        meta.request_id:
          type: string
        warnings:
          type: array
    GetMarketDataCryptoSymbolQuoteResponse:
      type: object
      properties:
        symbol:
          type: string
        name:
          type: string
        price:
          type: number
        change_24h:
          type: number
        change_percent_24h:
          type: number
        volume_24h:
          type: integer
        market_cap:
          type: integer
        circulating_supply:
          type: integer
        total_supply:
          type: integer
        ath:
          type: number
        ath_date:
          type: string
        timestamp:
          type: string
    GetMarketDataForexPairQuoteResponse:
      type: object
      properties:
        pair:
          type: string
        bid:
          type: number
        ask:
          type: number
        spread:
          type: number
        change_24h:
          type: number
        change_percent_24h:
          type: number
        timestamp:
          type: string
    GetMarketDataOptionsSymbolChainResponse:
      type: object
      properties:
        symbol:
          type: string
        expiration:
          type: string
        calls:
          type: array
        puts:
          type: array
    PostMarketDataStocksQuotesRequest:
      type: object
      properties:
        symbols:
          type: array
          description: List of stock symbols
        fields:
          type: array
          description: List of fields to return
      required:
      - symbols
      - fields
    PostMarketDataStocksQuotesResponse:
      type: object
      properties:
        quotes:
          type: object
          description: Map of symbol to quote data
        timestamp:
          type: string
    GetMarketDataStocksSymbolHistoryResponse:
      type: object
      properties:
        symbol:
          type: string
        period:
          type: string
        interval:
          type: string
        data:
          type: array
          description: Array of price objects
        meta:
          type: object
    GetMarketDataStocksSymbolIndicatorsResponse:
      type: object
      properties:
        symbol:
          type: string
        indicators:
          type: object
        timestamp:
          type: string
    GetMarketDataStocksSymbolQuoteResponse:
      type: object
      properties:
        symbol:
          type: string
        name:
          type: string
        price:
          type: number
        change:
          type: number
        change_percent:
          type: number
        volume:
          type: integer
        market_cap:
          type: integer
        pe_ratio:
          type: number
        day_high:
          type: number
        day_low:
          type: number
        week_52_high:
          type: number
        week_52_low:
          type: number
        timestamp:
          type: string
        market_status:
          type: string
    PostTradingOrdersRequest:
      type: object
      properties:
        symbol:
          type: string
          description: Ticker symbol, e.g., AAPL
        side:
          type: string
          description: '"buy" or "sell"'
        type:
          type: string
          description: Order type, e.g., "market"
        quantity:
          type: number
          description: Number of shares
        paper_trading:
          type: boolean
          description: Enable paper trading
      required:
      - symbol
      - side
      - type
      - quantity
    PostTradingOrdersResponse:
      type: object
      properties:
        id:
          type: string
          description: Order identifier
        status:
          type: string
          description: Order status
    PostV1QuerySecCompanyIdentityRequest:
      type: object
      properties:
        query:
          type: string
    GetV2MarketDataCryptoBtcQuoteResponse:
      type: object
      properties:
        symbol:
          type: string
        name:
          type: string
        price:
          type: number
        change_24h:
          type: number
        change_percent_24h:
          type: number
        volume_24h:
          type: integer
        market_cap:
          type: integer
        circulating_supply:
          type: integer
        total_supply:
          type: integer
        ath:
          type: number
        ath_date:
          type: string
          format: date-time
        timestamp:
          type: string
          format: date-time
    GetV2MarketDataForexEurusdQuoteResponse:
      type: object
      properties:
        pair:
          type: string
        bid:
          type: number
        ask:
          type: number
        spread:
          type: number
        change_24h:
          type: number
        change_percent_24h:
          type: number
        timestamp:
          type: string
          format: date-time
    GetV2MarketDataOptionsAaplChainResponse:
      type: object
      properties:
        symbol:
          type: string
        expiration:
          type: string
          format: date
        calls:
          type: array
          items:
            type: object
            properties:
              strike:
                type: number
              last_price:
                type: number
              bid:
                type: number
              ask:
                type: number
              volume:
                type: integer
              open_interest:
                type: integer
              implied_volatility:
                type: number
              delta:
                type: number
              gamma:
                type: number
              theta:
                type: number
              vega:
                type: number
        puts:
          type: array
          items:
            type: object
            properties:
              strike:
                type: number
              last_price:
                type: number
              bid:
                type: number
              ask:
                type: number
              volume:
                type: integer
              open_interest:
                type: integer
              implied_volatility:
                type: number
              delta:
                type: number
              gamma:
                type: number
              theta:
                type: number
              vega:
                type: number
    GetV2MarketDataStocksAaplResponse:
      type: object
      properties:
        period:
          type: string
        interval:
          type: string
    GetV2MarketDataStocksAaplHistoryResponse:
      type: object
      properties:
        symbol:
          type: string
        period:
          type: string
        interval:
          type: string
        data:
          type: array
          items:
            type: object
            properties:
              timestamp:
                type: string
                format: date-time
              open:
                type: number
              high:
                type: number
              low:
                type: number
              close:
                type: number
              volume:
                type: integer
              adj_close:
                type: number
        meta:
          type: object
          properties:
            currency:
              type: string
            exchange:
              type: string
            exchange_timezone:
              type: string
            total_records:
              type: integer
    GetV2MarketDataStocksAaplIndicatorsResponse:
      type: object
      properties:
        symbol:
          type: string
        indicators:
          type: object
          properties:
            sma:
              type: object
              properties:
                value:
                  type: number
                period:
                  type: integer
            rsi:
              type: object
              properties:
                value:
                  type: number
                period:
                  type: integer
                signal:
                  type: string
            macd:
              type: object
              properties:
                macd:
                  type: number
                signal:
                  type: string
                histogram:
                  type: number
        timestamp:
          type: string
          format: date-time
    GetV2MarketDataStocksAaplQuoteResponse:
      type: object
      properties:
        symbol:
          type: string
        name:
          type: string
        price:
          type: number
        change:
          type: number
        change_percent:
          type: number
        volume:
          type: integer
        market_cap:
          type: integer
        pe_ratio:
          type: number
        day_high:
          type: number
        day_low:
          type: number
        week_52_high:
          type: number
        week_52_low:
          type: number
        timestamp:
          type: string
          format: date-time
        market_status:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Api
- name: D
- name: Health
- name: Market Data
- name: Query
- name: Trading