Skip to content

Add Behavioral Stock Market model with multiple trader strategies and live Solara dashboard#349

Closed
Sahil-Gupta-AI wants to merge 3 commits intomesa:mainfrom
Sahil-Gupta-AI:behavioral-stock-market-pr
Closed

Add Behavioral Stock Market model with multiple trader strategies and live Solara dashboard#349
Sahil-Gupta-AI wants to merge 3 commits intomesa:mainfrom
Sahil-Gupta-AI:behavioral-stock-market-pr

Conversation

@Sahil-Gupta-AI
Copy link
Copy Markdown

Add Stock Market Agent-Based Model Example (#336)
This issue proposes adding a new example to mesa-examples:
Features:

  • Three trader types: Fundamentalist, TrendFollower, and RiskAverse
  • Dynamic price updates based on agent behavior
  • Profit and wealth comparison by trader strategy
  • Interactive Solara dashboard for visualization
  • Real-time price graph

Educational Value:
This example demonstrates:

  • Strategy-based agent behavior
  • Market price formation
  • Comparative performance analysis
  • Integration of Mesa with Solara for interactive dashboards

The example is fully self-contained and includes:

  • model.py
  • agent.py
  • app.py
  • requirements.txt
  • README.md

@Sahil-Gupta-AI Sahil-Gupta-AI marked this pull request as draft March 7, 2026 17:51
@Sahil-Gupta-AI Sahil-Gupta-AI marked this pull request as ready for review March 7, 2026 17:52
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