Skip to content

Projet12345/tranaly-open

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Tranaly

Transform your financial insights with AI-powered market predictions

License: MIT Python 3.11+ Nuxt.js 3 FastAPI

Tranaly is a revolutionary financial intelligence platform that democratizes advanced market analysis through artificial intelligence. Built for investors of all levels, from beginners to professionals.

🌟 Key Features

  • πŸ“Š Real-time Market Analysis - Live stock data with interactive charts
  • πŸ€– AI-Powered Predictions - Advanced ML models (ARIMA, LSTM, Transformers)
  • πŸ“ˆ Portfolio Management - Risk analysis and optimization tools
  • πŸ” Custom Dataset Upload - Bring your own data for analysis
  • πŸ“± Modern Web Interface - Responsive design built with Nuxt.js
  • πŸ”Œ RESTful API - Full API access for developers
  • πŸ“š Educational Hub - Learn financial analysis and AI concepts

πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Frontend   β”‚    β”‚   API Server β”‚    β”‚ ML Pipeline β”‚
β”‚  (Nuxt.js)  │◄──►│   (FastAPI)  │◄──►│ (PyTorch)   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                           β”‚
                           β–Ό
                   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                   β”‚   Database   β”‚
                   β”‚ (PostgreSQL) β”‚
                   β”‚ + TimescaleDBβ”‚
                   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Tech Stack

Frontend

  • Nuxt.js 3 (Vue.js framework)
  • TailwindCSS for styling
  • Chart.js for data visualization
  • Pinia for state management

Backend

  • FastAPI (Python)
  • PostgreSQL + TimescaleDB
  • Redis for caching
  • Celery for background tasks

AI/ML

  • PyTorch for deep learning
  • scikit-learn for traditional ML
  • MLflow for model versioning
  • Feast for feature store

Infrastructure

  • Docker & Docker Compose
  • GitHub Actions (CI/CD)
  • Prometheus & Grafana (monitoring)

πŸš€ Quick Start

Prerequisites

  • Python 3.11+
  • Node.js 18+
  • Docker & Docker Compose
  • PostgreSQL (or use Docker)

Installation

  1. Clone the repository

    git clone https://github.com/Projet12345/tranaly-open.git
    cd tranaly-open
  2. Setup with Docker (Recommended)

    docker-compose up -d
  3. Or manual setup

    # Backend
    cd src/backend
    pip install -r requirements.txt
    python -m uvicorn main:app --reload
    
    # Frontend
    cd ../frontend
    npm install
    npm run dev
  4. Access the application

πŸ“– Documentation

πŸ—‚οΈ Project Structure

tranaly-open/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ frontend/          # Nuxt.js application
β”‚   β”œβ”€β”€ backend/           # FastAPI server
β”‚   β”œβ”€β”€ ml-pipeline/       # ML training & serving
β”‚   β”œβ”€β”€ database/          # DB schemas & migrations
β”‚   └── shared/            # Shared utilities
β”œβ”€β”€ tests/                 # Test suites
β”œβ”€β”€ deployment/            # Docker & K8s configs
β”œβ”€β”€ scripts/               # Utility scripts
β”œβ”€β”€ config/                # Configuration files
β”œβ”€β”€ docs/                  # Documentation
β”œβ”€β”€ PROJECT_OVERVIEW.md    # Complete project specs
└── README.md              # This file

πŸ”§ Development

Environment Variables

Create .env files in respective directories:

# src/backend/.env
DATABASE_URL=postgresql://user:password@localhost:5432/tranaly
REDIS_URL=redis://localhost:6379
SECRET_KEY=your-secret-key
ALPHA_VANTAGE_API_KEY=your-api-key

# src/frontend/.env
NUXT_PUBLIC_API_BASE_URL=http://localhost:8000

Running Tests

# Backend tests
cd src/backend
pytest

# Frontend tests
cd src/frontend
npm run test

# E2E tests
cd tests
pytest e2e/

Code Quality

# Python formatting & linting
black src/backend/
flake8 src/backend/
mypy src/backend/

# JavaScript/Vue linting
cd src/frontend
npm run lint
npm run type-check

πŸ“Š Features in Detail

πŸ€– AI Models Available

  • ARIMA - Traditional time series forecasting
  • GARCH - Volatility modeling
  • LSTM/GRU - Deep learning for sequences
  • Transformers - State-of-the-art attention models
  • Ensemble Methods - Combined model predictions

πŸ“ˆ Market Data Sources

  • Yahoo Finance (primary)
  • Alpha Vantage (backup)
  • Custom data upload support
  • Real-time WebSocket feeds

πŸ” Security Features

  • JWT authentication
  • Rate limiting
  • Input validation
  • SQL injection protection
  • CORS configuration
  • API key management

🌍 Contributing

We welcome contributions! See our Contributing Guide for details.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Development Setup for Contributors

# Install pre-commit hooks
pip install pre-commit
pre-commit install

# Run the full test suite
make test-all

# Start development environment
make dev-up

πŸ“„ License & Commercial Usage

This project follows an Open Core model:

  • Core Platform: MIT Licensed (free for all uses)
  • Advanced Features: Commercial license available
  • Hosted Service: Demo available at andersonnguetoum.com/tranaly with premium features

For commercial licensing of advanced AI models and enterprise features, contact: anderson@andersonnguetoum.com

See the LICENSE file for details.

🎯 Roadmap

Current Version: 0.1.0 (MVP)

  • Project setup and architecture
  • Basic stock data ingestion
  • Simple prediction models
  • Web interface prototype

Version 0.2.0 (Beta)

  • Advanced ML models
  • Portfolio management
  • User authentication
  • API documentation

Version 1.0.0 (Production)

  • Real-time predictions
  • Mobile app
  • Premium features
  • Payment integration

🀝 Support

πŸ™ Acknowledgments


Made with ❀️ by Anderson Nguetoum - Building the future of financial intelligence

🎯 AI Engineer specialized in Predictive Analytics, Time Series Forecasting, Computer Vision & MLOps

⭐ Star this repository if you find it helpful!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors