Small mm bot for trading the PhoenixTrade dex. Via SDK and web3.js library for order management, and ccxt for accessing real-time and historical market data.
- Order Management System (OMS): Manages the lifecycle of market orders including creation, submission, cancellation, and status tracking.
- Market Data Analysis: Fetches real-time and historical data from Binance using the ccxt library.
- Technical Analysis Indicators: Implements some indicators like EMA and BBands for market analysis.
- Simple Order Sizing: Adjusts order size using market volatility.
- Inventory Management: Manages trader inventory.
- Bundle transactions - compute fees + slight obfuscation of intent + needed for multistep instructions.
- Targeted Order Cancellation - better order cancelling
- Instruction support Better support for instructions available from the sdk
-
Clone the Repository:
git clone https://github.com/parastrom/phoenix-bot.git cd phoenix-bot
-
Install Depedencies:
npm install
-
Environment Configuration: Create a .env file with necessary configurations including PRIVATE_KEY and RPC_URL (If mainnet then the mainnet pool + info will need to be added)
Execute the bot using the command
npm start