sstrickx / yahoofinance-api

Java Client API for Yahoo Finance
MIT License
507 stars 222 forks source link

Only get one day of history for ENT.L symbol #174

Open ik9999 opened 3 years ago

ik9999 commented 3 years ago

Code:

      Stock tesla = YahooFinance.get("ENT.L", true);
      List<HistoricalQuote> teslaHistQuotes = tesla.getHistory();
      for (HistoricalQuote histQuote : teslaHistQuotes) {
        System.out.println(histQuote);
      }

Output:

ENT.L@2021-01-22: 1249.500000-1288.500000, 1269.000000->1280.000000 (1280.000000)

There are much more candles for ENT.L on yahoo finance website.