{"repo":"dYdX-Trading-Lab/dydx-v4-perpetual-trading-bot","free":true,"listed":false,"github":"https://github.com/dYdX-Trading-Lab/dydx-v4-perpetual-trading-bot","clone":"git clone https://github.com/dYdX-Trading-Lab/dydx-v4-perpetual-trading-bot.git","description":"dydx-v4-perpetual-trading-bot — Dydx V4 Perpetual Trading Bot. dydx-v4-perpetual-trading-bot is an open-source dydx v4 perpetual trading bot. Find dydx-v4-perpetual-trading-bot, dydx v4 perpetual trading bot, dydx v4 perpetual trading bot. dydx-v4-perpetual-trading-bot: dYdX v4 Perpetual Trading Bot — paper + live decentralized CLOB trading bot","language":"TypeScript","stars":10,"topics":["bot","dydx","perpetual","perpetual-trading","perpetual-trading-bot","trading","trading-bot","v4","decentralized-perp-clob","dydx-chain-trading"],"license":"MIT","category":"trading","readme_excerpt":"dYdX v4 Perpetual Trading Bot Cosmos appchain CLOB — pro derivatives with orderbook microstructure dydx · Cosmos appchain · paper + live · risk-gated · MIT Languages: English · 中文 · Deutsch · Español Search keywords: dydx v4 trading bot · dydx perpetual bot · dydx chain trading · decentralized perp CLOB --- Project workflow Clone → configure → paper → credentials → live. Risk guardian is always on before any order intent. -- -- npm run paper Paper first — no keys npm run dashboard Open local analytics dashboard (static) npm run live Requires --confirm-live + wallet/RPC credentials --- Platform fit -- -- Venue dydx Chain Cosmos appchain Model decentralized CLOB Symbol BTC-USD Edge Cosmos appchain CLOB — pro derivatives with orderbook microstructure Unique modules orderbook/ , signals/ , margin/ , chain/ --- Trading strategy dYdX v4 is a Cosmos appchain decentralized CLOB built for pro derivatives. This bot’s edge is orderbook microstructure : it enters when book imbalance aligns with short-window momentum , but only if margin health clears a minimum ratio — so account stress can veto a “good” signal. How it works - Imbalance entry — Compare bid vs ask depth; require imbalance ≥ imbalanceEntry before considering a side. - Momentum confirm — Short mid-price window ( momentumWindow ) must agree with imbalance direction. - Margin health gate — Equity / used margin must exceed minMarginRatio or the loop holds. - Percent exits — Take-profit / stop-loss as % of entry ( takeProfitPct ","default_branch":null,"files":null,"tree":[],"storefront":"/r/dYdX-Trading-Lab","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dYdX-Trading-Lab/dydx-v4-perpetual-trading-bot/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."}