Domain‐Specific Features - bounswe/bounswe2024group10 GitHub Wiki
Domain Specific Features
Overview
This project implements a domain-specific system designed for tracking and discussing financial assets. The key features include an Asset Information Page, Interactive Charts, Latest News Widgets, and a Forum for collaborative discussions. These features are tightly integrated to provide a seamless user experience.
Features
1. Asset Chart
- Description: Interactive chart visualizing the historical and real-time performance of a financial asset.
- Implementation: Utilizes TradingView's embeddable widgets to render high-quality charts.
- Example:
<ChartContainer symbol="NASDAQ:AAPL" />
- Use Case: Appears on asset-specific pages (e.g.,
domain.com/assets/NASDAQ-AAPL
) to help users analyze trends.
2. Asset Info
- Description: Displays metadata such as market capitalization, trading volume, and current price for a given asset.
- Implementation: Dynamically fetches and displays data based on the asset's symbol.
- Example:
<AssetInfoWidget symbol="NASDAQ:AAPL" />
- Use Case: Located prominently on each asset page to provide a quick overview.
3. Asset News
- Description: Aggregates the latest news articles related to the specific asset using financial news APIs.
- Implementation: Fetches news based on the asset's symbol and renders a list of clickable articles.
- Example:
<NewsWidget symbol="NASDAQ:AAPL" />
- Use Case: Shown in a sidebar on asset pages (e.g.,
domain.com/assets/NASDAQ-AAPL
) to keep users updated.
4. Forum Integration
- Description: Connects domain-specific features with a collaborative forum, enabling discussions centered around individual assets.
- Implementation:
- Forum posts dynamically link to specific asset pages.
- Asset pages reference related forum discussions.
- Example:
<ForumPost post={{ title: "Is $AAPL Overvalued?", symbol: "NASDAQ:AAPL" }} />
- Use Case: Encourages users to discuss insights from charts, news, and metadata in a dedicated space.
Workflow
User Flow
- Explore an Asset:
- Navigate to
domain.com/assets/NASDAQ-AAPL
to view:- Asset Info (
AssetInfoWidget
) - Performance Chart (
ChartContainer
) - Latest News (
NewsWidget
)
- Asset Info (
- Navigate to
- Collaborate in Forums:
- Create or view posts about the asset in the forum (e.g., "Predictions for $AAPL").
- Posts link back to the asset page for deeper analysis.
- Cross-Feature Linking:
- Users can seamlessly navigate between domain-specific pages and forum discussions.