aimoon 0.2.0__tar.gz → 0.2.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.
Files changed (52) hide show
  1. {aimoon-0.2.0 → aimoon-0.2.1}/PKG-INFO +1 -1
  2. {aimoon-0.2.0 → aimoon-0.2.1}/pyproject.toml +1 -1
  3. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/cli.py +2 -2
  4. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/config.py +2 -1
  5. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon.egg-info/PKG-INFO +1 -1
  6. {aimoon-0.2.0 → aimoon-0.2.1}/README.md +0 -0
  7. {aimoon-0.2.0 → aimoon-0.2.1}/setup.cfg +0 -0
  8. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/__init__.py +0 -0
  9. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/__main__.py +0 -0
  10. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/backtest.py +0 -0
  11. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/cache.py +0 -0
  12. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/data/__init__.py +0 -0
  13. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/data/filters.py +0 -0
  14. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/data/history.py +0 -0
  15. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/data/spot.py +0 -0
  16. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/demo.py +0 -0
  17. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/factor_eval.py +0 -0
  18. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/indicators/__init__.py +0 -0
  19. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/indicators/technical.py +0 -0
  20. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/models.py +0 -0
  21. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/output.py +0 -0
  22. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/result.py +0 -0
  23. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/scoring/__init__.py +0 -0
  24. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/scoring/bollinger.py +0 -0
  25. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/scoring/combiner.py +0 -0
  26. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/scoring/kdj.py +0 -0
  27. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/scoring/macd.py +0 -0
  28. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/scoring/momentum.py +0 -0
  29. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/scoring/momentum_ext.py +0 -0
  30. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/scoring/rps.py +0 -0
  31. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/scoring/rsi.py +0 -0
  32. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/scoring/sector.py +0 -0
  33. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/scoring/trend.py +0 -0
  34. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/scoring/trend_ext.py +0 -0
  35. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/scoring/volume.py +0 -0
  36. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon/screener.py +0 -0
  37. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon.egg-info/SOURCES.txt +0 -0
  38. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon.egg-info/dependency_links.txt +0 -0
  39. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon.egg-info/entry_points.txt +0 -0
  40. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon.egg-info/requires.txt +0 -0
  41. {aimoon-0.2.0 → aimoon-0.2.1}/src/aimoon.egg-info/top_level.txt +0 -0
  42. {aimoon-0.2.0 → aimoon-0.2.1}/tests/test_backtest.py +0 -0
  43. {aimoon-0.2.0 → aimoon-0.2.1}/tests/test_cli.py +0 -0
  44. {aimoon-0.2.0 → aimoon-0.2.1}/tests/test_filters.py +0 -0
  45. {aimoon-0.2.0 → aimoon-0.2.1}/tests/test_formatter.py +0 -0
  46. {aimoon-0.2.0 → aimoon-0.2.1}/tests/test_models.py +0 -0
  47. {aimoon-0.2.0 → aimoon-0.2.1}/tests/test_momentum_ext.py +0 -0
  48. {aimoon-0.2.0 → aimoon-0.2.1}/tests/test_portfolio_backtest.py +0 -0
  49. {aimoon-0.2.0 → aimoon-0.2.1}/tests/test_rps.py +0 -0
  50. {aimoon-0.2.0 → aimoon-0.2.1}/tests/test_score_rsi.py +0 -0
  51. {aimoon-0.2.0 → aimoon-0.2.1}/tests/test_screener.py +0 -0
  52. {aimoon-0.2.0 → aimoon-0.2.1}/tests/test_trend_ext.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aimoon
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: A股量化筛选与交易建议系统 — 基于技术指标的多因子打分筛选、回测与分析工具
5
5
  Author: iloat
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "aimoon"
7
- version = "0.2.0"
7
+ version = "0.2.1"
8
8
  description = "A股量化筛选与交易建议系统 — 基于技术指标的多因子打分筛选、回测与分析工具"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -32,8 +32,8 @@ def parse_args() -> argparse.Namespace:
32
32
  # backtest
33
33
  bt = sub.add_parser("backtest")
34
34
  bt.add_argument("--stocks", type=str, default="000001")
35
- bt.add_argument("--hold-days", type=int, default=5)
36
- bt.add_argument("--max-positions", type=int, default=10)
35
+ bt.add_argument("--hold-days", type=int, default=20)
36
+ bt.add_argument("--max-positions", type=int, default=2)
37
37
  bt.add_argument("--commission", type=float, default=0.0003)
38
38
  bt.add_argument("--slippage", type=float, default=0.001)
39
39
  bt.add_argument("--stamp-tax", type=float, default=0.0005)
@@ -48,7 +48,8 @@ class Config:
48
48
  refresh: bool = False
49
49
  command: str | None = None
50
50
  stocks: str = "000001"
51
- hold_days: int = 5
51
+ hold_days: int = 20
52
+ max_positions: int = 2
52
53
  # 排除规则
53
54
  exclude_boards: tuple[str, ...] = ("ST", "退", "北交所")
54
55
  exclude_prefixes: tuple[str, ...] = ("8", "4")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aimoon
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: A股量化筛选与交易建议系统 — 基于技术指标的多因子打分筛选、回测与分析工具
5
5
  Author: iloat
6
6
  License-Expression: MIT
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes