openfund-taker 1.3.17__py3-none-any.whl → 2.0.1__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.
- {openfund_taker-1.3.17.dist-info → openfund_taker-2.0.1.dist-info}/METADATA +1 -1
- {openfund_taker-1.3.17.dist-info → openfund_taker-2.0.1.dist-info}/RECORD +5 -5
- taker/TrailingSLTaker.py +2 -2
- {openfund_taker-1.3.17.dist-info → openfund_taker-2.0.1.dist-info}/WHEEL +0 -0
- {openfund_taker-1.3.17.dist-info → openfund_taker-2.0.1.dist-info}/entry_points.txt +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
taker/MultiAssetOldTradingBot.py,sha256=uBh_BxglvcbaHIsWHM7GI9Qa_QjzsxXaXJAAWEOMO5c,15315
|
2
2
|
taker/ThreeLineTradingTaker.py,sha256=ElD9pKDO4nxw5VKNRrvXqyiU0gkV_1Mg_zk-hftfaPs,20553
|
3
3
|
taker/TrailingSLAndTPTaker.py,sha256=rx3tw9TwFCpqnz3e0WlTtFVcn8mBbPHtp62n3RF86Kg,1144
|
4
|
-
taker/TrailingSLTaker.py,sha256=
|
4
|
+
taker/TrailingSLTaker.py,sha256=eBUAJX87004chbV5oSaYVlNFu01wUS2aWs_42tQTYMo,46518
|
5
5
|
taker/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
6
|
taker/chua_bitget.py,sha256=YY6XK5Bd-wlArsN5BnAfiqE0h1DPkti6i4TEB4F5zDA,12918
|
7
7
|
taker/chua_bn.py,sha256=GnTePWlgDwdHgroBbEp1Ajcsf5_m_Vn_RV63SYzu2jI,10668
|
@@ -10,7 +10,7 @@ taker/chua_ok_all.py,sha256=2XnZM6QdB3juSE1pqQIJyh2x1XuhlTlnBKNA3owlJ9E,15267
|
|
10
10
|
taker/chua_ok_bot.py,sha256=9SW0ujhi6PfN4yR1JZ9NaA37HtnXJ2QAWUfW52NG68w,13109
|
11
11
|
taker/config.py,sha256=YPxghO5i0vgRg9Cja8kGj9O7pgSbbtzOgf3RexqXXwY,1188
|
12
12
|
taker/main.py,sha256=QCEjINu3IgwWEGcuquHzeYjKJYAQrPe8ctQhMoIb9SA,2561
|
13
|
-
openfund_taker-
|
14
|
-
openfund_taker-
|
15
|
-
openfund_taker-
|
16
|
-
openfund_taker-
|
13
|
+
openfund_taker-2.0.1.dist-info/METADATA,sha256=V9F3blHhCGA9X2YBU0n3AYe4_R3Akmsm_4R7tYka7cg,7527
|
14
|
+
openfund_taker-2.0.1.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
15
|
+
openfund_taker-2.0.1.dist-info/entry_points.txt,sha256=a7mG8F7aOA5-Gk2vPWuAR4537faxaHUgM_jwIDBZoEc,50
|
16
|
+
openfund_taker-2.0.1.dist-info/RECORD,,
|
taker/TrailingSLTaker.py
CHANGED
@@ -181,14 +181,14 @@ class TrailingSLTaker:
|
|
181
181
|
|
182
182
|
if side == 'short':
|
183
183
|
# 找最近的孤立高点
|
184
|
-
if self.is_pivot_high(df, i, window
|
184
|
+
if self.is_pivot_high(df, i, window):
|
185
185
|
# 获取最近的孤立高点
|
186
186
|
isolated_points.append(df.iloc[i])
|
187
187
|
break
|
188
188
|
|
189
189
|
else:
|
190
190
|
# 找最近的孤立低点
|
191
|
-
if self.is_pivot_low(df, i, window
|
191
|
+
if self.is_pivot_low(df, i, window):
|
192
192
|
isolated_points.append(df.iloc[i])
|
193
193
|
break
|
194
194
|
|
File without changes
|
File without changes
|