Skip to content

Releases: Rabbit-Company/RabbitForexAPI

v5.2.2

08 Jan 07:49

Choose a tag to compare

High Risk Security Update:

  • Prevent SQL injection

v5.2.1

08 Jan 07:33

Choose a tag to compare

High Risk Security Update:

  • Prevent SQL injection

v5.2.0

07 Jan 19:45

Choose a tag to compare

Added:

  • clickhouse_response_duration_seconds histogram to /metrics API endpoint

Updated:

  • @clickhouse/client library

v5.1.0

04 Jan 15:54

Choose a tag to compare

Added:

  • Historical currency conversion for price data using time-matched exchange rates
  • 9 new API endpoints for historical data with currency conversion:
    • GET /v1/metals/history/:symbol/currency/:base - Metal history in currency (raw, last 24h)
    • GET /v1/metals/history/:symbol/currency/:base/hourly - Metal history in currency (hourly, last 90d)
    • GET /v1/metals/history/:symbol/currency/:base/daily - Metal history in currency (daily, all time)
    • GET /v1/crypto/history/:symbol/currency/:base - Crypto history in currency (raw, last 24h)
    • GET /v1/crypto/history/:symbol/currency/:base/hourly - Crypto history in currency (hourly, last 90d)
    • GET /v1/crypto/history/:symbol/currency/:base/daily - Crypto history in currency (daily, all time)
    • GET /v1/stocks/history/:symbol/currency/:base - Stock history in currency (raw, last 24h)
    • GET /v1/stocks/history/:symbol/currency/:base/hourly - Stock history in currency (hourly, last 90d)
    • GET /v1/stocks/history/:symbol/currency/:base/daily - Stock history in currency (daily, all time)

How it works:

  1. Fetches asset prices in USD from ClickHouse
  2. Retrieves historical exchange rates for the target currency from the same time periods
  3. Applies the matching historical conversion rate to each data point
  4. Falls back to closest available rate or current rate if no exact match exists

v5.0.0

03 Jan 21:38
b27adc4

Choose a tag to compare

Added:

  • Historical price data storage using ClickHouse
  • Aggregation job that runs every 10 minutes to compute hourly and daily aggregates
  • 12 new API endpoints for historical data:
    • GET /v1/rates/history/:symbol - Currency history (raw, last 24h)
    • GET /v1/rates/history/:symbol/hourly - Currency history (hourly, last 90d)
    • GET /v1/rates/history/:symbol/daily - Currency history (daily, all time)
    • GET /v1/metals/history/:symbol - Metal history (raw, last 24h)
    • GET /v1/metals/history/:symbol/hourly - Metal history (hourly, last 90d)
    • GET /v1/metals/history/:symbol/daily - Metal history (daily, all time)
    • GET /v1/crypto/history/:symbol - Crypto history (raw, last 24h)
    • GET /v1/crypto/history/:symbol/hourly - Crypto history (hourly, last 90d)
    • GET /v1/crypto/history/:symbol/daily - Crypto history (daily, all time)
    • GET /v1/stocks/history/:symbol - Stock history (raw, last 24h)
    • GET /v1/stocks/history/:symbol/hourly - Stock history (hourly, last 90d)
    • GET /v1/stocks/history/:symbol/daily - Stock history (daily, all time)
  • OHLC data (open, high, low, close) for aggregated endpoints
  • Cache-friendly endpoints optimized for external proxy caching

Updated:

  • Health check endpoint now includes historyEnabled status
  • Docker Compose configuration with ClickHouse service
  • Environment variables for ClickHouse configuration

v4.1.0

24 Nov 21:13

Choose a tag to compare

Added:

  • OpenMetrics API endpoint for monitoring number of HTTP requests per API endpoint

v4.0.3

15 Nov 12:51

Choose a tag to compare

Added:

  • Support for stocks
  • Changed source for metals

Updated:

  • Separated metals API endpoint

v3.1.0

09 Nov 15:45

Choose a tag to compare

Updated:

  • Change source for forex and metals

v3.0.1

09 Nov 11:53

Choose a tag to compare

Added:

  • Support for cryptocurrencies

v2.1.0

07 Nov 15:09

Choose a tag to compare

Added:

  • /openapi.json - OpenAPI Specification