const bars = await client.chart.getHistoricalBars({
symbol: 'AAPL',
fromDate: '2025-01-01',
toDate: '2025-01-15',
resolution: '1D'
});
bars.forEach(bar => {
console.log(`${bar.timestamp}: O:${bar.open} H:${bar.high} L:${bar.low} C:${bar.close} V:${bar.volume}`);
});