JupiterBot is an automated trading bot for Jupiter perpetuals on Solana, built with Elixir. It provides real-time market analysis, multiple trading strategies, and a console-based monitoring interface.
- Real-time price monitoring via WebSocket connection
- Multiple trading strategies:
- Moving Average (MA) crossover strategy
- Momentum-based trading
- Simple Moving Average (SMA) strategy
- Live trading statistics and visualization
- Risk management system
- Telemetry and performance monitoring
- Persistent state management
- Fault-tolerant architecture
The system is built using a supervision tree with the following main components:
- Trading Supervisor
- WebSocket Client for real-time data
- Strategy Managers
- Telemetry and Metrics
- Console Reporter for live monitoring
- Ensure you have Elixir installed on your system
- Add
jupiter_bot
to your dependencies inmix.exs
:
def deps do
[
{:jupiter_bot, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/jupiter_bot.