reportify-cli 0.1.40__tar.gz → 0.1.42__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.
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/PKG-INFO +2 -2
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/pyproject.toml +2 -2
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/skills/reportify-ai/references/API_REFERENCE.md +10 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/src/params.py +5 -2
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/.gitignore +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/Makefile +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/README.md +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/scripts/README.md +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/scripts/bump_version.sh +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/scripts/publish.sh +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/skills/reportify-agent/SKILL.md +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/skills/reportify-ai/SKILL.md +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/skills/reportify-ai/references/COMMANDS.md +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/src/__init__.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/src/client.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/src/commands/__init__.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/src/commands/agent.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/src/commands/channels.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/src/commands/concepts.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/src/commands/docs.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/src/commands/following.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/src/commands/kb.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/src/commands/macro.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/src/commands/quant.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/src/commands/search.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/src/commands/stock.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/src/commands/timeline.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/src/commands/user.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/src/main.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/src/output.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/src/settings.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/src/utils.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/tests/__init__.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/tests/integration/test_docs_integration.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/tests/integration/test_stock_integration.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/tests/test_commands/__init__.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/tests/test_commands/test_docs.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/tests/test_commands/test_quant.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/tests/test_commands/test_search.py +0 -0
- {reportify_cli-0.1.40 → reportify_cli-0.1.42}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: reportify-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.42
|
|
4
4
|
Summary: CLI wrapper for Reportify SDK - Access Reportify API through command line
|
|
5
5
|
Project-URL: Homepage, https://reportify.ai
|
|
6
6
|
Project-URL: Documentation, https://docs.reportify.ai
|
|
@@ -23,7 +23,7 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
|
23
23
|
Requires-Python: >=3.10
|
|
24
24
|
Requires-Dist: pandas>=2.0.0
|
|
25
25
|
Requires-Dist: python-dotenv>=1.2.1
|
|
26
|
-
Requires-Dist: reportify-sdk>=0.3.
|
|
26
|
+
Requires-Dist: reportify-sdk>=0.3.45
|
|
27
27
|
Requires-Dist: tabulate>=0.9.0
|
|
28
28
|
Requires-Dist: typer>=0.21.1
|
|
29
29
|
Description-Content-Type: text/markdown
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "reportify-cli"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.42"
|
|
4
4
|
description = "CLI wrapper for Reportify SDK - Access Reportify API through command line"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.10"
|
|
@@ -30,7 +30,7 @@ classifiers = [
|
|
|
30
30
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
31
31
|
]
|
|
32
32
|
dependencies = [
|
|
33
|
-
"reportify-sdk>=0.3.
|
|
33
|
+
"reportify-sdk>=0.3.45",
|
|
34
34
|
"typer>=0.21.1",
|
|
35
35
|
"pandas>=2.0.0",
|
|
36
36
|
"python-dotenv>=1.2.1",
|
{reportify_cli-0.1.40 → reportify_cli-0.1.42}/skills/reportify-ai/references/API_REFERENCE.md
RENAMED
|
@@ -294,6 +294,16 @@ Stock symbols must use `market:ticker` format:
|
|
|
294
294
|
| `auto_close` | bool | | true | Auto close positions |
|
|
295
295
|
| `indicator` | dict | | - | Indicator dict for returning values |
|
|
296
296
|
|
|
297
|
+
Backtest 常见返回字段(新增):
|
|
298
|
+
- `benchmark_return_pct`: 基准总收益率(小数)
|
|
299
|
+
- `sharpe_ratio`: 夏普比率(年化,无风险利率=0)
|
|
300
|
+
- `alpha`: 阿尔法(年化,CAPM Jensen's Alpha)
|
|
301
|
+
- `beta`: 贝塔(相对基准系统性风险)
|
|
302
|
+
- `max_drawdown_start`: 最大回撤起始日期(峰值日)
|
|
303
|
+
- `max_drawdown_end`: 最大回撤结束日期(谷值日)
|
|
304
|
+
- `daily_returns`: 日收益率序列(date -> return)
|
|
305
|
+
- `drawdown_series`: 每日回撤序列(date -> drawdown)
|
|
306
|
+
|
|
297
307
|
### quant factors_screen
|
|
298
308
|
| Parameter | Type | Required | Default | Description |
|
|
299
309
|
|-----------|------|----------|---------|-------------|
|
|
@@ -460,6 +460,7 @@ QUANT_BACKTEST_PARAMS = [
|
|
|
460
460
|
ParamDef("symbols", "list[str]", "Stock symbols (optional if filter_formula is provided)"),
|
|
461
461
|
ParamDef("filter_formula", "str", "Pre-filter formula, e.g., 'NOT(IS_ST)'"),
|
|
462
462
|
ParamDef("market", "str", "Market (cn/hk/us)", default="cn"),
|
|
463
|
+
ParamDef("stock_type", "str", "Stock type: stock/etf/index/sw", default="stock"),
|
|
463
464
|
ParamDef(
|
|
464
465
|
"entry_formula",
|
|
465
466
|
"str",
|
|
@@ -482,11 +483,13 @@ QUANT_BACKTEST_PARAMS = [
|
|
|
482
483
|
ParamDef("min_commission_amount", "float", "Minimum commission per trade in CNY", default=0),
|
|
483
484
|
ParamDef("slippage", "float", "Slippage ratio, buy price up / sell price down", default=0),
|
|
484
485
|
ParamDef("stop_loss", "float", "Stop loss ratio (0 to disable)", default=0),
|
|
485
|
-
ParamDef("position_size", "float", "Max position size ratio per stock based on total assets"
|
|
486
|
-
ParamDef("max_positions", "int", "Max number of holding stocks"
|
|
486
|
+
ParamDef("position_size", "float", "Max position size ratio per stock based on total assets"),
|
|
487
|
+
ParamDef("max_positions", "int", "Max number of holding stocks"),
|
|
487
488
|
ParamDef("min_volume", "int", "Minimum trading volume", default=100),
|
|
488
489
|
ParamDef("auto_close", "bool", "Auto close positions", default=True),
|
|
490
|
+
ParamDef("cheat_on_open", "bool", "Execute T-day signals at T-day open (default: False, execute at T+1 open)", default=False),
|
|
489
491
|
ParamDef("signal_factors", "dict[str, str]", "Signal factors dictionary for custom strategy pre-computation"),
|
|
492
|
+
ParamDef("benchmark", "dict", "Benchmark config with symbol, market, stock_type for comparison"),
|
|
490
493
|
]
|
|
491
494
|
|
|
492
495
|
QUANT_KLINE_PARAMS = [
|
|
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
|
|
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
|