-
+
{props.quantityLabel ?? t("stock.quantity")}
@@ -33,7 +37,7 @@ const InstrumentPosition: FC = (props) => {
-
+
{t("stock.value")}
@@ -41,7 +45,7 @@ const InstrumentPosition: FC = (props) => {
-
+
{t("stock.average")}
@@ -49,89 +53,93 @@ const InstrumentPosition: FC = (props) => {
-
+
{t("stock.openReturn")}
{formatMoney(vm.position.absoluteReturn)}
- {vm.position.returnPercent !== null ? (
+ {vm.position.returnPercent !== null && ((
- {formatDecimal(vm.position.returnPercent)} %
+ {formatDecimal(vm.position.returnPercent)}
+ {" "}
+ %
- ) : null}
+ ))}
-