openfund-maker 1.1.3__tar.gz → 1.1.4__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-maker
3
- Version: 1.1.3
3
+ Version: 1.1.4
4
4
  Summary: Openfund-maker.
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-maker"
3
- version = "1.1.3"
3
+ version = "1.1.4"
4
4
  description = "Openfund-maker."
5
5
  authors = []
6
6
  readme = "README.md"
@@ -292,10 +292,10 @@ class ThreeLineOrdergBot:
292
292
  return direction
293
293
 
294
294
  def judge_cross_direction(self,fastklines,slowklines) :
295
- # 创建DataFrame
295
+ # 创建DataFrame,去掉最新的,最新的不稳定。
296
296
  df = pd.DataFrame({
297
- 'fast': fastklines,
298
- 'slow': slowklines
297
+ 'fast': fastklines.iloc[:-1],
298
+ 'slow': slowklines.iloc[:-1]
299
299
  })
300
300
 
301
301
  # 判断金叉和死叉
File without changes