alphaspec 0.1.0__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.
- alphaspec/__init__.py +8 -0
- alphaspec/_data/catalog/i18n/en.json +1016 -0
- alphaspec/_data/catalog/indicators.json +9790 -0
- alphaspec/_data/docs/MARKETS.md +29 -0
- alphaspec/_data/docs/RULES.md +133 -0
- alphaspec/_data/docs/RUNTIME_API.md +80 -0
- alphaspec/_data/docs/SPEC.md +99 -0
- alphaspec/_data/examples/artifacts/01-ema-cross-us-equity.json +20 -0
- alphaspec/_data/examples/artifacts/02-rsi-reversion-params.json +25 -0
- alphaspec/_data/examples/artifacts/03-mtf-trend-pullback.json +25 -0
- alphaspec/_data/examples/artifacts/04-breakout-retest-sequence.json +58 -0
- alphaspec/_data/examples/artifacts/05-cn-limit-up-pullback.json +33 -0
- alphaspec/_data/examples/scores/01-model-scores-cn-stock.json +17 -0
- alphaspec/_data/examples/scores/02-target-weights-us-equity.json +13 -0
- alphaspec/_data/schema/0.1/artifact.schema.json +259 -0
- alphaspec/_data/schema/0.1/common.schema.json +96 -0
- alphaspec/_data/schema/0.1/evidence.schema.json +152 -0
- alphaspec/_data/schema/0.1/gate-result.schema.json +55 -0
- alphaspec/_data/schema/0.1/score.schema.json +79 -0
- alphaspec/_data/skills/alphaspec/SKILL.md +93 -0
- alphaspec/_resources.py +77 -0
- alphaspec/cli.py +360 -0
- alphaspec/client.py +146 -0
- alphaspec/lints.py +266 -0
- alphaspec/mcp_server.py +231 -0
- alphaspec/validate.py +108 -0
- alphaspec-0.1.0.dist-info/METADATA +322 -0
- alphaspec-0.1.0.dist-info/RECORD +31 -0
- alphaspec-0.1.0.dist-info/WHEEL +4 -0
- alphaspec-0.1.0.dist-info/entry_points.txt +3 -0
- alphaspec-0.1.0.dist-info/licenses/LICENSE +202 -0
alphaspec/__init__.py
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"""AlphaSpec: the auditable contract between alpha and execution."""
|
|
2
|
+
from ._resources import CONTRACT_VERSION, load_catalog, load_schema
|
|
3
|
+
from .client import AlphaSpecError, Client, EvaluationFailed, Rejected
|
|
4
|
+
from .validate import Issue, Report, validate
|
|
5
|
+
|
|
6
|
+
__all__ = ["CONTRACT_VERSION", "AlphaSpecError", "Client", "EvaluationFailed", "Issue", "Rejected", "Report",
|
|
7
|
+
"load_catalog", "load_schema", "validate"]
|
|
8
|
+
__version__ = "0.1.0"
|