{#if correlationList?.length !== 0} {#each (showFullStats ? correlationList : correlationList?.slice(0, 3)) as item, index}
stockSelector(item?.symbol)} class="flex-shrink-0 mr-3 rounded-full w-8 h-8 sm:w-10 sm:h-10 relative bg-[#0F0F0F]">
{item?.symbol} ยท {item?.name?.length > charNumber ? item?.name?.slice(0,charNumber)+'...' : item?.name}
{(item?.value)?.toFixed(2)}
{#if item?.value >= 0} {:else} {/if}
{/each} {:else}

No data available

{/if}