dashboard: oi in $

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2023-03-22 13:23:42 +01:00
parent 4ac85b6502
commit 81786eefbb
1 changed files with 5 additions and 1 deletions

View File

@ -503,7 +503,11 @@ const Dashboard: NextPage = () => {
/>
<KeyValuePair
label="Open Interest"
value={`${perpMarket.openInterest} lots`}
value={`${perpMarket.openInterest} lots ($${
perpMarket.baseLotsToUi(
perpMarket.openInterest
) * perpMarket.uiPrice
})`}
/>
<KeyValuePair
label="Lot Sizes"