openfund-taker 1.3.17__tar.gz → 2.0.1__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: openfund-taker
3
- Version: 1.3.17
3
+ Version: 2.0.1
4
4
  Summary: Openfund-taker
5
5
  Requires-Python: >=3.9,<4.0
6
6
  Classifier: Programming Language :: Python :: 3
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "openfund-taker"
3
- version = "1.3.17"
3
+ version = "2.0.1"
4
4
  description = "Openfund-taker"
5
5
  authors = []
6
6
  readme = "README.md"
@@ -181,14 +181,14 @@ class TrailingSLTaker:
181
181
 
182
182
  if side == 'short':
183
183
  # 找最近的孤立高点
184
- if self.is_pivot_high(df, i, window,check_bounds=True):
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,check_bounds=True):
191
+ if self.is_pivot_low(df, i, window):
192
192
  isolated_points.append(df.iloc[i])
193
193
  break
194
194