tickers()
tickers(params?: { exchange?: string }): Promise<ApiResponse>
Get list of available futures contracts.
Example
const tickers = await client.futures.tickers({ exchange: 'CME' });
ticker()
ticker(ticker: string): Promise<ApiResponse>
Get detailed information for a specific futures contract.
Example
const info = await client.futures.ticker('ES');
prices()
prices(ticker: string, params?: { from?: string, to?: string, frame?: string }): Promise<ApiResponse>
Get historical price data for a futures contract.
Start date for price history
End date for price history
Time frame (e.g., “1d”, “1h”)
Example
const prices = await client.futures.prices('ES', {
from: '2024-01-01',
frame: '1d'
});