diff --git a/src/pages/TrueSightV2/components/shareContent/TokenAnalysisListShareContent.tsx b/src/pages/TrueSightV2/components/shareContent/TokenAnalysisListShareContent.tsx index ec39943b57..084f2e4c7b 100644 --- a/src/pages/TrueSightV2/components/shareContent/TokenAnalysisListShareContent.tsx +++ b/src/pages/TrueSightV2/components/shareContent/TokenAnalysisListShareContent.tsx @@ -21,6 +21,8 @@ const mapTypeTitle = { // [KyberAIListType.TOP_SOCIAL]: t`Top Social Tokens`, [KyberAIListType.TRENDING_SOON]: t`Trending Soon Tokens`, [KyberAIListType.TRENDING]: t`Top Trending Tokens`, + [KyberAIListType.FUNDING_RATE]: t`Funding Rates`, + [KyberAIListType.KYBERSWAP_DELTA]: t`Kyberscore Delta`, } export default function TokenAnalysisListShareContent({ diff --git a/src/pages/TrueSightV2/constants/index.tsx b/src/pages/TrueSightV2/constants/index.tsx index ef0ebeedcb..07b901c07d 100644 --- a/src/pages/TrueSightV2/constants/index.tsx +++ b/src/pages/TrueSightV2/constants/index.tsx @@ -43,6 +43,8 @@ export enum MIXPANEL_KYBERAI_TAG { RANKING_TOP_TRADED = 'ranking_top_traded', RANKING_TRENDING_SOON = 'ranking_trending_soon', RANKING_CURRENTLY_TRENDING = 'ranking_currently_trending', + RANKING_FUNDING_RATE = 'ranking_funding_rate', + RANKING_KYBERSCORE_DELTA = 'ranking_kyberscore_delta', EXPLORE_SHARE_THIS_TOKEN = 'explore_share_this_token', } @@ -56,6 +58,8 @@ export const KYBERAI_LISTYPE_TO_MIXPANEL = { [KyberAIListType.TOP_TRADED]: MIXPANEL_KYBERAI_TAG.RANKING_TOP_TRADED, [KyberAIListType.TRENDING_SOON]: MIXPANEL_KYBERAI_TAG.RANKING_TRENDING_SOON, [KyberAIListType.TRENDING]: MIXPANEL_KYBERAI_TAG.RANKING_CURRENTLY_TRENDING, + [KyberAIListType.FUNDING_RATE]: MIXPANEL_KYBERAI_TAG.RANKING_FUNDING_RATE, + [KyberAIListType.KYBERSWAP_DELTA]: MIXPANEL_KYBERAI_TAG.RANKING_KYBERSCORE_DELTA, } export enum KYBERAI_CHART_ID { diff --git a/src/pages/TrueSightV2/pages/TokenAnalysisList.tsx b/src/pages/TrueSightV2/pages/TokenAnalysisList.tsx index 91b60f8b62..19bbbd67d6 100644 --- a/src/pages/TrueSightV2/pages/TokenAnalysisList.tsx +++ b/src/pages/TrueSightV2/pages/TokenAnalysisList.tsx @@ -308,6 +308,17 @@ const tokenTypeList: { ), }, + { + type: KyberAIListType.KYBERSWAP_DELTA, + title: t`Kyberscore Delta`, + icon: 'bearish', + tooltip: theme => ( + + Tokens with a significant change in KyberScore between two + consecutive time periods. This may indicate a change in trend of the token + + ), + }, { type: KyberAIListType.TOP_CEX_INFLOW, title: t`Top CEX Positive Netflow`, @@ -330,6 +341,18 @@ const tokenTypeList: { ), }, + { + type: KyberAIListType.FUNDING_RATE, + title: t`Funding Rates`, + icon: 'coin-bag', + tooltip: () => ( + + Tokens with funding rates on centralized exchanges. Positive funding rate suggests traders are bullish and + vice-versa for negative funding rates. Extremely positive or negative funding rates may result in leveraged + positions getting squeezed. + + ), + }, { type: KyberAIListType.TOP_TRADED, title: t`Top Traded`, @@ -729,6 +752,7 @@ const LoadingRowSkeleton = ({ hasExtraCol }: { hasExtraCol?: boolean }) => { ) } + export default function TokenAnalysisList() { const theme = useTheme() const mixpanelHandler = useMixpanelKyberAI() diff --git a/src/pages/TrueSightV2/types/index.tsx b/src/pages/TrueSightV2/types/index.tsx index 94b38e3d25..8324b3f320 100644 --- a/src/pages/TrueSightV2/types/index.tsx +++ b/src/pages/TrueSightV2/types/index.tsx @@ -202,14 +202,15 @@ export type ParticipantInfo = { } export enum KyberAIListType { - ALL = 'ALL', - MYWATCHLIST = 'MY_WATCHLIST', - BULLISH = 'BULLISH', - BEARISH = 'BEARISH', - TRENDING = 'TRENDING', - TOP_CEX_INFLOW = 'TOP_CEX_INFLOW', - TOP_CEX_OUTFLOW = 'TOP_CEX_OUTFLOW', - TOP_TRADED = 'TOP_TRADED', - // TOP_SOCIAL = 'TOP_SOCIAL', - TRENDING_SOON = 'TRENDINGSOON', + ALL = 'all', + MYWATCHLIST = 'my_watchlist', + BULLISH = 'bullish', + BEARISH = 'bearish', + TRENDING = 'trending', + TOP_CEX_INFLOW = 'top_cex_inflow', + TOP_CEX_OUTFLOW = 'top_cex_outflow', + TOP_TRADED = 'top_traded', + TRENDING_SOON = 'trendingsoon', + FUNDING_RATE = 'funding_rate_asc', + KYBERSWAP_DELTA = 'kyber_score_delta_asc', }