Example: Using the Trading Functionality
JuliaOS includes a comprehensive trading module that allows agents to execute trades on various DEXes across multiple blockchain networks. This feature enables automated trading strategies and portfolio management.
Trading Flow
The typical trading flow in JuliaOS involves these steps:
Create a Trading Agent (Agent Management menu)
Set Up a Wallet (Wallet Management menu)
Execute Trades (Trading menu)
You can navigate between these steps in several ways:
Trading Setup Wizard: A guided process that walks you through all steps
Quick Trade: Execute trades with minimal steps
Direct Navigation: Jump directly from Agent Management to Trading
# Start the CLI
./scripts/run-cli.sh # or node packages/cli/interactive.cjs
# Option 1: Use the Trading Setup Wizard
# Select "💱 Trading" from the main menu
# Choose "🧙 Trading Setup Wizard"
# Option 2: Create an agent first, then trade
# Select "👤 Agent Management" from the main menu
# Create a trading agent
# Use the "Trade Now" quick action
# Option 3: Use Quick Trade
# Select "💱 Trading" from the main menu
# Choose "⚡ Quick Trade"
Last updated