Skip to content
7 changes: 5 additions & 2 deletions ADMI指标策略.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# 注:该策略仅供参考和学习,不保证收益。

#修改!
# !/usr/bin/env python
# -*- coding: utf-8 -*-

#部分内容被修改!
#修改
#第四遍修改
#第五遍修改
# 策略代码总共分为三大部分,1)PARAMS变量 2)initialize函数 3)handle_data函数
# 请根据指示阅读。或者直接点击运行回测按钮,进行测试,查看策略效果。

Expand Down
4 changes: 2 additions & 2 deletions AR指标策略.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 注:该策略仅供参考和学习,不保证收益。

#分支修改
# !/usr/bin/env python
# -*- coding: utf-8 -*-

Expand Down Expand Up @@ -89,4 +89,4 @@ def handle_data(context):
else:
context.log.info("仓位不足,无法卖出")
else:
context.log.info("无交易信号,进入下一根bar")
context.log.info("无交易信号,进入下一根bar")
4 changes: 2 additions & 2 deletions ATR-指标策略.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 注:该策略仅供参考和学习,不保证收益。

#分支修改
# !/usr/bin/env python
# -*- coding: utf-8 -*-

Expand Down Expand Up @@ -110,4 +110,4 @@ def handle_data(context):
else:
context.log.info("现金不足,无法下单")
else:
context.log.info("无交易信号,进入下一根bar")
context.log.info("无交易信号,进入下一根bar")
2 changes: 1 addition & 1 deletion CMO指标策略.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 注:该策略仅供参考和学习,不保证收益。

#desktop修改2
# !/usr/bin/env python
# -*- coding: utf-8 -*-

Expand Down
2 changes: 1 addition & 1 deletion DMI指标.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# !/usr/bin/env python
# -*- coding: utf-8 -*-

#修改
# 策略代码总共分为三大部分,1)PARAMS变量 2)initialize函数 3)handle_data函数
# 请根据指示阅读。或者直接点击运行回测按钮,进行测试,查看策略效果。

Expand Down