-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
159 lines (146 loc) · 7.33 KB
/
Copy path.env.example
File metadata and controls
159 lines (146 loc) · 7.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
# =============================================================================
# Pump Trader Pro — Environment Configuration
# =============================================================================
# Copy this file to `.env` and fill in your values.
# Lines starting with `#` are comments. Empty values are ignored.
# ---------------------------------------------------------------------------
# Logging
# ---------------------------------------------------------------------------
RUST_LOG=info
# ---------------------------------------------------------------------------
# Trading mode
# ---------------------------------------------------------------------------
# LIVE_MODE=true → real orders sent through PumpAPI
# LIVE_MODE=false → paper mode with simulated fills
LIVE_MODE=false
# ---------------------------------------------------------------------------
# Wallet credentials
# ---------------------------------------------------------------------------
# PRIVATE_KEY — base58-encoded Solana private key (live mode, full signing)
# PUBLIC_KEY — public key for unsigned live mode (API returns an unsigned
# transaction that must be signed externally)
PRIVATE_KEY=
PUBLIC_KEY=
# ---------------------------------------------------------------------------
# PumpAPI endpoints
# ---------------------------------------------------------------------------
# PUMPAPI_URL — HTTP endpoint for trade/order submission (POST /)
# STREAM_URL — WebSocket URL for live market data
# STREAM_RECONNECT_SECS — WebSocket reconnection delay (s)
# REPLAY_BASE_URL — base URL for hourly replay archives (.jsonl.zst)
# REPLAY_CACHE_DIR — local directory to cache downloaded replay archives
PUMPAPI_URL=https://api.pumpapi.io
STREAM_URL=wss://stream.pumpapi.io/
STREAM_RECONNECT_SECS=5
REPLAY_BASE_URL=https://replay.pumpapi.io
REPLAY_CACHE_DIR=./replay-cache
# ---------------------------------------------------------------------------
# Jito Bundles
# ---------------------------------------------------------------------------
# JITO_ENABLED — use Jito bundles for order submission (true/false)
# JITO_TIP_SOL — tip amount in SOL paid to Jito validators
JITO_ENABLED=true
JITO_TIP_SOL=0.0002
# ---------------------------------------------------------------------------
# Order parameters
# ---------------------------------------------------------------------------
# SLIPPAGE_PCT — max slippage tolerated on live orders (%)
# PRIORITY_FEE_SOL — base priority fee for PumpAPI transactions (SOL)
# QUOTE_MINT — restrict trading to this quote-mint (empty = SOL/WSOL)
# POOL_ID — restrict trading to this specific pool (empty = any)
SLIPPAGE_PCT=20.0
PRIORITY_FEE_SOL=0.00002
QUOTE_MINT=
POOL_ID=
# ---------------------------------------------------------------------------
# Capital and risk
# ---------------------------------------------------------------------------
# ACCOUNT_BALANCE_SOL — starting equity used for position sizing
# MAX_RISK_PCT — max % of account risked on any single trade
# MAX_DAILY_LOSS_PCT — halt new entries after this % daily drawdown
# MAX_CONCURRENT_POSITIONS — hard cap on simultaneously open positions
# MIN_POSITION_SOL — smallest position allowed (SOL)
# MAX_POSITION_SOL — largest position allowed (SOL)
ACCOUNT_BALANCE_SOL=2.0
MAX_RISK_PCT=1.0
MAX_DAILY_LOSS_PCT=5.0
MAX_CONCURRENT_POSITIONS=5
MIN_POSITION_SOL=0.03
MAX_POSITION_SOL=0.10
# ---------------------------------------------------------------------------
# Exit strategy
# ---------------------------------------------------------------------------
# TP_PCT — take-profit percentage above entry
# SL_PCT — stop-loss percentage below entry
# TRAILING_STOP — enable trailing stop (true/false)
# TRAILING_ACTIVATION_PCT — profit % before trailing activates
TP_PCT=30.0
SL_PCT=10.0
TRAILING_STOP=true
TRAILING_ACTIVATION_PCT=15.0
# ---------------------------------------------------------------------------
# Position TTL
# ---------------------------------------------------------------------------
# POSITION_TTL_MINUTES — max hold time in minutes before forced close
# (safety net for dead trades; 0 = disabled)
POSITION_TTL_MINUTES=30
# ---------------------------------------------------------------------------
# Token safety filters
# ---------------------------------------------------------------------------
# MIN_MC_QUOTE — minimum market cap (SOL)
# MAX_MC_QUOTE — maximum market cap (SOL)
# MAX_POOL_FEE_RATE — reject pools with fees above this rate
# MIN_LOCKED_LIQUIDITY_PCT — min locked liquidity after migration (%)
# MAX_POOL_FEE_RATE_AFTER_MIGRATION — reject pools above this post-migration fee
# REQUIRE_BURNED_LIQUIDITY_PCT — minimum burned liquidity (%)
# ALLOW_MAYHEM_MODE — allow mayhem-mode tokens (true/false)
# ALLOW_CUSTOM_POOLS — allow custom pool tokens (true/false)
MIN_MC_QUOTE=20.0
MAX_MC_QUOTE=500.0
MAX_POOL_FEE_RATE=0.01
MIN_LOCKED_LIQUIDITY_PCT=100.0
MAX_POOL_FEE_RATE_AFTER_MIGRATION=0.02
REQUIRE_BURNED_LIQUIDITY_PCT=50.0
ALLOW_MAYHEM_MODE=false
ALLOW_CUSTOM_POOLS=false
# ---------------------------------------------------------------------------
# Simulation model (paper trading & replay)
# ---------------------------------------------------------------------------
# SIM_LATENCY_MS — simulated fill latency (ms)
# SIM_SPREAD_BPS — simulated bid-ask spread (bps)
# SIM_PRICE_IMPACT_BPS_PER_NOTIONAL — price impact per SOL notional (bps)
# SIM_FEE_BPS — simulated round-trip fee (bps)
SIM_LATENCY_MS=450
SIM_SPREAD_BPS=15.0
SIM_PRICE_IMPACT_BPS_PER_NOTIONAL=8.0
SIM_FEE_BPS=10.0
# ---------------------------------------------------------------------------
# Telegram notifications
# ---------------------------------------------------------------------------
# TELEGRAM_ENABLED — enable Telegram reporting (true/false)
# TELEGRAM_BOT_TOKEN — bot token from @BotFather
# TELEGRAM_CHAT_ID — chat or group ID to receive messages
# TELEGRAM_MAX_RETRIES — max retries for failed sends
# TELEGRAM_INITIAL_BACKOFF_MS — initial backoff between retries (ms)
# TELEGRAM_MAX_BACKOFF_MS — maximum backoff cap (ms)
TELEGRAM_ENABLED=false
TELEGRAM_BOT_TOKEN=
TELEGRAM_CHAT_ID=
TELEGRAM_MAX_RETRIES=5
TELEGRAM_INITIAL_BACKOFF_MS=500
TELEGRAM_MAX_BACKOFF_MS=10000
# ---------------------------------------------------------------------------
# Ave Cloud Data API — discovery, scoring, real-time tracking
# ---------------------------------------------------------------------------
# AVE_API_KEY — API key from https://cloud.ave.ai
# AVE_ENABLED — master toggle (true = Ave-driven, false = legacy PumpAPI stream)
# AVE_WSS_URL — WebSocket endpoint for real-time data
# AVE_MIN_SCORE — minimum composite score to emit an entry signal
# AVE_DISCOVERY_POLL_SECS — seconds between REST discovery polls
# AVE_SOL_PRICE_USD — SOL/USD price for converting SOL → USD in scoring
AVE_API_KEY=
AVE_ENABLED=false
AVE_WSS_URL=wss://wss.ave-api.xyz
AVE_MIN_SCORE=60.0
AVE_DISCOVERY_POLL_SECS=5
AVE_SOL_PRICE_USD=150.0