LogoLogo
  • GENERAL
    • About Criptan
    • Get started
      • Introduction
      • 1. Activate your account
      • 2. Add funds to your balance
      • 3. Start interacting with the API
    • API
      • Introduction
      • Authentication
        • Auth Transactions and Earn
          • API Reference
        • Auth Business (Criptan Pay)
      • Real-Time API (WebSockets)
        • OHLCV
        • TICKERS
      • Webhooks
        • Transactions and Earn Webhooks
        • Business Webhooks
      • API reference
      • Changelog
    • Developer tools
      • Sandbox
      • Support
      • Feedback
    • Security
  • Transactions
    • General
      • Overview
      • Available exchange
      • Geographic availability
      • Use cases
        • Buy
          • UX example
        • Sell
          • UX example
        • Send crypto
          • UX example
        • Receive crypto
          • UX example
        • Recurring purchases
          • UX example
        • Check history
      • FAQ
    • API Reference
      • Trades
      • Withdrawals
      • Information
  • Earn
    • General
      • Overview
      • Geographic availability
      • Use cases
        • 3, 6, 12 months
          • Make a deposit
            • UX example
          • Set up auto-renew a deposit automatically
            • UX example
        • Flex
          • Make a deposit
            • UX example
          • Make a withdrawal
            • UX example
          • Cancel a withdrawal
            • UX example
          • Set up reinvest or not rewards
            • UX example
        • Flex and 3, 6, 12 months
          • Receiving Rewards
      • FAQ
    • API Reference
  • Business (Criptan Pay)
    • General
      • Business (Criptan Pay)
      • Onboarding
      • Payment Button
      • Charges
      • FAQ
    • API Reference
      • Charge
      • Generate charge receipt
      • Get payment
    • Types CPay definitions
      • BusinessAccount
      • BusinessCharge
Powered by GitBook
On this page
  1. GENERAL
  2. API
  3. Real-Time API (WebSockets)

OHLCV

Aggregated form of market data standing for Open, High, Low, Close and Volume. For all Criptan assets and for intervals of 1m, 5m, 15m, 1h, 4h, 1d, 1w, 2w.

Message

IMPORTANT: Date attribute stands for bucket last update time and NOT for bucket start time.

{
    "topic": "OHLCV",
    "event": "INSERT" | "MODIFY" | "REMOVE",
    "data": {
        "interval": "1" | "5" | "15" | "60" | "240" | "1440" | "10080" | "21600",
        "open": string,
        "high": string,
        "low": string,
        "close": string,
        "volume": string,
        "count": string,
        "date": "2022-10-29T00:00:00.000Z", //IMPORTANT: bucket last update time, not bucket start time
        "pair": CurrencyPairs, e.g."BTC_EUR"
        "id": string,
    }
}
PreviousReal-Time API (WebSockets)NextTICKERS

Last updated 1 year ago