Skip to content

feat: tradingview rendering#16

Open
lowhung wants to merge 4 commits into
mainfrom
feature/tradingview-rendering
Open

feat: tradingview rendering#16
lowhung wants to merge 4 commits into
mainfrom
feature/tradingview-rendering

Conversation

@lowhung

@lowhung lowhung commented Apr 3, 2025

Copy link
Copy Markdown
Owner

No description provided.

lowhung added 4 commits April 3, 2025 09:26
This commit adds SPEC.md, which outlines the comprehensive vision and roadmap for Chart Sayer. The specification covers:

- Product vision and core problem statement
- Target users and use cases
- Core features and functionality
- Technical architecture and data flow
- Future roadmap with phased development
- Technical considerations for scalability and security
- Success metrics for measuring product effectiveness

This document will serve as a reference for future development and help maintain alignment with the overall product vision.
This commit updates the SPEC.md file to align with the current development priorities:

1. Removed public API exposure plans
2. Added TradingView chart rendering directly in Discord
3. Added real-time price data integration (e.g., CoinMarketCap)
4. Added conversational follow-ups for position creation
5. Structured position commands into command groups
6. Added comprehensive testing requirements:
   - Unit testing for all methods
   - Integration testing for critical flows
   - CI pipeline for automated testing
   - Code formatting with Black and linting with Pylint
   - Pre-commit hooks for code quality

These changes better reflect the immediate development goals and quality standards for the project.
This commit implements TradingView chart rendering directly within Discord:

1. Created a new module for TradingView chart rendering with these features:
   - Generation of TradingView chart URLs with customizable parameters
   - Support for different timeframes (1m, 5m, 15m, 1h, 4h, 1d, etc.)
   - Support for various TA indicators (RSI, MACD, Bollinger Bands, etc.)
   - Theme selection (dark, light, colored)
   - Discord embed creation with interactive chart links

2. Added a new Discord command:
   - `/chart tradingview <symbol>` to display charts
   - Optional parameters for timeframe, theme, and indicators
   - User-friendly choices for timeframes and themes

3. Updated help commands to include information about the new TradingView functionality

This feature allows users to quickly view charts for any trading pair without
leaving Discord, enhancing the trading analysis experience.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant