Skip to main content

NLP project

This is an attempt to build a language model for generating trading signals. It uses a limited vocabulary such as 'go-long', 'go-short' and 'do-nothing'. It uses the language model combined with an expert trader data also referred to as imitation learning. The assumption here is that you have data of an expert trader with at least 5 trades e.g. labeled ['go-long', 'go-short', 'do-nothing', 'go-short', 'go-long'] the model returns one of these inputs as the signal.

Usage

Install the project with:

pip install nlp-project

Then:

from nlp.imit_main import imit_signal as imit
from nlp.nlp_main import nlp_signal as nlp

The training (expert) data were simulated with imit_signal and the language model was build with a series of these inputs.

Warning

This is not financial advise. NLP project is entirely on its preliminary stages. Use it at your own risk.

Metadata

Release files for nlp-project 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nlp-project 0.1.2
File Size Uploaded Provenance
nlp_project-0.1.2.tar.gz 22.8 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for nlp-project 0.1.2
File Interpreter ABI Platform
nlp_project-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 46.2 MB

Release files / nlp_project-0.1.2.tar.gz

Download URL nlp_project-0.1.2.tar.gz
Size 22.8 MB
Tags Source
SHA-256 checksum
How to use checksums
3c88e2900cd2b32bde9def11d7f854067ef4b6b5f0e767dd0a7bab6f8c8aba0f
BLAKE2b-256 checksum
How to use checksums
cfb7dc305ca2e3ab16936c971458e65a0aa064edde83518c53fc39384c3aca7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.4

Release files / nlp_project-0.1.2-py3-none-any.whl

Download URL nlp_project-0.1.2-py3-none-any.whl
Size 23.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
e7e77f264b0b8cf6f1346d38e5edbd72559bb1b1246fe9a3daef31df0af7ac74
BLAKE2b-256 checksum
How to use checksums
c9942f2ce3c134f2266ffd2ba1e7da131df7a1f03741b151fb47e94c6d40e0a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.4

Security for nlp-project 0.1.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page