agent-loop / README.md
arudradey's picture
Deploy Solana Hedge Fund with fast local small AI
981a2a2 verified
|
Raw History Blame Contribute Delete
2.03 kB
metadata
title: Solana Quant Hedge Fund
emoji: ⚡
colorFrom: purple
colorTo: green
sdk: docker
app_port: 7860
pinned: false

⚡ Solana Quant Hedge Fund & Local Small AI

An autonomous quantitative hedge fund platform and high-speed local AI copilot on Solana, engineered for Docker on Hugging Face Spaces.

🚀 Features

  • Autonomous Solana Quant Engine:
    • Real-time asset monitoring ($SOL, $JUP, $RAY, $WIF, $BONK).
    • Cross-DEX arbitrage scanner across Raydium CPMM, Orca Whirlpools, and Meteora DLMM.
    • Active portfolio & AUM tracker ($14.25M simulated AUM) with 24h PnL and Sharpe ratio analytics.
    • Instant trade order dispatcher with simulated Jupiter Swap execution.
  • Fast Local CPU Quant Copilot:
    • Powered by Qwen/Qwen2.5-0.5B-Instruct (494M parameters).
    • Runs with high token throughput on CPU without GPU dependencies or out-of-memory bottlenecks.
    • Server-Sent Events (SSE) token-by-token live streaming analysis.
  • Persistent Volume Storage:
    • Direct integration with persistent storage volume mounted at /data.
    • Archival of blotter trades in /data/trades/trades.json.
    • Storage browser to inspect files and volume capacity.
  • Minimalist & Bold Interface:
    • Obsidian dark aesthetic (#060608) with Solana purple (#9945FF) and electric green (#14F195) accents.
    • Ticker strips, arbitrage monitors, trade dispatchers, and live AI terminal.

📦 API Endpoints

  • GET / — Minimalist & bold hedge fund dashboard.
  • GET /docs — Interactive OpenAPI / Swagger UI.
  • GET /api/health — System health and storage volume path.
  • GET /api/market — Real-time prices, portfolio overview, and DEX arbitrage spreads.
  • GET /api/trades — Trade blotter and execution logs.
  • POST /api/trades/execute — Execute a DEX trade on Solana.
  • GET /api/ai/status — Model loading state, thread count, and CPU device metrics.
  • POST /api/ai/analyze — Real-time SSE streaming quant analysis.
  • GET /api/storage/files — Persistent volume file manager.