LogoLogo
  • Kaiko Knowledge Hub
  • General
    • 👋Introduction
    • ℹ️General information
      • Response codes
      • API Key
      • Parameter patterns
      • Rate limiting
    • 🏎️Quick-Start Guides
      • Quick-Start: Python
      • Quick-Start: cURL
  • Data Feeds
    • Introduction
    • Level 1 & Level 2 Data
      • Level 1 Aggregations
        • OHLCV
        • VWAP
      • Level 1 Tick-Level
        • All trades
        • Best bids and asks (top of book)
      • Level 2 Tick-Level
        • Bids and asks
    • Reference Data
      • Derivatives pricing
  • Analytics Solutions
    • Kaiko Best Execution
    • Kaiko Fair Market Value
      • Kaiko Fair Market Value (high liquidity pairs)
      • Kaiko Fair Market Value (low liquidity pairs)
    • Kaiko Derivatives Risk Indicators
      • Exchange-provided metrics
  • Legacy endpoints
    • Aggregated Quotes (v1)
    • OHLCV Candles (v1)
    • Trades (v1)
    • VWAP (v1)
    • Bids and asks: Market Update
  • BETA ENDPOINTS
    • Implied Volatility SVI (Closed Beta)
Powered by GitBook
On this page
  • Cartesian Product of Patterns
  • Union of Patterns

Was this helpful?

Export as PDF
  1. General
  2. General information

Parameter patterns

Cartesian Product of Patterns

If the params lists contain more than one element, the resulting pattern will be constructed as a cartesian product of each element of the lists, i.e:

pattern = exchange1,exchange2:instrument_class:instrument1,instrument2

will be equivalent to the union of 4 patterns:

  • pattern1 = exchange1:instrument_class:instrument1

  • pattern2 = exchange1:instrument_class:instrument2

  • pattern3 = exchange2:instrument_class:instrument1

  • pattern4 = exchange2:instrument_class:instrument

Union of Patterns

Multiple patterns can also be combined with the + operator: where:

pattern = pattern1+pattern2

  • pattern1 = <exchange1>:<instrument_class1>:<instrument1>

  • pattern2 = <exchange2>:<instrument_class2>:<instrument2>

PreviousAPI KeyNextRate limiting

Last updated 9 months ago

Was this helpful?

ℹ️