{#if rawData?.length !== 0}

{rawData?.length} IPOs

{#each ipoList as item} {/each}
IPO Date Symbol Name IPO Price Current Price Return Since
{new Date(item?.ipoDate)?.toLocaleString("en-US", { month: "short", day: "numeric", year: "numeric", daySuffix: "2-digit", })} {item?.symbol} {item?.name?.length > charNumber ? formatString(item?.name?.slice(0, charNumber)) + "..." : formatString(item?.name)} {item?.ipoPrice !== null ? item?.ipoPrice : "n/a"} {item?.currentPrice !== null ? item?.currentPrice : "n/a"} {#if item?.return >= 0 && item?.return !== null} +{abbreviateNumber(item?.return)}% {:else if item?.return < 0 && item?.return !== null} {abbreviateNumber(item?.return)}% {:else} n/a {/if}
{:else}
{/if}