quan-api

부분 유료
분류별 kacem bouden | 업데이트됨 hace 2 meses | Data
인기

0.2 / 10

지연 시간

109ms

서비스 수준

0%

Health Check

N/A

모든 자습서로 돌아가기 (3)

## Endpoints

1. OHLC Data

Endpoint:

/api/ohlc/<symbol>/<timeframe>

Parameters:

  • symbol: The financial item symbol.
  • timeframe: The desired timeframe for OHLC data.

Query Parameters:

  • last: (Optional) Number of last data points to retrieve.
  • since: (Optional) Start date and time for historical data (YYYY-MM-DD-HH).
  • to: (Optional) End date and time for historical data (YYYY-MM-DD-HH).

Example Usage:

  • Retrieve last 100 data points: /api/ohlc/BTCUSD/H1?last=100
  • Retrieve data from specific date range: /api/ohlc/EURUSD/D1?since=2023-01-01-00&to=2024-01-01-00

2. Tick Data

Endpoint:

/api/tick/<symbol>

Parameters:

  • symbol: The financial item symbol.

Query Parameters:

  • last: (Optional) Number of last tick data points to retrieve.
  • since: (Optional) Start date and time for historical data (YYYY-MM-DD-HH).
  • to: (Optional) End date and time for historical data (YYYY-MM-DD-HH).

Example Usage:

  • Retrieve last 50 tick data points: /api/tick/GOLD?last=50
  • Retrieve tick data from specific date range: /api/tick/BTCUSD?since=2023-01-01-00&to=2024-01-01-00