tickers()
tickers(params?: { exchange?: string }): Promise<ApiResponse>
Get list of available market indices.
Example
const tickers = await client.indices.tickers();
ticker()
ticker(ticker: string): Promise<ApiResponse>
Get detailed information for a specific index.
Index symbol (e.g., “SPX”)
Example
const info = await client.indices.ticker('SPX');
prices()
prices(ticker: string, params?: { from?: string, to?: string, frame?: string }): Promise<ApiResponse>
Get historical values for a market index.
Start date for index history
End date for index history
Time frame (e.g., “1d”, “1h”)
Example
const values = await client.indices.prices('SPX', {
from: '2024-01-01',
frame: '1d'
});