This commit is contained in:
Olivier Gagnon 2021-10-14 17:38:06 -04:00
parent 38d915372f
commit 139ccd11ff

@ -47,7 +47,7 @@ function LongPosition(props: IProps): React.ReactElement {
</Box> </Box>
<Typography>Shares: {numeralWrapper.formatShares(stock.playerShares)}</Typography> <Typography>Shares: {numeralWrapper.formatShares(stock.playerShares)}</Typography>
<Typography> <Typography>
Average Price: <Money money={stock.playerAvgPx} /> (Total Cost: <Money money={totalCost} /> Average Price: <Money money={stock.playerAvgPx} /> (Total Cost: <Money money={totalCost} />)
</Typography> </Typography>
<Typography> <Typography>
Profit: <Money money={gains} /> ({numeralWrapper.formatPercentage(percentageGains)}) Profit: <Money money={gains} /> ({numeralWrapper.formatPercentage(percentageGains)})