-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtrading_bot.toml
More file actions
63 lines (57 loc) · 1.45 KB
/
Copy pathtrading_bot.toml
File metadata and controls
63 lines (57 loc) · 1.45 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
# Percentage of account value to use
max_account_usable = 50
time_zone = "Europe/London"
# Path to the credentials file
credentials_filepath = "{home}/.TradingBot/config/.credentials"
# Seconds to wait for between each spin of the bot across all the markets
spin_interval = 3600
# Enable paper trading
paper_trading = false
#Bot16
#+co-dev with @Manabu573 24/12/25
[logging]
enable = true
log_filepath = "{home}/.TradingBot/log/trading_bot_{timestamp}.log"
debug = false
[market_source]
active = "watchlist"
values = ["list", "api", "watchlist"]
[market_source.epic_id_list]
filepath = "{home}/.TradingBot/data/epic_ids.txt"
[market_source.watchlist]
name = "trading_bot"
[stocks_interface]
active = "yfinance"
values = ["yfinance", "alpha_vantage", "ig_interface"]
[stocks_interface.ig_interface]
order_type = "MARKET"
order_size = 1
order_expiry = "DFB"
order_currency = "GBP"
order_force_open = true
use_g_stop = false
use_demo_account = true
controlled_risk = false
api_timeout = 3
[stocks_interface.alpha_vantage]
api_timeout = 12
[stocks_interface.yfinance]
api_timeout = 0.5
[account_interface]
active = "ig_interface"
values = ["ig_interface"]
[strategies]
active = "simple_macd"
values = ["simple_macd", "weighted_avg_peak", "simple_boll_bands"]
[strategies.simple_macd]
max_spread_perc = 5
limit_perc = 10
stop_perc = 5
[strategies.weighted_avg_peak]
max_spread = 3
limit_perc = 10
stop_perc = 5
[strategies.simple_boll_bands]
window = 60
limit_perc = 10
stop_perc = 5