-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.yaml.example
More file actions
56 lines (48 loc) · 1.67 KB
/
config.yaml.example
File metadata and controls
56 lines (48 loc) · 1.67 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
app_key: "" # LongBridge App Key
app_secret: "" # LongBridge App Secret
access_token: "" # LongBridge Access Token
region: "cn" # Region: cn, us, hk (default: cn)
trading_style: "swing" # swing: 波段优先; intraday: 日内/高频复盘
server:
host: "0.0.0.0"
port: 8080
# Daily Brief Configuration
daily_brief:
enabled: true
timezone: "Asia/Shanghai"
pre_market_time: "09:00" # 开盘前报告时间
post_market_time: "16:00" # 收盘后报告时间
webhook_url: "" # Slack/钉钉 Webhook
# Signal Alert Configuration
signal_alert:
enabled: true
check_interval: 60 # 检查间隔(秒)
timezone: "Asia/Shanghai"
session_scope: "extended" # extended: 盘前/盘后/夜盘也检查, regular: 仅常规盘
session_start: "21:30" # regular 模式下生效
session_end: "04:00" # regular 模式下生效
webhook_url: "" # Slack/钉钉 Webhook
review_schedule:
enabled: true
timezone: "Asia/Shanghai"
daily_review_time: "07:30" # swing 模式下作为例外复盘时间,intraday 模式下作为每日复盘时间
weekly_review_time: "08:30" # 周复盘,默认周六发送
# Execution Window Configuration
execution_window:
enabled: true
# OKX Configuration (加密货币交易/行情)
okx:
enabled: false
api_key: ""
secret_key: ""
passphrase: ""
base_url: "https://www.okx.com" # 可选,默认即可
# Feishu Configuration (飞书机器人通知)
feishu:
enabled: false
app_id: "" # 飞书应用 App ID
app_secret: "" # 飞书应用 App Secret
user_id: "" # 接收消息的用户 open_id
# Logging Configuration
log:
level: "info" # debug, info, warn, error