tickers()
tickers(params?: { country?: string, exchange?: string }): Promise<ApiResponse>
Get list of available forex pairs.
Example
const tickers = await client.forex.tickers();
ticker()
ticker(ticker: string): Promise<ApiResponse>
Get detailed information for a specific forex pair.
Forex pair symbol (e.g., “EUR/USD”)
Example
const info = await client.forex.ticker('EUR/USD');
prices()
prices(ticker: string, params?: { from?: string, to?: string, frame?: string }): Promise<ApiResponse>
Get historical exchange rate data for a forex pair.
Start date for rate history
End date for rate history
Time frame (e.g., “1d”, “1h”)
Example
const rates = await client.forex.prices('EUR/USD', {
from: '2024-01-01',
frame: '1d'
});