Skip to content
View TPTBusiness's full-sized avatar

Block or report TPTBusiness

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
TPTBusiness/README.md

Trading Prediction Technology Β· TPTBusiness

Building AI-powered trading systems β€” from autonomous factor discovery to local LLM inference.
Supporter of open-source software and the communities that build it.


πŸš€ Main Project β€” Predix

Predix is an autonomous AI agent for quantitative EUR/USD forex trading. It automates the full research and development cycle β€” from factor discovery to backtesting β€” using a multi-agent LLM framework on 1-minute data.

What makes it different:

  • 🧠 Autonomous factor evolution β€” the agent proposes, codes, and validates its own alpha signals
  • πŸ›‘οΈ Built-in risk management β€” drawdown protection, cooldown periods, stoploss clustering detection
  • πŸ”„ Walk-forward validation β€” avoids overfitting across 2020–2026 EUR/USD data
  • πŸ–₯️ Real-time dashboard β€” Streamlit UI for monitoring factor performance and model evolution
  • πŸ”’ 60 integration tests β€” every commit is checked before it lands
Market Data (CCXT / yfinance)
         ↓
  Feature Engineering
   (TA-Lib, pandas)
         ↓
  LLM Agent Loop
  (factor proposal
   + code generation)
         ↓
   Backtesting
   (Qlib, 1-min)
         ↓
  Risk Management
  (drawdown / cooldown)
         ↓
  Portfolio Output

GitHub License Last Commit Stars


🧠 What I build

Autonomous Trading Agents β€” Multi-agent LLM frameworks that discover, evolve, and validate trading strategies end-to-end
Local LLM Integration β€” Running AI systems fully offline with llama.cpp (no cloud dependency)
Open-Source Tools β€” Pine Script strategies and Python frameworks for the trading community
Full Trading Pipelines β€” From raw kline data to live execution, built and maintained independently


πŸ—ΊοΈ Predix Roadmap

Status Phase Feature
βœ… Done P0 Data Loader β€” OHLCV loading, HDF5 caching, thread-safe feature matrix builder
βœ… Done P1 Strategy Worker β€” LLM call wrapper, backtest engine, FTMO compliance gate
βœ… Done P2 Strategy Orchestrator β€” multi-process pool, LLM semaphore, result deduplication
βœ… Done P3 Optuna Optimizer β€” TPE sampler, FTMO penalty logic, 20–50 trials per strategy
βœ… Done P4 CLI Commands β€” generate_strategies, Rich console output
βœ… Done P5 ML Training Pipeline β€” LightGBM, time-series split, feature importance analysis
βœ… Done P6 fin_quant Feedback Loop β€” ML feature importance β†’ LLM prompt feedback
βœ… Done P7 Portfolio Optimizer β€” mean-variance, risk parity, Black-Litterman with LLM views
βœ… Done P8 Integration Tests β€” end-to-end pipeline, parallelisation, FTMO compliance
βœ… Done P9 Documentation β€” architecture diagrams, setup guide, data flow
πŸ”„ Next P10a Kronos-mini β€” OHLCV foundation model inference on EUR/USD (4.1M params, AAAI 2026, MIT)
πŸ“‹ Planned P10b Kronos as factor generator β€” kronos_predicted_return_96, volatility, momentum, uncertainty
πŸ“‹ Planned P10c Kronos + LLM Ensemble β€” Optuna-optimized weighting of DL + LLM alpha signals
πŸ“‹ Planned P10d Kronos fine-tuning on EUR/USD 1-min custom tokenizer (optional)
πŸ“‹ Planned P11 Live execution β€” offline/online split, Telegram signal alerts

πŸ› οΈ Stack

Core & AI

Python PyTorch LightGBM XGBoost scikit-learn LangChain

Model Architectures

Transformer LSTM PPO Stable-Baselines3

Data & Finance

pandas NumPy TA-Lib CCXT Qlib yfinance Binance API

Local LLM & Inference

llama.cpp Ollama CUDA OpenRouter

UI & Infra

Streamlit Docker Linux Pine Script


🌍 Open-Source Contributions

Project Contribution
TradingAgents ⭐ 34k Added llama.cpp local LLM support β€” run multi-agent stock analysis fully offline via .env config
OpenStock ⭐ 9.9k Updated deps, fixed Inngest v4 API, force-dynamic for auth routes β€” resolved 28 vulnerabilities, migrated Inngest v3β†’v4

πŸ“Š Activity

GitHub followers GitHub stars Predix commits Predix issues closed


πŸ“¬ Contact

Premium models & collaborations β†’ tpt.requests@pm.me
Mastodon β†’ @TPTBusiness@mastodon.social


⚠️ All content is for educational purposes only. Past performance does not guarantee future results.

Pinned Loading

  1. Predix Predix Public

    Autonomous AI agent for quantitative EUR/USD forex trading β€” automates factor discovery, model evolution, and backtesting on 1-minute data using a multi-agent LLM framework.

    Python 2

  2. VAMOStrategy VAMOStrategy Public

    Open-source Pine Script v6 strategy for TradingView, optimized for Bitcoin scalping. Uses a Volatility-Adjusted Momentum Oscillator (VAMO) for crossover signals, with ATR-based stops and profits, a…

    4