node-yahoo-finance2
node-yahoo-finance2 copied to clipboard
chart api fails when stock ticker contains a period such as BRK.B
Bug Report
Describe the bug
api fails when stock ticker contains a period such as BRK.B
Minimal Reproduction
await yfinance.chart('BRK.B', { period1: new Date(), period2: new Date() - 100, interval: '1d' });
Environment
Browser or Node: node
Node version (if applicable): latest LTS version
Npm version:
Browser verion (if applicable):
Library version (e.g. 1.10.1):