fix: use requested symbol name for market data providers

This commit is contained in:
hackerESQ
2025-01-28 13:30:12 -06:00
parent 53ebe28b14
commit c32641ec34
3 changed files with 6 additions and 2 deletions
@@ -35,7 +35,7 @@ class YahooMarketData implements MarketDataInterface
return new Quote([
'name' => $quote->getLongName() ?? $quote->getShortName(),
'symbol' => $quote->getSymbol(),
'symbol' => $symbol,
'market_value' => $quote->getRegularMarketPrice(),
'fifty_two_week_high' => $quote->getFiftyTwoWeekHigh(),
'fifty_two_week_low' => $quote->getFiftyTwoWeekLow(),