Aquanow CAMS v1.0 (Updated)
  • Welcome
  • Security
    • OAuth2.0
    • API Limits
  • Pagination
  • Webhooks
    • Onboarding
    • Settlements
    • Reports
    • Order
    • Execution
    • Document
  • Market Data
    • Websocket
    • Rest API
      • OHLC
  • API reference
    • Customers
      • Docs
      • Configuration
    • Trades
      • RFQ
    • Orders
    • Executions
    • Settlements
    • Transactions
    • Accounts
      • Credit
      • Balances
      • Configuration
      • Performance
    • Instruments
      • Pairs
      • Assets
    • Custody
      • Balances
      • Allocation
    • Files
    • Webhook
  • Change Log
  • Specification
  • User Guide
    • View Customers
      • Customer Onboarding
      • Upload Onboarding Docs
      • View Customer Account Balances
      • Customer Risk Groups
    • View Customer Trade Activity
    • Manage Team Members
Powered by GitBook
On this page
  1. Market Data
  2. Rest API

OHLC

Historical OHLC for last 3 months for each symbol, startTime, endTime

PreviousRest APINextAPI reference

Last updated 5 months ago

Retrieve Historical OHLC Data

get

Retrieve historical OHLC (Open, High, Low, Close) data to construct a historical trend view. Use startTime and endTime to set the date and time range for the data pull in the request. The response will include a respective number of JSON objects, each representing a 1-minute bar. Data is available up to the last 3 months.

Authorizations
Query parameters
symbolstringRequired

Trade pair

startTimeinteger · int64Optional

Epoch time for the start of the date/time range

endTimeinteger · int64Optional

Epoch time for the end of the date/time range

Responses
200
A list of historical OHLC data
application/json
400
Validation Error
application/json
401
Unauthorized
application/json
get
GET /v2/historical HTTP/1.1
Host: marketdata.aquanow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "symbol": "BTC-USD",
    "itemDateTime": 171995040000,
    "date": 1719878400000,
    "high": "61899.380566",
    "low": "61813.724947",
    "close": "61871.36912262",
    "open": "61804.3485625"
  }
]