Skip to content

zahirnik/GraphAlpha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphAlpha

Intelligence in Finance — A Temporal Graph Neural Network platform for corporate stress prediction across the S&P 500.

GraphAlpha combines temporal graph architectures with LLM-powered analysis to detect early signals of corporate financial distress. The platform models 503 companies as an interconnected network, capturing supply-chain dependencies, shared investor relationships, and sector co-movements to predict risk propagation before traditional metrics react.


Platform Overview

Watchlist — Real-Time Risk Monitoring

Interactive dashboard tracking 503 S&P 500 companies with risk scores, signal attribution, and a force-directed network graph with animated edge glow effects.

Watchlist

S&P 500 Network Graph

503-node interactive force-directed graph showing inter-company relationships across 5 edge types — supply chain, shared investors, sector co-membership, and more. Edges randomly glow to highlight active risk pathways.

Network Graph

Company Deep Dive

Per-company analysis with risk gauge, signal category breakdown, temporal risk timeline, feature attribution charts, and 1-hop neighbor subgraph.

Company Analysis

AI Analyst — LLM-Powered Insights

Auto-generated analyst notes and interactive chat powered by LLM, grounded in the model's signal attribution and graph context.

AI Analyst

Model Performance Comparison

Benchmarking 5 architectures (MLP, Static GNN, TGN, TGAT, GraphAlpha Transformer) on AUROC, Sharpe ratio, hit rate, and cumulative PnL.

Models


Key Results

Model AUROC AUPRC Hit@20 Sharpe
MLP Baseline 0.700 0.450 50% 1.20
Static GNN 0.736 0.520 58% 1.65
TGN 0.710 0.500 55% 1.40
TGAT 0.720 0.530 60% 1.55
GraphAlpha Transformer 0.742 0.627 67% 2.79

Architecture Highlights

  • Temporal Graph Neural Network with multi-head temporal attention over dynamic company graphs
  • Multi-modal feature fusion: earnings call NLP drift, SEC filing language analysis, market microstructure signals
  • LLM-augmented features: GPT-extracted sentiment, risk phrases, and management tone analysis from 10-K/10-Q filings and earnings transcripts
  • Graph-based risk propagation: captures contagion effects through supply chain and investor networks
  • Interactive AI analyst: conversational interface grounded in model explanations

Tech Stack

  • Frontend: React + TypeScript + Vite + Chart.js
  • Backend: FastAPI + PyTorch
  • Models: Custom Temporal Graph Transformer architecture
  • LLM Integration: OpenAI GPT for analyst note generation and interactive chat

Disclaimer

This software is under active development and is not recommended for production use. It is provided "as is", without warranty of any kind, express or implied.

  • No investment advice. GraphAlpha does not provide investment recommendations, trading signals, or financial advice of any kind.
  • No guarantee of accuracy. Risk scores, model outputs, and AI-generated analyst notes may contain errors and must not be relied upon for financial decisions.
  • No liability. The authors and contributors accept no responsibility or liability for any financial loss, damage, or adverse outcome arising from the use of this software.
  • Use at your own risk. By using this software, you acknowledge that it is under development and agree that the authors bear no obligation for its performance, availability, or suitability for any purpose.

License

This project is proprietary research. The frontend code is shared for demonstration purposes only. Model architectures, training pipelines, and data processing code are not included in this repository.

About

A Temporal Graph Neural Network platform for corporate stress prediction across the S&P 500. Combines temporal graph attention, LLM-augmented features, and NLP drift detection to identify financial distress signals before traditional models react.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages