munger-engine / scripts /debug_yf.ts
dromero-nttd's picture
feat: Establish initial Munger Engine framework with functional requirements, S&P 500 data fetching, and core stock analysis scripts.
f89d1ea
import yahooFinance from 'yahoo-finance2';
console.log('Type:', typeof yahooFinance);
console.log('Value:', yahooFinance);
try {
const result = await yahooFinance.quote('AAPL');
console.log('Success:', result);
} catch(e) {
console.error('Error:', e.message);
}