What if you had invested? Find out with real market data.
Moshimo (もしも - Japanese for "What if") is an educational investment simulator that helps users visualize how past investments would have grown. Simple enough for a 10-year-old, powerful enough for professionals.
- 📈 Historical Simulation - See how investments would have performed over 20+ years
- 💼 Multi-Asset Portfolios - Combine stocks, ETFs, and indexes
- 📊 Interactive Charts - TradingView-powered visualization with split views
- 🏷️ Smart Filtering - Filter by asset type (Stocks/ETFs/Indexes) and sector
- 🌓 Dark/Light Mode - Easy on the eyes
- 📱 Responsive Design - Works on desktop and mobile
- ⚡ PWA Support - Install as an app
Coming soon
| Layer | Technology |
|---|---|
| Backend | Java 25, Spring Boot 4.0, PostgreSQL 15 |
| Frontend | React 19, TypeScript, Vite |
| Charts | TradingView Lightweight Charts |
| Data | TwelveData API |
| CI/CD | GitHub Actions |
| Container | Docker Compose |
- Java 25+
- Node.js 20+
- Docker & Docker Compose
- TwelveData API key (free tier available)
# Clone repository
git clone https://github.com/Lidizz/moshimo.git
cd moshimo
# Start database
docker-compose up -d
# Backend
cd backend
cp .env.example .env # Add your API keys
./mvnw spring-boot:run
# Frontend (new terminal)
cd frontend
npm install
npm run devmoshimo/
├── backend/ # Java Spring Boot API
├── frontend/ # React TypeScript UI
├── scripts/ # Utility scripts
├── .github/ # CI/CD workflows
└── docker-compose.yml
See PROJECT_BRIEF_v3.md for detailed roadmap.
- Backtesting strategies (DCA, SMA Crossover)
- Advanced metrics (Sharpe Ratio, Max Drawdown)
- Crypto support
- User accounts & saved portfolios
- Mobile app
Contributions are welcome via Pull Request. See CONTRIBUTING.md for guidelines.
Note: This project uses a proprietary license. By contributing, you agree that your contributions become part of this project under the same license terms.
Proprietary License : All Rights Reserved
This source code is provided for viewing and educational purposes only.
- ❌ No commercial use
- ❌ No redistribution
- ❌ No derivative works
- ✅ View source code
- ✅ Fork for personal learning (non-commercial)
See LICENSE for full terms.
Lidor Shachar : GitHub
- TwelveData for market data API
- TradingView for Lightweight Charts library
- The open source community for inspiration
Built with ❤️ for financial literacy