fix:remove tagging from caches to enable dynamo db
This commit is contained in:
@@ -20,8 +20,8 @@ class AlphaVantageMarketData implements MarketDataInterface
|
||||
$quote = Alphavantage::core()->quoteEndpoint($symbol);
|
||||
$quote = Arr::get($quote, 'Global Quote', []);
|
||||
|
||||
$fundamental = cache()->tags(['quote', 'alpha-vantage', $symbol])->remember(
|
||||
'symbol-'.$symbol,
|
||||
$fundamental = cache()->remember(
|
||||
'av-symbol-'.$symbol,
|
||||
1440,
|
||||
function () use ($symbol) {
|
||||
return Alphavantage::fundamentals()->overview($symbol);
|
||||
|
||||
@@ -30,8 +30,8 @@ class FinnhubMarketData implements MarketDataInterface
|
||||
|
||||
$quote = $this->client->quote($symbol);
|
||||
|
||||
$fundamental = cache()->tags(['quote', 'finnhub', $symbol])->remember(
|
||||
'symbol-'.$symbol,
|
||||
$fundamental = cache()->remember(
|
||||
'fh-symbol-'.$symbol,
|
||||
1440,
|
||||
function () use ($symbol) {
|
||||
return $this->client->companyBasicFinancials($symbol, "all");
|
||||
|
||||
Reference in New Issue
Block a user