This commit is contained in:
hackerESQ
2024-08-26 21:34:23 -05:00
parent 2b384758ff
commit 690a373b85
@@ -3,7 +3,7 @@
namespace App\Interfaces\MarketData; namespace App\Interfaces\MarketData;
use Illuminate\Support\Collection; use Illuminate\Support\Collection;
use Scheb\YahooFinanceApi\ApiClientFactory; use Scheb\YahooFinanceApi\ApiClientFactory as YahooFinance;
class YahooMarketData implements MarketDataInterface class YahooMarketData implements MarketDataInterface
{ {
@@ -12,7 +12,7 @@ class YahooMarketData implements MarketDataInterface
public function __construct() { public function __construct() {
// create yahoo finance client factory // create yahoo finance client factory
$this->client = ApiClientFactory::createApiClient(); $this->client = YahooFinance::createApiClient();
} }
public function exists(String $symbol): Bool public function exists(String $symbol): Bool