Key Features
Order Book Monitoring:
The bot receives order book data for selected trading pairs (e.g. BTC-USDC, ETH-USDC) via Hyperliquid API.
Calculates the total volume of buy and sell orders within a specified price range (e.g. ±1% of the current price).
Imbalance detection:
If the volume of buy orders exceeds the volume of sell orders in a specified ratio (for example, 2:1), the bot initiates a buy order.
If the volume of sell orders exceeds the volume of buy orders, the bot initiates a sell order.
Execution of transactions:
The user can select the type of order: market (for immediate execution) or limit (at a specified price).
The size of the transaction is customizable (for example, a fixed amount or a percentage of the balance).
Customizable Parameters:
Trading pairs for monitoring.
Price range for volume calculation (e.g. ±1% of the current price).
An imbalance threshold (e.g., a 2:1 ratio).
Transaction size.
Time filters (e.g., trading only during certain hours).
Stop-loss
Take-profit
Trailing stop
Интеграция с API:
Uses WebSocket to retrieve order book data in real time.
Executes transactions through Hyperliquid API endpoints.
Last updated