Skip to content

Commit

Permalink
Fix Decimals (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
tradermohamed authored Feb 13, 2024
1 parent c392e2b commit c97c827
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions components/home/charts/retail-volume.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ export default function RetailVolumeChart() {
);
return (
<ChartWrapper
title='Retail Volume'
title='Non-HLP Volume'
loading={loading}
zIndex={9}
controls={controls}
Expand Down Expand Up @@ -361,8 +361,8 @@ export default function RetailVolumeChart() {
</ResponsiveContainer>
<Box w='100%' mt='3'>
<Text color='#bbb'>
This measures two-sided volume, i.e. each side of a trade is counted once if that side is
retail.
This measures two-sided volume, i.e. each side of a trade is counted once if that side is retail.
This previously tracked retail volume, but was changed in February, 2024 to non-HLP volume.
</Text>
</Box>
</ChartWrapper>
Expand Down
10 changes: 5 additions & 5 deletions components/home/charts/unique-users-coin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export default function UniqueUsers() {

return (
<ChartWrapper
title='Unique Users Percentage By Coin'
title='Unique Traders Percentage By Coin'
loading={loading}
zIndex={8}
coinSelectors={coinSelectors}
Expand Down Expand Up @@ -252,15 +252,15 @@ export default function UniqueUsers() {
stroke={BRIGHT_GREEN}
dataKey='daily_unique_users'
yAxisId='right'
name='Daily Unique Users'
name='Daily Unique Traders'
/>
</ComposedChart>
</ResponsiveContainer>
<Box w='100%' mt='3'>
<Text color='#bbb'>
The line is the number of unique addresses who used Hyperliquid each day, bars represent
proportion of users who traded specific coins. Total exceeds 100% as users can trade
multiple coins. Top 10 coins are shown separately and the rest are grouped as Other.
The line is the number of unique addresses who traded on Hyperliquid each day, bars represent
proportion of users who traded specific coins. Total exceeds 100% as users can trade
multiple coins. Top 10 coins are shown separately and the rest are grouped as Other.
</Text>
</Box>
</ChartWrapper>
Expand Down
2 changes: 1 addition & 1 deletion helpers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export const yaxisFormatterNumber = (value: number): string => {
};

export const yaxisFormatter = (value: number): string => {
return formatNumberWithOptions(value, { currency: true, compact: true }, 0);
return formatNumberWithOptions(value, { currency: true, compact: true });
};

export const tooltipFormatterNumber = (value: number | string): string => {
Expand Down

0 comments on commit c97c827

Please sign in to comment.