-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
18 lines (15 loc) · 732 Bytes
/
.env.example
File metadata and controls
18 lines (15 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Required settings
RPC_URL=https://api.mainnet-beta.solana.com
WALLET_PRIVATE_KEY=your_private_key
SOURCE_ADDRESS=address_to_copy
# Risk Management Configuration
MAX_TRADE_SIZE_USD=1000 # Maximum trade size in USD
MIN_TRADE_SIZE_USD=10 # Minimum trade size in USD
MAX_SLIPPAGE_BPS=100 # Maximum slippage in basis points (1% = 100bps)
MAX_PORTFOLIO_ALLOCATION=0.25 # Maximum allocation per token (25%)
GAS_BUFFER_SOL=0.1 # SOL to keep for gas fees
# Portfolio Tolerance Settings
WEIGHT_TOLERANCE=0.02 # Portfolio weight tolerance (2%)
MIN_WEIGHT_THRESHOLD=0.01 # Minimum weight to consider (1%)
# Optional API Configuration
BIRDEYE_API_KEY=your_birdeye_api_key_here # Optional: BirdEye API key for price data