openfund-maker 1.0.5__py3-none-any.whl → 1.0.6__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.
- maker/ThreeLineOrderBot.py +1 -1
- {openfund_maker-1.0.5.dist-info → openfund_maker-1.0.6.dist-info}/METADATA +1 -1
- {openfund_maker-1.0.5.dist-info → openfund_maker-1.0.6.dist-info}/RECORD +5 -5
- {openfund_maker-1.0.5.dist-info → openfund_maker-1.0.6.dist-info}/WHEEL +0 -0
- {openfund_maker-1.0.5.dist-info → openfund_maker-1.0.6.dist-info}/entry_points.txt +0 -0
maker/ThreeLineOrderBot.py
CHANGED
@@ -307,7 +307,7 @@ class ThreeLineOrdergBot:
|
|
307
307
|
def judge_k_line_direction(self,symbol, pair_config, ema) -> int:
|
308
308
|
tick_size = float(self.exchange.market(symbol)['precision']['price'])
|
309
309
|
|
310
|
-
ema_range_period =
|
310
|
+
ema_range_period = int(pair_config.get('ema_range_period', 3))
|
311
311
|
ema_range_limit = float(pair_config.get('ema_range_limit', 1))
|
312
312
|
# 20250210 判断EMA均线是否走平,用EMA周期内的极差计算,极差在阈值范围内为平
|
313
313
|
ema_ranges = ema.rolling(window=ema_range_period).max() - ema.rolling(window=ema_range_period).min()
|
@@ -1,4 +1,4 @@
|
|
1
|
-
maker/ThreeLineOrderBot.py,sha256=
|
1
|
+
maker/ThreeLineOrderBot.py,sha256=xPiOJKAvIZ709lYSArWJJSbho-tYpH34unJaVSJY5fY,23276
|
2
2
|
maker/WickReversalOrderBot.py,sha256=Oc6wChdWu39lfWh3NRHM8BqvaRIYDNZiDR6PDnE9XUM,17374
|
3
3
|
maker/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
maker/config.py,sha256=YPxghO5i0vgRg9Cja8kGj9O7pgSbbtzOgf3RexqXXwY,1188
|
@@ -7,7 +7,7 @@ maker/main_m.py,sha256=0PzDTnuBrxfpy5WDfsIHKAzZ_7pkuvuqqeWik0vpWio,15522
|
|
7
7
|
maker/okxapi.py,sha256=_9G0U_o0ZC8NxaT6PqpiLgxBm9gPobC9PsFHZE1c5w0,553
|
8
8
|
maker/zhen.py.bak,sha256=HNkrQbJts8G9umE9chEFsc0cLQApcM9KOVNMYPpkBXM,10918
|
9
9
|
maker/zhen_2.py,sha256=4IaHVtTCMSlrLGSTZrWpW2q-f7HZsUNRkW_-5QgWv24,10509
|
10
|
-
openfund_maker-1.0.
|
11
|
-
openfund_maker-1.0.
|
12
|
-
openfund_maker-1.0.
|
13
|
-
openfund_maker-1.0.
|
10
|
+
openfund_maker-1.0.6.dist-info/METADATA,sha256=dOXmSsHYvmhmNkpT29NdX45b8KZIc-vifuAof45l31E,1965
|
11
|
+
openfund_maker-1.0.6.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
12
|
+
openfund_maker-1.0.6.dist-info/entry_points.txt,sha256=gKMytICEKcMRFQDFkHZLnIpID7UQFoTIM_xcpiiV6Ns,50
|
13
|
+
openfund_maker-1.0.6.dist-info/RECORD,,
|
File without changes
|
File without changes
|