-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig_sample.py
More file actions
17 lines (14 loc) · 1.01 KB
/
config_sample.py
File metadata and controls
17 lines (14 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# config_sample.py Rename this file to config.py and fill in your details.
# BYBIT API Credentials
api_key = 'YOUR_BYBIT_API_KEY' # Your Bybit API Key
api_secret = 'YOUR_BYBIT_SECRET_KEY' # Your Bybit Secret Key
# Trading configuration
pair = 'ALT/USDT' # Trading pair, e.g.: 'ALT/USDT'
tokens_for_sale = '170' # Amount of tokens to sell
price_offset = '1.0' # Percentage below market price (e.g., '1.0' means 1% below)
# Timing
launch_time = '2025-06-09 10:00:00' # Exact trading start time (UTC) in 'YYYY-MM-DD HH:MM:SS' format
pre_launch_pooling = 10 # Interval (in seconds) before launch_time to start checking for the pair listing
pair_check_interval = 0.5 # Interval (in seconds) between trade pair availability checks
price_check_interval = 1.0 # Interval (in seconds) between price retrieval attempts upon error
order_timeout = 30 # Cancel order after this many seconds if not filled