The {data?.getIndustryStocks?.name} Industry has a total of {data ?.getIndustryStocks?.stocks?.length} stocks, with a combined market cap of {abbreviateNumber(totalMarketCap, true)}, total revenue of {abbreviateNumber( totalRevenue, true, )} and an average PE Ratio of {avgPERatio}.

Historical PE Ratio

{#if isLoaded} {:else}
{/if}
{#each stockList as item} {/each}
Symbol Name Market Cap % Change Volume
{item?.symbol} {abbreviateNumber(item?.marketCap)} {item?.changesPercentage !== null ? item?.changesPercentage : "-"} {item?.volume !== null ? abbreviateNumber(item?.volume) : "-"} {item?.revenue === 0 ? "-" : abbreviateNumber(item?.revenue)}