Complete guide to all Hyperliquid Trading Bot commands
The most important commands to get started:
/start # Show main menu with quick action buttons
/balance # Check your account balance
/long BTC 10 # Open long position with $10 USDC
/long BTC 10 sl:9500 # Long with automatic stop loss
/sl BTC 9000 # Set stop loss at $9,000
/tp BTC 11000 # Set take profit at $11,000
/monitoring # Check order monitoring status
/performance # Token performance ranking
/daily # Daily performance (last 10 days)
/alarm BTC 50000 # Set price alert for BTC at $50,000
/risk # Advanced risk metrics
/version # Bot version and system info
/sync force # Resync bot with exchange (if out of sync)
/help # Full command reference
๐ก Auto-Notifications: The bot automatically monitors your orders every 10 seconds and sends notifications when orders are filled!
Show your current account balance and P&L summary with detailed breakdown of available vs used funds.
Example:
/balance
Response:
๐ฐ Account Balance
๐ต USDC:
๐ Total: 1,250.00
โ
Available: 1,150.00
๐ In Use: 100.00
๐ต BTC:
๐ Total: 0.002
โ
Available: 0.001
๐ In Use: 0.001
๐ผ Portfolio Summary:
๐ฐ Total Value: $1,250.00
๐ Available for Trading: $1,150.00
๐ In Active Use: $100.00
๐ Performance:
๐ต P&L: $150.00 (+13.64%)
๐ Initial: $1,100.00
Display all open positions with unrealized P&L and percentages.
Example:
/positions
Response:
๐ Open Positions
๐ BTC (LONG)
๐ Size: 0.001000 BTC
๐ฐ Entry: $45,230.50
๐ต Value: $45.23
๐ข P&L: $1.84 (+4.07%)
๐ ETH (SHORT)
๐ Size: 0.010000 ETH
๐ฐ Entry: $3,200.00
๐ต Value: $32.00
๐ด P&L: -$0.75 (-2.34%)
๐ผ Total Portfolio:
๐ต Total Value: $77.23
๐ข Total P&L: $1.09 (+1.43%)
Show all pending/open orders, optionally filtered by token.
Usage:
/orders # Show all open orders
/orders <TOKEN> # Show open orders for specific token
Examples:
/orders # Show all open orders
/orders BTC # Show only Bitcoin orders
/orders ETH # Show only Ethereum orders
Response (All Orders):
๐ All Open Orders
๐ข BTC
๐ BUY 0.001 @ $44,500.00
๐ต Value: $44.50
๐ ID: abc123
๐ด ETH
๐ SELL 0.01 @ $3,400.00
๐ต Value: $34.00
๐ ID: def456
๐ก Filter by token: /orders BTC, /orders ETH
Response (Filtered):
๐ Open Orders - BTC
๐ข BTC
๐ BUY 0.001 @ $44,500.00
๐ต Value: $44.50
๐ ID: abc123
๐ข BTC
๐ BUY 0.002 @ $44,000.00
๐ต Value: $88.00
๐ ID: ghi789
๐ก Quick Actions:
โข /coo BTC - Cancel all BTC orders
โข /orders - View all orders
Response (No Orders):
๐ญ No open orders for BTC
๐ก No pending BTC orders found.
Use /long BTC 100 or /short BTC 100 to create new orders.
Cancel all open orders for a specific token.
Usage:
/coo <TOKEN>
Examples:
/coo BTC # Cancel all Bitcoin orders
/coo ETH # Cancel all Ethereum orders
How it works:
Confirmation Dialog:
โ ๏ธ Cancel All BTC Orders
๐ Orders to Cancel:
๐ข BUY 0.001 @ $44,500.00 ($44.50)
๐ข BUY 0.002 @ $44,000.00 ($88.00)
๐ด SELL 0.001 @ $46,000.00 ($46.00)
๐ฐ Total Value: $178.50
๐ข Orders Count: 3
โ ๏ธ Are you sure you want to cancel ALL BTC orders?
This action cannot be undone.
Success Response:
โ
Cancel Orders Results
๐ Summary:
โข Token: BTC
โข Cancelled: 3 orders
โข Failed: 0 orders
โข Total Attempted: 3 orders
๐๏ธ Successfully Cancelled:
๐ข BUY 0.001 @ $44,500.00
๐ข BUY 0.002 @ $44,000.00
๐ด SELL 0.001 @ $46,000.00
๐ All BTC orders successfully cancelled!
Complete trading statistics and performance metrics.
Example:
/stats
Response:
๐ Trading Statistics
๐ฐ Balance Overview
โข Initial: $1,000.00
โข Current: $1,150.00
โข Total P&L: $150.00
โข Total Return: 15.00%
๐ Trading Activity
โข Total Trades: 25
โข Buy Orders: 13
โข Sell Orders: 12
โข Days Active: 30
๐ Performance Metrics
โข Win Rate: 68.0%
โข Profit Factor: 2.15
โข Avg Win: $45.50
โข Avg Loss: $28.75
โข Expectancy: $6.25
๐ Risk Metrics
โข Sharpe Ratio: 1.85
โข Sortino Ratio: 2.41
โข Max Drawdown: 8.5%
โข Volatility: 12.3%
โข VaR (95%): 3.2%
๐ฏ Best/Worst
โข Largest Win: $125.50
โข Largest Loss: $45.25
โข Max Consecutive Wins: 5
โข Max Consecutive Losses: 2
๐
Since: 2024-01-15
Show token performance ranking or detailed stats for a specific token.
Usage:
/performance # Show all token rankings
/performance <TOKEN> # Detailed stats for specific token
Examples:
/performance # Token performance ranking
/performance BTC # Detailed Bitcoin performance
/performance ETH # Detailed Ethereum performance
Response (Ranking):
๐ Token Performance Ranking
๐ฅ BTC
๐ข P&L: $245.50 (+12.3%)
๐ Trades: 15 | Win: 73%
๐ฅ ETH
๐ข P&L: $125.75 (+8.9%)
๐ Trades: 12 | Win: 67%
๐ฅ SOL
๐ด P&L: -$25.00 (-2.1%)
๐ Trades: 8 | Win: 38%
๐ผ Portfolio Summary:
๐ข Total P&L: $346.25
๐ Tokens Traded: 3
๐ Completed Trades: 35
๐ก Usage: /performance BTC for detailed BTC stats
Response (Detailed):
๐ BTC Detailed Performance
๐ฐ P&L Summary:
โข ๐ข Total P&L: $245.50 (+12.3%)
โข ๐ต Total Volume: $2,150.00
โข ๐ Expectancy: $16.37
๐ Trading Activity:
โข Total Trades: 20
โข Completed: 15
โข Buy Orders: 11
โข Sell Orders: 9
๐ Performance Metrics:
โข Win Rate: 73.3%
โข Profit Factor: 2.85
โข Wins: 11 | Losses: 4
๐ก Best/Worst:
โข Largest Win: $85.50
โข Largest Loss: $35.25
โข Avg Win: $32.50
โข Avg Loss: $18.75
๐ Recent Trades:
โข ๐ด SELL $450 @ 12/15 14:30 | P&L: $25.50
โข ๐ข BUY $425 @ 12/14 09:15
โข ๐ด SELL $380 @ 12/13 16:45 | P&L: $15.25
๐ Use /performance to see all token rankings
Show daily performance breakdown for the last 10 days.
Example:
/daily
Response:
๐
Daily Performance (Last 10 Days)
๐ Dec 15, 2024
๐ข P&L: $45.25 (+2.1%)
๐ Trades: 3
๐ Dec 14, 2024
๐ด P&L: -$15.50 (-0.7%)
๐ Trades: 2
๐ Dec 13, 2024
๐ข P&L: $85.75 (+4.2%)
๐ Trades: 5
๐ Dec 12, 2024
๐ข P&L: $12.00 (+0.6%)
๐ Trades: 1
๐ Dec 11, 2024
๐ข P&L: $25.50 (+1.3%)
๐ Trades: 2
๐ผ 10-Day Summary:
๐ข Total P&L: $153.00
๐ Total Trades: 13
๐ Avg per Day: $15.30
Show weekly performance breakdown for the last 10 weeks.
Example:
/weekly
Response:
๐ Weekly Performance (Last 10 Weeks)
๐ Week Dec 9-15, 2024
๐ข P&L: $125.50 (+5.8%)
๐ Trades: 8
๐ Week Dec 2-8, 2024
๐ข P&L: $85.25 (+4.1%)
๐ Trades: 6
๐ Week Nov 25-Dec 1, 2024
๐ด P&L: -$25.75 (-1.2%)
๐ Trades: 4
๐ Week Nov 18-24, 2024
๐ข P&L: $45.00 (+2.3%)
๐ Trades: 3
๐ผ 10-Week Summary:
๐ข Total P&L: $230.00
๐ Total Trades: 21
๐ Avg per Week: $23.00
Show monthly performance breakdown for the last 10 months.
Example:
/monthly
Response:
๐ Monthly Performance (Last 10 Months)
๐
December 2024
๐ข P&L: $245.50 (+11.2%)
๐ Trades: 15
๐
November 2024
๐ข P&L: $185.25 (+9.1%)
๐ Trades: 12
๐
October 2024
๐ด P&L: -$45.75 (-2.1%)
๐ Trades: 8
๐
September 2024
๐ข P&L: $125.00 (+6.5%)
๐ Trades: 10
๐ผ 10-Month Summary:
๐ข Total P&L: $510.00
๐ Total Trades: 45
๐ Avg per Month: $51.00
Open a long position using market order or limit order, with optional automatic stop loss.
Usage:
/long <TOKEN> <USDC_AMOUNT> # Market order
/long <TOKEN> <USDC_AMOUNT> <PRICE> # Limit order
/long <TOKEN> <USDC_AMOUNT> sl:<STOP_PRICE> # Market order with stop loss
/long <TOKEN> <USDC_AMOUNT> <PRICE> sl:<STOP_PRICE> # Limit order with stop loss
Examples:
/long BTC 100 # Long Bitcoin with $100 USDC (Market Order)
/long BTC 100 45000 # Long Bitcoin with $100 USDC at $45,000 (Limit Order)
/long BTC 100 sl:44000 # Market order with automatic stop loss at $44,000
/long BTC 100 45000 sl:44000 # Limit order at $45,000 with stop loss at $44,000
/long ETH 50 # Long Ethereum with $50 USDC (Market Order)
/long ETH 50 3200 # Long Ethereum with $50 USDC at $3,200 (Limit Order)
/long ETH 50 sl:3100 # Market order with stop loss at $3,100
/long ETH 50 3200 sl:3100 # Limit order with stop loss at $3,100
Stop Loss Validation:
sl:price
format to distinguish from limit priceHow it works:
token_amount = usdc_amount / price
Market Order Confirmation:
๐ข Long Position Confirmation
๐ Order Details:
โข Token: BTC
โข Direction: LONG (Buy)
โข USDC Value: $100.00
โข Current Price: $45,230.50
โข Order Type: Market Order
โข Token Amount: 0.002211 BTC
๐ฏ Execution:
โข Will buy 0.002211 BTC at current market price
โข Est. Value: $100.00
โ ๏ธ Are you sure you want to open this long position?
Limit Order Confirmation:
๐ข Long Position Confirmation
๐ Order Details:
โข Token: BTC
โข Direction: LONG (Buy)
โข USDC Value: $100.00
โข Current Price: $45,230.50
โข Order Type: Limit Order
โข Token Amount: 0.002222 BTC
๐ฏ Execution:
โข Will buy 0.002222 BTC at $45,000.00
โข Est. Value: $100.00
โ ๏ธ Are you sure you want to open this long position?
Open a short position using market order or limit order, with optional automatic stop loss.
Usage:
/short <TOKEN> <USDC_AMOUNT> # Market order
/short <TOKEN> <USDC_AMOUNT> <PRICE> # Limit order
/short <TOKEN> <USDC_AMOUNT> sl:<STOP_PRICE> # Market order with stop loss
/short <TOKEN> <USDC_AMOUNT> <PRICE> sl:<STOP_PRICE> # Limit order with stop loss
Examples:
/short BTC 100 # Short Bitcoin with $100 USDC (Market Order)
/short BTC 100 46000 # Short Bitcoin with $100 USDC at $46,000 (Limit Order)
/short BTC 100 sl:47000 # Market order with automatic stop loss at $47,000
/short BTC 100 46000 sl:47000 # Limit order at $46,000 with stop loss at $47,000
/short ETH 50 # Short Ethereum with $50 USDC (Market Order)
/short ETH 50 3400 # Short Ethereum with $50 USDC at $3,400 (Limit Order)
/short ETH 50 sl:3500 # Market order with stop loss at $3,500
/short ETH 50 3400 sl:3500 # Limit order with stop loss at $3,500
Stop Loss Validation:
sl:price
format to distinguish from limit priceHow it works:
token_amount = usdc_amount / price
Market Order Confirmation:
๐ด Short Position Confirmation
๐ Order Details:
โข Token: BTC
โข Direction: SHORT (Sell)
โข USDC Value: $100.00
โข Current Price: $45,230.50
โข Order Type: Market Order
โข Token Amount: 0.002211 BTC
๐ฏ Execution:
โข Will sell 0.002211 BTC at current market price
โข Est. Value: $100.00
โ ๏ธ Are you sure you want to open this short position?
Limit Order Confirmation:
๐ด Short Position Confirmation
๐ Order Details:
โข Token: BTC
โข Direction: SHORT (Sell)
โข USDC Value: $100.00
โข Current Price: $45,230.50
โข Order Type: Limit Order
โข Token Amount: 0.002174 BTC
๐ฏ Execution:
โข Will sell 0.002174 BTC at $46,000.00
โข Est. Value: $100.00
โ ๏ธ Are you sure you want to open this short position?
Close an open position using market order.
Usage:
/exit <TOKEN>
Examples:
/exit BTC # Close Bitcoin position (long or short)
/exit ETH # Close Ethereum position
/exit SOL # Close Solana position
How it works:
Confirmation Dialog:
๐ด Exit Position Confirmation
๐ Position Details:
โข Token: BTC
โข Position: LONG
โข Size: 0.002211 contracts
โข Entry Price: $45,230.50
โข Current Price: $46,150.00
โข ๐ข Unrealized P&L: $203.45
๐ฏ Exit Order:
โข Action: SELL (Close LONG)
โข Amount: 0.002211 BTC
โข Est. Value: ~$102.03
โข Order Type: Market Order
โ ๏ธ Are you sure you want to close this LONG position?
This will place a market sell order to close your entire BTC position.
Set a stop loss order to limit downside risk.
Usage:
/sl <TOKEN> <PRICE>
Examples:
/sl BTC 44000 # Stop loss for Bitcoin at $44,000
/sl ETH 3200 # Stop loss for Ethereum at $3,200
How it works:
Confirmation Dialog:
๐ Stop Loss Order Confirmation
๐ Position Details:
โข Token: BTC
โข Position: LONG
โข Size: 0.002211 contracts
โข Entry Price: $45,230.50
โข Current Price: $46,150.00
๐ฏ Stop Loss Order:
โข Stop Price: $44,000.00
โข Action: SELL (Close LONG)
โข Amount: 0.002211 BTC
โข Order Type: Limit Order
โข ๐ด Est. P&L: -$272.15
โ ๏ธ Are you sure you want to set this stop loss?
This will place a limit sell order at $44,000.00 to protect your LONG position.
Set a take profit order to secure gains.
Usage:
/tp <TOKEN> <PRICE>
Examples:
/tp BTC 50000 # Take profit for Bitcoin at $50,000
/tp ETH 3800 # Take profit for Ethereum at $3,800
How it works:
Confirmation Dialog:
๐ฏ Take Profit Order Confirmation
๐ Position Details:
โข Token: BTC
โข Position: LONG
โข Size: 0.002211 contracts
โข Entry Price: $45,230.50
โข Current Price: $46,150.00
๐ฐ Take Profit Order:
โข Target Price: $50,000.00
โข Action: SELL (Close LONG)
โข Amount: 0.002211 BTC
โข Order Type: Limit Order
โข ๐ข Est. P&L: $1,054.35
โ ๏ธ Are you sure you want to set this take profit?
This will place a limit sell order at $50,000.00 to capture profits from your LONG position.
Quick price check for any token.
Usage:
/price # Default trading token price
/price <TOKEN> # Specific token price
Examples:
/price # Default token price
/price BTC # Bitcoin price
/price ETH # Ethereum price
/price SOL # Solana price
Response:
๐ต BTC: $45,230.50
โฐ Updated: 14:25:30
๐ก Usage: /price BTC or /price for default
Detailed market data with orderbook information.
Usage:
/market # Default trading token market data
/market <TOKEN> # Specific token market data
Examples:
/market # Default token market data
/market BTC # Bitcoin market data
/market ETH # Ethereum market data
Response:
๐ Market Data - BTC
๐ต Current Price: $45,230.50
๐ 24h High: $46,850.00
๐ 24h Low: $44,120.00
๐ 24h Volume: 2,450.25
๐ข Best Bid: $45,225.00
๐ด Best Ask: $45,235.00
๐ Spread: $10.00 (0.022%)
๐ก Usage: /market BTC or /market for default
Recent trade history.
Example:
/trades
Response:
๐ Recent Trades
๐ข BUY 0.002211 BTC/USDC:USDC
๐ฐ $45,230.50 | ๐ต $100.00
๐
12/15 14:25
๐ด SELL 0.001850 ETH/USDC:USDC
๐ฐ $3,200.00 | ๐ต $59.20
๐
12/15 13:40
๐ข BUY 0.008500 SOL/USDC:USDC
๐ฐ $85.00 | ๐ต $72.25
๐
12/15 12:15
Comprehensive price alert system with multiple usage patterns.
Usage:
/alarm # List all active alarms
/alarm <TOKEN> # List alarms for specific token
/alarm <TOKEN> <PRICE> # Set new alarm
/alarm <ALARM_ID> # Remove alarm by ID
Examples:
/alarm # List all alarms
/alarm BTC # List Bitcoin alarms
/alarm BTC 50000 # Set BTC alarm at $50,000
/alarm ETH 3500 # Set ETH alarm at $3,500
/alarm 3 # Remove alarm ID 3
Set New Alarm:
/alarm BTC 50000
Response:
โ
Price Alarm Created
๐ Alarm Details:
โข Alarm ID: 5
โข Token: BTC
โข Target Price: $50,000.00
โข Current Price: $45,230.50
โข Direction: ABOVE
๐ Alert Condition:
Will trigger when BTC price moves above $50,000.00
๐ฐ Price Difference:
โข Distance: $4,769.50 (10.55%)
โข Status: ACTIVE โ
โฐ Created: 14:25:30
๐ก The alarm will be checked every 10 seconds and you'll receive a notification when triggered.
List All Alarms:
/alarm
Response:
๐ Active Price Alarms (5 total)
๐จ Alarm #1: BTC
โข Target: $50,000.00 (ABOVE)
โข Current: $45,230.50
โข Distance: $4,769.50 (10.55%)
๐จ Alarm #2: ETH
โข Target: $3,500.00 (ABOVE)
โข Current: $3,200.00
โข Distance: $300.00 (9.38%)
๐จ Alarm #3: BTC
โข Target: $44,000.00 (BELOW)
โข Current: $45,230.50
โข Distance: $1,230.50 (2.72%)
๐ก Usage:
โข /alarm BTC - Show BTC alarms only
โข /alarm BTC 52000 - Set new BTC alarm
โข /alarm 3 - Remove alarm ID 3
List Token Alarms:
/alarm BTC
Response:
๐ BTC Price Alarms (2 total)
๐จ Alarm #1: BTC
โข Target: $50,000.00 (ABOVE)
โข Current: $45,230.50
โข Distance: $4,769.50 (10.55%)
๐จ Alarm #3: BTC
โข Target: $44,000.00 (BELOW)
โข Current: $45,230.50
โข Distance: $1,230.50 (2.72%)
๐ก Set new: /alarm BTC 52000
๐ก Remove: /alarm 1 or /alarm 3
Alarm Triggered Notification:
๐จ PRICE ALARM TRIGGERED! ๐จ
๐ Alarm Details:
โข Token: BTC
โข Target Price: $50,000.00
โข Current Price: $50,125.50
โข Direction: ABOVE
โ
Condition Met: BTC moved ABOVE $50,000.00
โฐ Triggered: 16:45:22
๐ฏ Alarm ID: 1 (automatically removed)
๐ก Price has increased by $4,895.00 (+10.82%) since alarm was set.
Remove Alarm:
/alarm 3
Response:
โ
Alarm ID 3 has been removed.
The bot automatically monitors your orders and positions every 10 seconds and sends real-time notifications when orders are filled.
๐ Position Opened Notifications
๐ Position Opened
๐ Trade Details:
โข Token: BTC
โข Direction: LONG
โข Size: 0.002 contracts
โข Entry Price: $45,230.50
โข Value: $90.46
โ
Status: New LONG position opened
โฐ Time: 14:25:30
๐ฑ Use /positions to view all positions
๐ฏ Position Closed Notifications
๐ฏ Position Closed
๐ Trade Summary:
โข Token: BTC
โข Direction: LONG
โข Size: 0.002 contracts
โข Entry Price: $45,230.50
โข Exit Price: $46,150.00
โข Exit Value: $92.30
๐ข Profit & Loss:
โข P&L: $1.84 (+2.04%)
โข Result: PROFIT
โ
Status: Position fully closed
โฐ Time: 16:45:22
๐ Use /stats to view updated performance
๐ Partial Position Closed
๐ Position Partially Closed
๐ Partial Close Details:
โข Token: BTC
โข Direction: LONG
โข Closed Size: 0.001 contracts
โข Entry Price: $45,230.50
โข Exit Price: $46,150.00
๐ข Partial P&L:
โข P&L: $0.92 (+2.04%)
โ
Status: Partial position closed
โฐ Time: 15:30:15
๐ Use /positions to view remaining position
๐ External Trade Detection
๐ External Trade Detected
๐ Trade Details:
โข Token: ETH
โข Side: BUY
โข Amount: 0.015 ETH
โข Price: $3,200.00
โข Value: $48.00
๐ข Source: Direct Platform Trade
โฐ Time: 14:35:20
๐ Note: This trade was executed outside the Telegram bot
๐ Stats have been automatically updated
Check the status of all monitoring systems.
Example:
/monitoring
Response:
๐ System Monitoring Status
๐ Order Monitoring:
โข Active: โ
Yes
โข Check Interval: 10 seconds
โข Orders Tracked: 3
โข Positions Tracked: 2
๐ Price Alarms:
โข Active Alarms: 5
โข Triggered Today: 2
โข Tokens Monitored: 3
โข Next Alarm ID: 6
๐ External Trade Monitoring:
โข Last Check: 2024-12-15 14:25:30
โข Auto Stats Update: โ
Enabled
โข External Notifications: โ
Enabled
๐ก๏ธ Risk Management:
โข Automatic Stop Loss: โ Disabled
โข Stop Loss Threshold: 5.0%
โข Position Monitoring: โ Inactive
๐ Notifications:
โข ๐ Position Opened/Increased
โข ๐ Position Partially/Fully Closed
โข ๐ฏ P&L Calculations
โข ๐ Price Alarm Triggers
โข ๐ External Trade Detection
โข ๐ Automatic Stop Loss Triggers
โฐ Last Check: 14:25:30
๐ก Monitoring Features:
โข Real-time order fill detection
โข Automatic P&L calculation
โข Position change tracking
โข Price alarm monitoring
โข External trade monitoring
โข Auto stats synchronization
โข Instant Telegram notifications
๐ Active Alarms by Token:
โข BTC: 2 alarms
โข ETH: 2 alarms
โข SOL: 1 alarm
View log file statistics and manage log cleanup.
Usage:
/logs # Show log statistics
/logs cleanup # Clean logs older than 30 days (default)
/logs cleanup <DAYS> # Clean logs older than specified days
Examples:
/logs # View log stats
/logs cleanup # Clean old logs (30 days)
/logs cleanup 7 # Clean logs older than 7 days
Log Statistics:
๐ System Logging Status
๐ Current Log Files:
โข Main Log: trading_bot_20241215.log (2.5 MB)
โข Error Log: bot_errors.log (0.8 MB)
โข Archive Files: 5 files (12.3 MB total)
๐ Log Activity (Last 24h):
โข Total Entries: 2,450
โข Info: 2,180 (89%)
โข Warning: 195 (8%)
โข Error: 75 (3%)
๐พ Disk Usage:
โข Current Logs: 3.3 MB
โข Archive Logs: 12.3 MB
โข Total Usage: 15.6 MB
๐ Log Configuration:
โข Log Level: INFO
โข Heartbeat Interval: 30s
โข Bot Uptime: 2024-12-15 14:25:30
๐ก Log Management:
โข /logs cleanup - Clean old logs (30 days)
โข /logs cleanup 7 - Clean logs older than 7 days
โข Log rotation happens automatically
โข Old backups are removed automatically
๐ง Configuration:
โข Rotation Type: SIZE
โข Max Size: 10MB (size rotation)
โข Backup Count: 5
Log Cleanup:
/logs cleanup 7
Response:
๐งน Cleaning up log files older than 7 days...
โ
Log cleanup completed!
Show advanced risk metrics and portfolio analysis.
Example:
/risk
Response:
๐ Risk Analysis & Advanced Metrics
๐ฏ Risk-Adjusted Performance:
โข Sharpe Ratio: 1.850
โข Sortino Ratio: 2.410
โข Annual Volatility: 12.30%
๐ Drawdown Analysis:
โข Maximum Drawdown: 8.50%
โข Value at Risk (95%): 3.20%
๐ฐ Portfolio Context:
โข Current Balance: $1,150.00
โข Initial Balance: $1,000.00
โข Total P&L: $150.00
โข Days Active: 30
๐ Risk Interpretation:
โข ๐ข Good risk-adjusted returns (Sharpe > 1.0)
โข ๐ข Low maximum drawdown (< 15%)
โข ๐ก Moderate portfolio volatility (< 25%)
๐ก Risk Definitions:
โข Sharpe Ratio: Risk-adjusted return (excess return / volatility)
โข Sortino Ratio: Return / downside volatility (focuses on bad volatility)
โข Max Drawdown: Largest peak-to-trough decline
โข VaR 95%: Maximum expected loss 95% of the time
โข Volatility: Annualized standard deviation of returns
๐ Data Based On:
โข Completed Trades: 25
โข Daily Balance Records: 30
โข Trading Period: 30 days
Show bot version and system information.
Example:
/version
Response:
๐ค Trading Bot Version & System Info
๐ฑ Bot Information:
โข Version: v2.0.0
โข Network: Mainnet
โข Uptime: 2d 5h 30m
โข Default Token: BTC
๐ป System Information:
โข Python: 3.11.5
โข Platform: Darwin arm64
โข Architecture: arm64
๐ Trading Stats:
โข Total Orders: 45
โข Completed Trades: 25
โข Days Active: 30
โข Start Date: 2024-01-15
๐ Monitoring Status:
โข Order Monitoring: โ
Active
โข External Trades: โ
Active
โข Price Alarms: โ
Active (5 active)
โข Risk Management: โ Disabled
โฐ Current Time: 2024-12-15 14:25:30
Clear all local bot data and resynchronize with the exchange. This is useful if the bot gets out of sync with your exchange positions/orders.
Example:
/sync force
What it does:
Safety Features:
Use Cases:
What gets cleared:
What gets preserved:
Response:
โ
Synchronization Complete!
๐ Sync Results:
โข Positions Recreated: 2
โข Orders Linked: 3
โข Current Balance: $1,250.00
๐ What was reset:
โข Local trade tracking
โข Pending orders database
โข Order monitoring state
๐ฏ What was preserved:
โข Historical performance data
โข Balance adjustment history
โข Completed trade statistics
๐ก The bot is now synchronized with your exchange state and ready for trading!
Show deposit and withdrawal history for accurate P&L tracking.
Example:
/balance_adjustments
Response:
๐ฐ Balance Adjustments History
๐ Summary:
โข Total Deposits: $500.00
โข Total Withdrawals: $200.00
โข Net Adjustment: $300.00
โข Total Transactions: 3
๐
Recent Adjustments:
โข ๐ฐ 12/15 09:30: +$200.00
โข ๐ธ 12/10 16:45: -$150.00
โข ๐ฐ 12/05 11:20: +$300.00
๐ก How it Works:
โข Bot checks for deposits/withdrawals every hour
โข Adjustments maintain accurate P&L calculations
โข Non-trading balance changes don't affect performance metrics
โข Trading statistics remain pure and accurate
โฐ Last Check: 12/15 14:00
/positions
/stats
and /performance
/alarm
for key levels/daily
and /weekly
/long BTC 10 # Quick $10 long (market)
/long BTC 10 44000 # Quick $10 long at $44k (limit)
/sl BTC 42000 # Set stop loss
/tp BTC 48000 # Set take profit
/exit BTC # Close position
# Long position protection
/long BTC 100 # Open long
/sl BTC 42000 # Stop loss 5% below
/tp BTC 50000 # Take profit 10% above
/alarm BTC 41000 # Emergency alert
/stats # Overall performance
/performance # Token rankings
/daily # Daily breakdown
/weekly # Weekly trends
/monthly # Monthly analysis
/performance BTC # Detailed BTC stats
/alarm BTC 50000 # Set upside alert
/alarm BTC 40000 # Set downside alert
/alarm # Check all alarms
/alarm BTC # Check BTC alarms
/alarm 3 # Remove alarm ID 3
/balance # Check account
/positions # Monitor open trades
/monitoring # Check system status
/orders # All open orders
/logs # System health
/sync force # Resync with exchange
.env
file with API keys/balance
and /price
/long BTC 10
for a small market order/monitoring
to check auto-notifications/positions
, /stats
, and /performance
/alarm BTC 50000
for price notifications/daily
, /weekly
performanceHappy trading! ๐ฑ๐ฐ