-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.toml
More file actions
66 lines (54 loc) · 1.77 KB
/
Copy pathdefault.toml
File metadata and controls
66 lines (54 loc) · 1.77 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
# IndianMarketBot default configuration.
# Override with ~/.imbot/config.toml or via env vars (IMBOT_* prefix).
[paths]
# Where DuckDB state lives. Override with IMBOT_HOME env var.
state_db = "~/.imbot/state.duckdb"
yfinance_cache = "~/.imbot/yfinance.cache"
[risk]
# Position sizing
max_positions = 10
risk_per_trade_pct = 0.01 # 1% of equity per trade
max_capital_per_trade_pct = 0.20 # never allocate >20% of equity to one position
atr_multiplier = 2.5 # trailing stop = close - 2.5 * ATR
time_stop_days = 20 # exit any position held >= 20 days (winners or losers)
[execution]
tax_slippage_pct = 0.002 # 0.2% round-trip cost model
[swing]
min_score = 4 # entry score threshold
max_risk_pct = 0.15 # skip setups where stop is >15% from entry
[regime]
breadth_threshold = 0.40 # >40% of universe above 50-DMA for bull breadth
breadth_window = 50
vix_block_threshold = 25.0 # India VIX above this -> refuse new entries
[risk_correlation]
max_sector_pct = 0.30 # max net exposure to any one sector
[allocation]
# Bull / bear allocation splits (core ETFs vs alpha picks)
bull_core_pct = 0.40
bull_alpha_pct = 0.60
bear_core_pct = 0.80
bear_alpha_pct = 0.20
[sip]
# Monthly virtual deposit refilled into paper trader cash
amount_eur = 500.0
deposit_hour_ist = 9
deposit_minute_ist = 30
[fx]
# Fallbacks when Yahoo FX fetch fails
usd_inr_fallback = 83.0
eur_inr_fallback = 90.0
[yahoo]
timeout_sec = 10.0
max_retries = 3
backoff_base_sec = 1.0 # 1s, 2s, 4s
[nse]
# IST market hours
open_hour = 9
open_minute = 15
close_hour = 15
close_minute = 30
timezone = "Asia/Kolkata"
[daemon]
prices_tick_minutes = 5
paper_tick_seconds = 60
health_beat_seconds = 30