', 0) ->select(['symbol']) ->distinct() ->get(); foreach ($holdings as $holding) { $this->line('Refreshing ' . $holding->symbol); MarketData::getMarketData($holding->symbol); } } }