tradingstrategy-ai / frontend

Web frontend for TradingStrategy.ai
https://tradingstrategy.ai
125 stars 23 forks source link

Market Data Indicator #223

Open kenkunz opened 1 year ago

kenkunz commented 1 year ago

Goal

Add Market Data Indicator as show in figma design spec: Market Indicator Bar

image

Dependencies

Open questions

1. What criteria determine the tokens to display (and what order)?

Some options:

How many tokens should be included?

2. What data source to use?

Two obvious candidates:

Option Pros Cons
☑️ New Backend API endpoint • has the latest data
• targeted to use case
• new feature (higher LOE than other options)
Backend top-momentum API • has the latest data • likely requires a new top-level collection to be added
• harder to change criteria
Typesense search index • no API changes needed
• easy to modify criteria
• data can be several hours behind backend API
kenkunz commented 1 year ago

Per @miohtama:

Let’s do s new API endpoint and go with the highest price change We need to return tokens, tweak links and filters to make the data meaningful