From 0c8b630890d8ec2b54e153b3954c6b4f49528f7c Mon Sep 17 00:00:00 2001 From: tradermohamed Date: Tue, 13 Feb 2024 13:24:46 -0500 Subject: [PATCH 1/2] fix decimals --- components/home/charts/retail-volume.tsx | 4 ++-- components/home/charts/unique-users-coin.tsx | 10 +++++----- helpers/index.ts | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/components/home/charts/retail-volume.tsx b/components/home/charts/retail-volume.tsx index f415a64..ccb8db3 100644 --- a/components/home/charts/retail-volume.tsx +++ b/components/home/charts/retail-volume.tsx @@ -252,7 +252,7 @@ export default function RetailVolumeChart() { ); return ( This measures two-sided volume, i.e. each side of a trade is counted once if that side is - retail. + non-HLP. diff --git a/components/home/charts/unique-users-coin.tsx b/components/home/charts/unique-users-coin.tsx index 6167647..3bdfed2 100644 --- a/components/home/charts/unique-users-coin.tsx +++ b/components/home/charts/unique-users-coin.tsx @@ -182,7 +182,7 @@ export default function UniqueUsers() { return ( - 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. diff --git a/helpers/index.ts b/helpers/index.ts index 6a857e5..dd41f7c 100644 --- a/helpers/index.ts +++ b/helpers/index.ts @@ -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 => { From 1a4c7715bcf541c6e475dea9e07b2380abc8dfcf Mon Sep 17 00:00:00 2001 From: tradermohamed Date: Tue, 13 Feb 2024 13:27:40 -0500 Subject: [PATCH 2/2] description change --- components/home/charts/retail-volume.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/home/charts/retail-volume.tsx b/components/home/charts/retail-volume.tsx index ccb8db3..167a463 100644 --- a/components/home/charts/retail-volume.tsx +++ b/components/home/charts/retail-volume.tsx @@ -361,8 +361,8 @@ export default function RetailVolumeChart() { - This measures two-sided volume, i.e. each side of a trade is counted once if that side is - non-HLP. + 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.