{"repo":"Draichi/T-1000","free":true,"listed":false,"github":"https://github.com/Draichi/T-1000","clone":"git clone https://github.com/Draichi/T-1000.git","description":":zap: :zap: Deep RL (PPO) agent that manages a Uniswap V3 concentrated liquidity position, deciding when to hold, collect fees, or rebalance. Trained and validated against real on-chain data","language":"Python","stars":176,"topics":["defi","ethereum","gymnasium","ppo","reinforcement-learning","stable-baselines3","uniswap-v3"],"license":null,"category":"blockchain-web3","readme_excerpt":"T-1000 PoC: a Deep RL (PPO) agent that decides how to manage a concentrated liquidity position on the Uniswap V3 ETH/USDC 0.05% pool ( 0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640 ): hold, collect fees, or re-adjust the range. Maximizing fees earned minus impermanent loss minus gas cost, against a simulator validated with real on-chain data. Animated replay of a backtest over a 6-month held-out period (2025-01-01 to 2025-06-30) the agent never trained on. Top panel: portfolio value over time, PPO (blue) vs. the full-range baseline (gray). Middle panel: the ETH/USD price (white line) with each policy's current position range drawn as a band underneath it, plus the PPO agent's action for that step in the top-right corner. Bottom panel: cumulative gas cost paid by each policy. As the price falls and later recovers, the PPO agent repeatedly narrows and shifts its range to stay concentrated near the current price (and exits to cash during the roughest stretch), trading a higher gas bill for better fee capture and less exposure to impermanent loss than the static baseline. For a beginner-friendly, step-by-step explanation of how the simulator and the RL pipeline actually work under the hood (including how Uniswap V3 fee accounting works, explained from scratch), see docs/HOW IT WORKS.md . Setup Requires uv and a Google Cloud account with BigQuery access (the 1TB/month free tier is enough). You'll need your own GCP project with billing enabled (billing is what unlocks the free tier's ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Draichi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Draichi/T-1000/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}