Recommendation:
{#if consensusRating === 'Buy' || consensusRating === 'Strong Buy'}
{consensusRating}
{:else if consensusRating === 'Sell' || consensusRating === 'Strong Sell' }
{consensusRating}
{:else if consensusRating === 'Hold'}
{consensusRating ?? 'n/a'}
{:else}
n/a
{/if}
Price Target:
{#if priceTarget !== 'n/a'}
${priceTarget}
{:else}
-
{/if}
{#if changesPercentage < 0 }
The Stock Price has a downside of
{abbreviateNumber(Math?.abs(changesPercentage))} %
based on {numOfAnalyst} analysts.
{:else if changesPercentage >= 0 }
The Stock Price has an upside of
{abbreviateNumber(Math?.abs(changesPercentage))} %
based on {numOfAnalyst} analysts.
{/if}