diff --git a/src/routes/stocks/[tickerID]/+layout.server.ts b/src/routes/stocks/[tickerID]/+layout.server.ts
index eff1c6ae..3a158178 100644
--- a/src/routes/stocks/[tickerID]/+layout.server.ts
+++ b/src/routes/stocks/[tickerID]/+layout.server.ts
@@ -136,7 +136,6 @@ export const load = async ({ params, locals, cookies, setHeaders}) => {
const promises = [
fetchData(apiURL,apiKey, '/similar-stocks',params.tickerID),
fetchData(apiURL,apiKey, '/stockdeck',params.tickerID),
- fetchData(apiURL,apiKey, '/stock-correlation',params.tickerID),
fetchData(apiURL,apiKey, '/analyst-summary-rating',params.tickerID),
fetchData(apiURL,apiKey, '/stock-quote',params.tickerID),
fetchData(apiURL,apiKey, '/bull-bear-say',params.tickerID),
@@ -151,7 +150,6 @@ export const load = async ({ params, locals, cookies, setHeaders}) => {
const [
getSimilarStock,
getStockDeck,
- getCorrelation,
getAnalystRating,
getStockQuote,
getBullBearSay,
@@ -172,7 +170,6 @@ export const load = async ({ params, locals, cookies, setHeaders}) => {
return {
getSimilarStock,
getStockDeck,
- getCorrelation,
getAnalystRating,
getStockQuote,
getBullBearSay,
diff --git a/src/routes/stocks/[tickerID]/+page.svelte b/src/routes/stocks/[tickerID]/+page.svelte
index f569522f..eb586a71 100644
--- a/src/routes/stocks/[tickerID]/+page.svelte
+++ b/src/routes/stocks/[tickerID]/+page.svelte
@@ -3,7 +3,7 @@
import {AreaSeries, Chart, PriceLine, CandlestickSeries} from 'svelte-lightweight-charts';
import { TrackingModeExitMode } from 'lightweight-charts';
- import {getCache, setCache, dcfComponent, taRatingComponent, swapComponent, analystInsightComponent, governmentContractComponent, optionsNetFlowComponent, impliedVolatilityComponent, borrowedShareComponent, clinicalTrialComponent, optionComponent, failToDeliverComponent, marketMakerComponent, analystEstimateComponent, sentimentComponent, screenWidth, displayCompanyName, numberOfUnreadNotification, globalForm, varComponent, shareStatisticsComponent, enterpriseComponent, darkPoolComponent, retailVolumeComponent, shareholderComponent, trendAnalysisComponent, revenueSegmentationComponent, priceAnalysisComponent, fundamentalAnalysisComponent, isCrosshairMoveActive, realtimePrice, priceIncrease, currentPortfolioPrice, currentPrice, stockTicker, isOpen, isBeforeMarketOpen, isWeekend} from '$lib/store';
+ import {getCache, setCache, correlationComponent, dcfComponent, taRatingComponent, swapComponent, analystInsightComponent, governmentContractComponent, optionsNetFlowComponent, impliedVolatilityComponent, borrowedShareComponent, clinicalTrialComponent, optionComponent, failToDeliverComponent, marketMakerComponent, analystEstimateComponent, sentimentComponent, screenWidth, displayCompanyName, numberOfUnreadNotification, globalForm, varComponent, shareStatisticsComponent, enterpriseComponent, darkPoolComponent, retailVolumeComponent, shareholderComponent, trendAnalysisComponent, revenueSegmentationComponent, priceAnalysisComponent, fundamentalAnalysisComponent, isCrosshairMoveActive, realtimePrice, priceIncrease, currentPortfolioPrice, currentPrice, stockTicker, isOpen, isBeforeMarketOpen, isWeekend} from '$lib/store';
import { onDestroy, onMount } from 'svelte';
import BullBearSay from '$lib/components/BullBearSay.svelte';
import CommunitySentiment from '$lib/components/CommunitySentiment.svelte';
@@ -16,7 +16,6 @@
let displayChartType = 'line';
let stockDeck = data?.getStockDeck ?? [];
- let correlationList = data?.getCorrelation?.correlation ?? [];
let prePostData = {};
let similarstock = [];
let topETFHolder = [];
@@ -41,16 +40,13 @@
let StockSplits;
- let Correlation;
let WIIM;
onMount(async() => {
WIIM = (await import('$lib/components/WIIM.svelte')).default;
-
StockSplits = (await import('$lib/components/StockSplits.svelte')).default;
- Correlation = (await import('$lib/components/Correlation.svelte')).default;
})
@@ -664,7 +660,6 @@ function changeChartType() {
stockDeck = data?.getStockDeck;
- correlationList = data?.getCorrelation?.correlation;
marketMoods = data?.getBullBearSay;
communitySentiment = data?.getCommunitySentiment;
@@ -1440,22 +1435,22 @@ function changeChartType() {
-
- {#if Correlation}
-
- {/if}
+
-
-
-
- {#if StockSplits && stockDeck?.at(0)?.stockSplits?.length !== 0}
-
-
-
- {/if}
+
+ {#if StockSplits && stockDeck?.at(0)?.stockSplits?.length !== 0}
+
+
+
+ {/if}