nlalpha-family-cta
Event-driven CTA strategy family for historical research. It is intended for rules whose meaning depends on event callbacks, order handling, or changing account state, subject to the currently installed family and engine capabilities.
The current about and full confess descriptions own the family API, lifecycle, order behavior, inputs, and limits. Agents must read them before authoring or validating a CTA strategy; examples in the package are not a substitute for the current contract. The runtime catalogue is assembled from registered providers and the strategy instance: use the registered signature for each helper, and use self.position_for(symbol) or self.history_for(symbol) where a multi-symbol callback has no single current symbol. Do not infer that every similarly named indicator accepts the same arguments.
Sizing follows the user's stated basis. self.available_cash is the dynamic account value and self.initial_cash is the starting value; neither should replace a different quantity or capital basis chosen by the user. A generated candidate must be a complete CtaStrategyBase subclass implementing on_bar(bar) or on_bars(bars); a method fragment or hasattr-based probing is not a valid substitute for the current capability contract.
Preserve the user's rule meaning and report the limits of mock validation.
Family contract
CTA uses BaseStrategyFamilyPlugin and returns a FamilyContract from family_contract(). Contract construction only describes the family; it does not publish capability helpers. Helper discovery and runtime provider injection are handled by the capability registry and application assembly. The family returns its supplementary conventions through confess(); it does not need a separate about() implementation.
License
Community distribution under AGPL-3.0-or-later. The community license does not cover private enhancement packages, the platform integration, the adapter, or third-party dependencies.
Metadata
Release files for nlalpha-family-cta 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nlalpha_family_cta-0.4.0.tar.gz | 27.2 kB | Without provenance | Details for nlalpha_family_cta-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nlalpha_family_cta-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for nlalpha_family_cta-0.4.0-py3-none-any.whl |
Total release size: 52.0 kB
Release files / nlalpha_family_cta-0.4.0.tar.gz
| Download URL | nlalpha_family_cta-0.4.0.tar.gz |
|---|---|
| Size | 27.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
063030ff03a9202e618bfebe115457fb7a617fbb6b8d75ccab4d3d5b896025e4
|
|
BLAKE2b-256 checksum How to use checksums |
79735eee7788dab7e3fc1f5899f9df12f95fd9d96d64b099d7bfb8ceafeb7434
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / nlalpha_family_cta-0.4.0-py3-none-any.whl
| Download URL | nlalpha_family_cta-0.4.0-py3-none-any.whl |
|---|---|
| Size | 24.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cdd6124e3a6fde368f9792216fd43d56b64bed8c3ddc98e3b2988e1a1ee60fed
|
|
BLAKE2b-256 checksum How to use checksums |
79ffa19e10d264f8d46a758512bd9ee8ff08499716a69b35cd3a0c2d2b1d8042
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Security for nlalpha-family-cta 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.