zephyrdark 8cc2d3fa41 fix: add validation and rate limiting to ValuationCollector
- Add time import and RATE_LIMIT_DELAY constant for rate limiting between HTTP requests
- Add 1-second delay after OTP request to respect API rate limits
- Validate OTP response is not empty before using it
- Add CSV column structure validation with required columns check
- Add data quality check to skip records where all metrics are None
- Improve error handling and data integrity

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 23:56:05 +09:00

Galaxy-PO

Integrated Quant Portfolio Management Application

Tech Stack

  • Backend: FastAPI, Python 3.14, SQLAlchemy, PostgreSQL
  • Frontend: Next.js 15, React 19, TypeScript, Tailwind CSS
  • Infrastructure: Docker, Docker Compose

Development

Prerequisites

  • Docker & Docker Compose
  • Python 3.14
  • Node.js 24

Quick Start

# Start all services
docker-compose up -d

# Backend only (development)
cd backend
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
uvicorn app.main:app --reload

# Frontend only (development)
cd frontend
npm install
npm run dev

Project Structure

galaxy-po/
├── backend/           # FastAPI backend
├── frontend/          # Next.js frontend
├── docker-compose.yml
└── docs/plans/        # Implementation plans
Description
No description provided
Readme 1.4 MiB
Languages
Python 50.6%
TypeScript 48.7%
CSS 0.3%
Dockerfile 0.3%