openfund-maker 1.3.14__py3-none-any.whl → 1.3.16__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -109,22 +109,22 @@ class MACDStrategyMaker(ThreeLineStrategyMaker):
109
109
 
110
110
  # valid_klines = strategy.get('valid_klines', 5)
111
111
  # 如果最新的交叉是金叉,且又是零轴上方的金叉
112
- if (len(last_up_crosses) > 0 and
113
- all_cross[0][0] == 'golden' and
114
- all_cross[0][1] == last_up_crosses[0][1] and
115
- len(kLines) - all_cross[0][1] <= valid_klines):
116
- order_side = 'buy'
117
- self.logger.debug(f"{symbol} : 零轴之上的macd与signal形成金叉{all_cross[0]} 。")
112
+ # if (len(last_up_crosses) > 0 and
113
+ # all_cross[0][0] == 'golden' and
114
+ # all_cross[0][1] == last_up_crosses[0][1] and
115
+ # len(kLines) - all_cross[0][1] <= valid_klines):
116
+ # order_side = 'buy'
117
+ # self.logger.debug(f"{symbol} : 零轴之上的macd与signal形成金叉{all_cross[0]} 。")
118
118
 
119
- # # 如果最新的交叉是死叉,且又是零轴下方的死叉
120
- elif (len(last_down_crosses) > 0 and
121
- all_cross[0][0] == 'death' and
122
- all_cross[0][1] == last_down_crosses[0][1] and
123
- len(kLines) - all_cross[0][1] <= valid_klines):
124
- order_side ='sell'
125
- self.logger.debug(f"{symbol} : 零轴之下的macd与signal形成死叉{all_cross[0]} 。")
119
+ # # # 如果最新的交叉是死叉,且又是零轴下方的死叉
120
+ # elif (len(last_down_crosses) > 0 and
121
+ # all_cross[0][0] == 'death' and
122
+ # all_cross[0][1] == last_down_crosses[0][1] and
123
+ # len(kLines) - all_cross[0][1] <= valid_klines):
124
+ # order_side ='sell'
125
+ # self.logger.debug(f"{symbol} : 零轴之下的macd与signal形成死叉{all_cross[0]} 。")
126
126
  # 分析交叉点模式,要满足连续的三个交叉都是零上
127
- elif len(last_up_crosses) == 3 and len(all_cross) == 3:
127
+ if len(last_up_crosses) == 3 and len(all_cross) == 3:
128
128
 
129
129
  # 零轴之上的死叉-金叉-死叉模式
130
130
  if (last_up_crosses[0][0] == 'death' and
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: openfund-maker
3
- Version: 1.3.14
3
+ Version: 1.3.16
4
4
  Summary: Openfund-maker.
5
5
  Requires-Python: >=3.9,<4.0
6
6
  Classifier: Programming Language :: Python :: 3
@@ -1,4 +1,4 @@
1
- maker/MACDStrategyMaker.py,sha256=1HLx6Mvnqhm6hi8Vrfs8oDdyCnEVLM3Fix35JwpcAmY,12627
1
+ maker/MACDStrategyMaker.py,sha256=iS5HO04piKHFJxUI2e5QmicxzGeK-V1aphJSr2n_4Ac,12651
2
2
  maker/ThreeLineStrategyMaker.py,sha256=5uUTRMOCe0-0d2Ll7Bzhe-0WKpnfddhDEaj3XTGDgyA,30270
3
3
  maker/WickReversalStrategyMaker.py,sha256=7DqPDVJot4EM0_lSAcFAHrR9rNvkIds9KLMoDOiAHEc,17486
4
4
  maker/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -8,7 +8,7 @@ maker/main_m.py,sha256=0PzDTnuBrxfpy5WDfsIHKAzZ_7pkuvuqqeWik0vpWio,15522
8
8
  maker/okxapi.py,sha256=_9G0U_o0ZC8NxaT6PqpiLgxBm9gPobC9PsFHZE1c5w0,553
9
9
  maker/zhen.py.bak,sha256=HNkrQbJts8G9umE9chEFsc0cLQApcM9KOVNMYPpkBXM,10918
10
10
  maker/zhen_2.py,sha256=4IaHVtTCMSlrLGSTZrWpW2q-f7HZsUNRkW_-5QgWv24,10509
11
- openfund_maker-1.3.14.dist-info/METADATA,sha256=Dq_vAvuWG4kvPl3O8ewXkBV8FX_2mfK6GCDwDNJb0PY,1954
12
- openfund_maker-1.3.14.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
13
- openfund_maker-1.3.14.dist-info/entry_points.txt,sha256=gKMytICEKcMRFQDFkHZLnIpID7UQFoTIM_xcpiiV6Ns,50
14
- openfund_maker-1.3.14.dist-info/RECORD,,
11
+ openfund_maker-1.3.16.dist-info/METADATA,sha256=HzGDWINChslwFUb3OD-iDEAJyfidRtv2ZWTy_CqYCVU,1954
12
+ openfund_maker-1.3.16.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
13
+ openfund_maker-1.3.16.dist-info/entry_points.txt,sha256=gKMytICEKcMRFQDFkHZLnIpID7UQFoTIM_xcpiiV6Ns,50
14
+ openfund_maker-1.3.16.dist-info/RECORD,,