Qwenta Documentation

Welcome to the official Qwenta Enterprise documentation. This guide covers everything you need to deploy, configure, and extend the platform.

What is Qwenta?

Qwenta is an enterprise-grade trading intelligence platform built with:

  • Astro SSR — server-side rendering with React islands
  • PostgreSQL — persistent storage for users, watchlists, portfolios
  • Yahoo Finance — real-time market data (free, no API key)
  • Ollama + Qwen — private AI analyst
  • WalletConnect / SIWE — crypto wallet authentication

Architecture

Browser ──→ Astro SSR (port 4321)
               │
               ├── /api/stock       → Yahoo Finance
               ├── /api/chat        → Ollama (VPS)
               ├── /api/watchlist   → PostgreSQL
               ├── /api/portfolio   → PostgreSQL
               ├── /api/screener    → Yahoo Finance (batch)
               ├── /api/compare     → Yahoo Finance (batch)
               ├── /api/export      → XLSX/CSV generator
               └── /api/auth        → SIWE verification

Quick Links

Requirements

DependencyVersionNotes
Node.js18+ESM support required
PostgreSQL14+For user data & portfolio
OllamalatestFor AI analysis
Qwen modelqwen2.54GB RAM minimum