stock analysis tutorial#99
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a comprehensive stock analysis tutorial to the HoloViz MCP documentation. The tutorial guides users through building an interactive stock analysis report using the HoloViz Planner agent, hvPlot for visualization, and Panel for dashboard creation.
Changes:
- Fixed indentation in test file for code consistency
- Added guidance to use the
holoviz_displaytool in the planner agent configuration - Added new tutorial to navigation structure
- Created detailed step-by-step stock analysis tutorial with examples
Reviewed changes
Copilot reviewed 3 out of 9 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/display_mcp/test_utils.py | Fixed indentation for two test methods (cosmetic fix) |
| src/holoviz_mcp/config/resources/agents/holoviz-mcp-planner.agent.md | Added instruction to use holoviz_display tool with panel method preference |
| mkdocs.yml | Added stock analysis tutorial to navigation menu |
| docs/tutorials/stock-analysis.md | New comprehensive tutorial with 6 steps covering planning, implementation, viewing, experimentation, feature additions, and troubleshooting |
| docs/assets/images/stock-analysis-moving-average.png | New screenshot asset for tutorial |
|
|
||
| In this tutorial, you will create a complete stock analysis report that visualizes price movements and trading patterns for multiple stocks. By the end, you'll have built an interactive web application that displays financial data with professional charts and statistics. | ||
|
|
||
| <iframe src="https://www.youtube.com/embed/placeholder" title="Tutorial: Building a Stock Analysis Report with HoloViz MCP" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen style="display:block;height:300px;width:500px;margin-left:auto;margin-right:auto"></iframe> |
There was a problem hiding this comment.
The YouTube iframe has a placeholder URL that needs to be replaced with the actual video URL before publishing this tutorial.
Suggested change
| <iframe src="https://www.youtube.com/embed/placeholder" title="Tutorial: Building a Stock Analysis Report with HoloViz MCP" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen style="display:block;height:300px;width:500px;margin-left:auto;margin-right:auto"></iframe> | |
| <iframe src="https://www.youtube.com/embed/2c7kA0HkY3Y" title="Tutorial: Building a Stock Analysis Report with HoloViz MCP" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen style="display:block;height:300px;width:500px;margin-left:auto;margin-right:auto"></iframe> |
|
|
||
| You should see the same report structure, but now displaying Google and Microsoft stock data! | ||
|
|
||
|  |
There was a problem hiding this comment.
There is a spelling error in the filename referenced. "MFSFT" should be "MSFT" (Microsoft's stock ticker symbol).
Suggested change
|  | |
|  |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.