-
Notifications
You must be signed in to change notification settings - Fork 133
/
Copy pathtradeplan.toml
47 lines (34 loc) · 1.04 KB
/
tradeplan.toml
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
# This is a TOML configuration file.
# set max portfolio_value
# portfolio_value = 25000.0
# set risk factor per trade
# risk = 0.001
# how many minutes, before end of the trading day to enforce liqudation
# market_liquidation_end_time_minutes = 15
# ticket scanners, may have several
# scanners during the day
[scanners]
[scanners.momentum]
# scan for tickers with minimal volume since day start
min_volume = 30000
# minimum daily percentage gap
min_gap = 3.5
# minimum last day dollar volume
min_last_dv = 500000
max_share_price = 20.0
min_share_price = 2.0
# How many minutes from market open, to start running scanner
from_market_open = 15
# recurrence = 5
# target_strategy_name = "MyStrategy"
# trading strategies, can have several *strategy* blocks
[strategies]
# strategy class name, must implement Strategy class
[strategies.MyStrategy]
filename = "examples/my_strategy.py"
# check_patterns = true
# trading schedules block, trades many have
# several windows within the same day
[[strategies.MyStrategy.schedule]]
duration = 150
start = 15