01.xyz Delta‑Neutral Points Farming Bot
01.xyz Delta‑Neutral Points Farming Bot **Overview** This Python bot automates perpetual trading on 01.xyz for multiple Solana wallets, with a primary focus on delta‑neutral (DN) group mode so you can farm 01 Points while minimizing directional market exposure. It wraps queue management, wallet grouping, and basic reporting around 01’s own non‑custodial perp engine and points program, which rewards on‑platform activity such as trading volume and liquidity provision with non‑transferable points distributed weekly across several mainnet phases. Instead of being a generic “spam orders” script, it organizes wallets into coordinated long/short groups, controls hold times, and lets you rebuild queues and emergency‑close positions from a simple terminal menu - making it suitable for structured points farming during 01’s ongoing points campaign. **What’s Included** - Dedicated 01.xyz perp bot with DN mode – Standalone build that only targets 01.xyz perpetuals, with support for both single‑wallet trading and delta‑neutral wallet groups driven by a custom 01 API client and trading logic. - Config‑driven trade parameters – Central config.py lets you set leverage, per‑pair trade sizes, which tokens to trade, min/max trade cycles (TRADES_COUNT), and delta‑neutral parameters like PAIR_SETTINGS["pair_amount"] and position_hold (in seconds) for each group. - Delta‑neutral wallet grouping – DN mode (menu option 2) groups wallets (default 3 per group), has one account place a limit order, and opens offsetting market legs on the other accounts once the limit fills so total notional long is approximately equal to total notional short. - Queue builder with mode‑aware presets – A (Re)Create queue action rebuilds the work queue from input/wallets.txt, with IDs 101 (single‑wallet queue) and 102 (delta‑neutral groups) so your queue structure matches the trading mode you plan to run. - Multi‑wallet execution with threading – The bot runs multiple wallets in parallel according to the THREADS setting, letting you scale DN farming volume across many accounts while keeping each wallet’s cycles bounded by your configured min/max trade count. - Basic risk and lifecycle controls – Menu option 3 “Sell all & cancel orders” closes all open positions and cancels orders for every wallet in the queue, respecting sell_settings in the config to provide a one‑shot safety valve if conditions change. - Minimal reporting and Excel export – A stats export path pulls account data from 01.xyz and writes it to an .xlsx file, giving you a basic historical view of activity and performance per wallet or queue for post‑hoc analysis of your points‑farming runs. - Input and runtime file layout – Private keys live in input/wallets.txt (plain base58 or label:privatekey), proxies in input/proxies.txt, and runtime data (queues, sessions, reports) is stored under data/, with a modular src/ structure for core storage, exchange client, trading logic, and utilities. - 01 Points‑aware usage pattern – By focusing on high‑frequency, bounded perp trading across many wallets, the bot is naturally aligned with 01’s Points Program, which distributes 10,000,000 non‑monetary points across Private Mainnet, Public Alpha, Public Beta, community rewards, and liquidity initiatives on a weekly schedule. **Who This Is For** This bot targets traders and airdrop farmers who already understand perp DEX mechanics and want to run a delta‑neutral, volume‑driven 01 farming stack without wiring their own wallet queues, grouping logic, and basic session management from scratch. It is particularly suited to users trying to maximize on‑platform activity during the 01 Points Program’s mainnet phases — where points are periodically distributed based on engagement like trading and liquidity provision — while keeping net market exposure near zero through DN strategies. You should be comfortable handling Solana private keys, tuning leverage and position sizes, and accepting that points are a non‑monetary participation metric that may or may not be tied to future rewards. **Important Disclaimer** This script interacts with live 01.xyz perpetual futures smart contracts and uses real Solana private keys loaded from local plaintext files, which means any compromise of your environment can lead to irreversible loss of funds. While the DN mode is designed to keep positions roughly delta‑neutral, it does not eliminate risk from execution slippage, partial fills, funding, liquidation, or misconfiguration of leverage and position sizes; using incorrect queue types (e.g., single‑wallet queue with DN mode) can also cause errors and unintended behavior. The 01 Points Program itself is explicitly non‑transferable and non‑monetary: points do not represent equity, claims on 01, or guaranteed future tokens, and 01 may change or terminate the program at any time. Nothing in this bot or its documentation constitutes financial, legal, or tax advice; you are solely responsible for complying with 01’s terms, local regulations, and managing your own operational and market risk when running automated strategies on‑chain.