Oracle3
Open-source trading engine and MCP server for prediction markets. Fee-aware no-arbitrage trading across related contracts, live on Kalshi, Polymarket and Solana or on paper.
An intelligent portfolio tracker with AI-powered insights
Translation pending
FinanceHTML · PythonGitHub @singhsimar486OnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Loading the full README. The saved excerpt is shown below.
Foliowise was built using AI-assisted development (Claude). I designed the
product, defined the architecture, and directed implementation through detailed
prompting and iteration. All feature decisions, debugging, deployment, and
integration work were hands-on. The codebase reflects my understanding of
full-stack development with FastAPI, Angular, and PostgreSQL.Read the full README ↗Features • Demo • Tech Stack • Installation • API Reference • Documentation
Foliowise was built using AI-assisted development (Claude). I designed the product, defined the architecture, and directed implementation through detailed prompting and iteration. All feature decisions, debugging, deployment, and integration work were hands-on. The codebase reflects my understanding of full-stack development with FastAPI, Angular, and PostgreSQL.
Foliowise is a comprehensive investment portfolio tracker that combines real-time market data, AI-powered insights, sentiment analysis, and gamified virtual trading competitions. Built for modern investors who want more than just tracking—they want intelligence.
Track. Analyze. Compete. Grow.
Real-time portfolio overview with performance charts, allocation breakdown, and key metrics.
Virtual trading competitions with leaderboards, achievements, and paper trading.
Get intelligent recommendations and chat with AI about your portfolio.
| Technology | Version | Purpose |
|---|---|---|
| Python | 3.11+ | Runtime |
| FastAPI | 0.100+ | Web framework |
| PostgreSQL | 15+ | Database |
| SQLAlchemy | 2.0+ | ORM |
| Pydantic | 2.0+ | Validation |
| yfinance | 0.2+ | Market data |
| TextBlob | 0.17+ | Sentiment analysis |
| Stripe | 7.0+ | Payments |
| Resend | 0.6+ | Email delivery |
| Technology | Version | Purpose |
|---|---|---|
| Angular | 21 | SPA framework |
| TypeScript | 5.9 | Language |
| Tailwind CSS | 3.4 | Styling |
| Chart.js | 4.5 | Data visualization |
| RxJS | 7.8 | Reactive programming |
# Clone repository
git clone https://github.com/singhsimar486/Foliowise.git
cd Foliowise/backend
# Create virtual environment
python3 -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Configure environment
cat > .env << EOF
DATABASE_URL=postgresql://username@localhost:5432/foliowise
SECRET_KEY=$(openssl rand -hex 32)
DEBUG=True
# Optional: Stripe (for subscriptions)
STRIPE_SECRET_KEY=sk_test_...
STRIPE_WEBHOOK_SECRET=whsec_...
STRIPE_PRO_PRICE_ID=price_...
STRIPE_PRO_PLUS_PRICE_ID=price_...
# Optional: Resend (for email alerts)
RESEND_API_KEY=re_...
FRONTEND_URL=http://localhost:4200
EOF
# Create database
createdb foliowise
# Run server
uvicorn app.main:app --reload
cd ../frontend
# Install dependencies
npm install
# Configure environment
echo 'export const environment = { apiUrl: "http://localhost:8000" };' > src/environments/environment.ts
# Run development server
npm start
| Method | Endpoint | Description |
|---|---|---|
| POST | /auth/register | Create account |
| POST | /auth/login | Get JWT token |
| GET | /auth/me | Current user |
| Method | Endpoint | Description |
|---|---|---|
| GET | /holdings/ | List holdings |
| POST | /holdings/ | Create holding |
| PUT | /holdings/{id} | Update holding |
| DELETE | /holdings/{id} | Delete holding |
| POST | /holdings/import | Import CSV |
| Method | Endpoint | Description |
|---|---|---|
| GET | /portfolio/summary | Portfolio with live data |
| GET | /portfolio/allocation | Allocation breakdown |
| GET | /portfolio/gains | Realized/unrealized gains |
| GET | /portfolio/performance | Historical performance |
| Method | Endpoint | Description |
|---|---|---|
| GET | /market/quote/{ticker} | Real-time quote |
| GET | /market/history/{ticker} | Historical OHLCV |
| GET | /market/search | Search stocks |
| GET | /market/predict/{ticker} | Price prediction |
| Method | Endpoint | Description |
|---|---|---|
| GET | /competitions/ | List competitions |
| POST | /competitions/{id}/join | Join competition |
| POST | /competitions/{id}/trade | Make virtual trade |
| GET | /competitions/{id}/leaderboard | Get leaderboard |
| GET | /competitions/achievements/me | User achievements |
/alerts/ — Price alert management/watchlist/ — Stock watchlist/insights/ — AI analysis and chat/dividends/ — Dividend tracking/goals/ — Portfolio goals/transactions/ — Transaction history/subscriptions/ — Stripe integration/settings/ — Account managementFull API documentation: See TECHNICAL_DOCUMENTATION.md
| Document | Description |
|---|---|
| TECHNICAL_DOCUMENTATION.md | Complete technical reference (80+ pages) |
| TECHNICAL_DOCUMENTATION_PART2.md | API examples & troubleshooting |
| README_DOCUMENTATION.md | Documentation index |
chmod +x convert_to_pdf.sh
./convert_to_pdf.sh
foliowise/
├── backend/
│ ├── app/
│ │ ├── main.py # FastAPI application
│ │ ├── config.py # Environment settings
│ │ ├── database.py # SQLAlchemy setup
│ │ ├── models/ # ORM models (9 files)
│ │ ├── routers/ # API routes (14 files)
│ │ └── services/ # Business logic (8 files)
│ └── requirements.txt
│
├── frontend/
│ ├── src/app/
│ │ ├── components/ # Angular components (22)
│ │ ├── services/ # API & auth services
│ │ └── guards/ # Route guards
│ ├── tailwind.config.js
│ └── package.json
│
├── TECHNICAL_DOCUMENTATION.md
└── README.md
| Feature | Free | Pro | Pro+ |
|---|---|---|---|
| Holdings | 10 | 100 | Unlimited |
| Price Alerts | 1 | 25 | Unlimited |
| Stock Lookups/day | 5 | 50 | Unlimited |
| AI Questions/day | 3 | 50 | Unlimited |
| Competitions | 1 | Unlimited | Unlimited |
| Email Alerts | No | Yes | Yes |
| Priority Support | No | No | Yes |
| Price | $0 | $9.99/mo | $19.99/mo |
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
Simar Singh
Built with passion for investors who want more.