-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathexample_config_analyzer.json
41 lines (40 loc) · 1.28 KB
/
example_config_analyzer.json
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
{
// Market data settings
"market_data": {
"vendor": "Finnhub",
// Market data vendor specific trading interval delay
// Useful if vendor candlesticks always have a certain delay for updating candlestick intervals
"interval_delay": 0,
// Vendor specific settings, see documentation
"api_key": "your.key.here"
},
// List of exchanges and markets to analyze for patterns, using
// market data vendor exchange and MIC codes
"exchanges": {
"US": ["XNAS", "XNYS"],
"OSE": "XOSL"
},
// Candlestick resolution (kline interval) in minutes, 1440 will analyze daily trend
"candlestick_resolution": 1440,
// Path to output JSON file containing analysis results
"output_path": "//your/path/to/output/result",
"logging": {
// Python logging module level constant to use, defaults to INFO
"level": "INFO",
// If defined, a log is created at this path, rotating files at midnight
"file": "path/to/log_file.log",
// SMTP mail server for error logs
"mail": {
"errors_to": ["recipient@mail"],
"smtp_host": "smtp.gmail.com",
"smtp_port": 587,
"address": "my@mail",
"username": "myUsername",
"password": "myPassword",
// Interval between notification mails, in hours
// Remove or set to 0 for mails every run
"error_interval": 1,
"order_interval": 0
}
}
}