-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.env.example
More file actions
27 lines (22 loc) · 958 Bytes
/
.env.example
File metadata and controls
27 lines (22 loc) · 958 Bytes
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
# Bybit API Credentials
# Get your API keys from: https://www.bybit.com/app/user/api-management
BYBIT_API_KEY=your_api_key_here
BYBIT_API_SECRET=your_api_secret_here
# Trading Configuration
TRADING_SYMBOL=BTCUSDT
MARKET_TYPE=spot # "spot" or "linear" (perpetual futures)
# Risk Management
# MAX_POSITION_SIZE: Maximum position in BTC (for BTCUSDT spot, this is max BTC holdings)
# Example: 0.01 = max 0.01 BTC position (~$900 at $90k BTC)
MAX_POSITION_SIZE=0.01
# TICK_SIZE: Minimum price increment for the symbol
# BTCUSDT spot = 0.10 USDT
TICK_SIZE=0.10
# MIN_ORDER_SIZE: Minimum order size in base currency (BTC for BTCUSDT)
# BTCUSDT spot minimum = 0.001 BTC (~$90 at $90k BTC)
MIN_ORDER_SIZE=0.001
# Execution Control
# MIN_UPDATE_INTERVAL: Optional rate limiting (seconds between updates)
# 0.0 = disabled (update immediately when price changes, up to 50/s)
# >0 = artificial throttle (only use if you want to slow down)
MIN_UPDATE_INTERVAL=0.0