- Install Java 11 or higher
- Install Maven (recommended) or download dependencies manually
# Make scripts executable (Linux/Mac)
chmod +x build.sh run.sh
# Build the project
./build.sh
# Run the application
./run.shOr use Maven directly:
mvn clean package
java -jar target/crypto-trading-client-1.0-SNAPSHOT-jar-with-dependencies.jarmvn clean package
java -jar target\crypto-trading-client-1.0-SNAPSHOT-jar-with-dependencies.jar- App Launches: You'll see a demo account with $10,000 created automatically
- Browse Tokens: Left panel shows top 100 cryptocurrencies
- Click a Token: View its price chart and details
- Try Trading:
- Click green "Buy" button to purchase crypto
- Click red "Sell" button to sell (if you own some)
- Check P&L: Bottom right shows your account's profit/loss chart
- Account Menu → Create/switch accounts, view all accounts
- Wallet Menu → Deposit/withdraw funds
- Trading Menu → View watchlist, open positions
- ★ Watch Button → Add crypto to your watchlist
- Refresh Button → Update market data
crypto-trading-client/
├── *.java # All Java source files
├── pom.xml # Maven configuration
├── build.sh # Build script (Linux/Mac)
├── run.sh # Run script (Linux/Mac)
├── README.md # Full documentation
├── QUICKSTART.md # This file
└── accounts/ # Created automatically for account data
└── *.json # Account files (created on first use)
"Maven not found": Install Maven from https://maven.apache.org/download.cgi
"Java not found": Install Java 11+ from https://adoptium.net/
API errors: Check internet connection; CoinGecko API is free but rate-limited
Chart not showing: Make sure dependencies compiled correctly with Maven
- Create a new account (Account → Create Account)
- Buy some Bitcoin or Ethereum
- Watch the P&L chart update (bottom right panel)
- Check open positions (Trading → Open Positions)
- Add cryptos to watchlist and view them (Trading → Watchlist)
- Create multiple accounts and compare performance
- Simulate different trading strategies
- Track 24-hour P&L movements
- Use the search box to find specific tokens
- Watch real-time price changes (refresh button)
Enjoy your crypto trading simulation! 🚀