docs: add DOCKER_GUIDE.md and fix .env parsing; chore: update docker and script configurations
This commit is contained in:
33
config/ping_pong_config.yaml
Normal file
33
config/ping_pong_config.yaml
Normal file
@ -0,0 +1,33 @@
|
||||
# Ping-Pong Strategy Configuration
|
||||
|
||||
# Trading Pair & Timeframe
|
||||
symbol: BTCUSDT
|
||||
interval: "1" # Minutes (1, 3, 5, 15, 30, 60, 120, 240, 360, 720, D, W, M)
|
||||
|
||||
# Indicator Settings
|
||||
rsi:
|
||||
period: 14
|
||||
overbought: 70
|
||||
oversold: 30
|
||||
enabled_for_open: true
|
||||
enabled_for_close: false
|
||||
|
||||
hurst:
|
||||
period: 30
|
||||
multiplier: 1.8
|
||||
enabled_for_open: true
|
||||
enabled_for_close: false
|
||||
|
||||
# Strategy Settings
|
||||
direction: "long" # "long" or "short"
|
||||
capital: 1000.0 # Initial capital for calculations (informational)
|
||||
exchange_leverage: 1.0 # Multiplier for each 'ping' size
|
||||
max_effective_leverage: 5.0 # Cap on total position size relative to equity
|
||||
pos_size_margin: 10.0 # Margin per 'ping' (USD)
|
||||
take_profit_pct: 1.5 # Target profit percentage per exit (1.5 = 1.5%)
|
||||
partial_exit_pct: 0.15 # 15% of position closed on each TP hit
|
||||
min_position_value_usd: 15.0 # Minimum remaining value to keep position open
|
||||
|
||||
# Execution Settings
|
||||
loop_interval_seconds: 5 # How often to check for new data
|
||||
debug_mode: false
|
||||
Reference in New Issue
Block a user