make dividend yield a percentage

This commit is contained in:
hackerESQ
2024-09-05 20:23:41 -05:00
parent 6f6f957dd7
commit c8467b94ce
2 changed files with 5 additions and 2 deletions
@@ -40,7 +40,7 @@ class YahooMarketData implements MarketDataInterface
'market_cap' => $quote->getMarketCap(),
'book_value' => $quote->getBookValue(),
'last_dividend_date' => $quote->getDividendDate(),
'dividend_yield' => $quote->getTrailingAnnualDividendYield()
'dividend_yield' => $quote->getTrailingAnnualDividendYield() * 100
]);
}