Spaces:
Paused
Paused
feat: Establish initial Munger Engine framework with functional requirements, S&P 500 data fetching, and core stock analysis scripts.
f89d1ea Download scripts/debug_yf.ts from dromerosm/munger-engine: direct link, hf CLI and curl.
- Browser
- Download file 270 Bytes
-
https://huggingface.co/spaces/dromerosm/munger-engine/resolve/main/scripts/debug_yf.ts
- Command line
-
hf download hf://spaces/dromerosm/munger-engine/scripts/debug_yf.ts
-
curl -L -o debug_yf.ts https://huggingface.co/spaces/dromerosm/munger-engine/resolve/main/scripts/debug_yf.ts
270 Bytes
| 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); | |
| } | |