Skip to main content

A package for predicting buy and sell signals

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nlp_project-0.0.2.tar.gz (132.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nlp_project-0.0.2-py3-none-any.whl (138.9 kB view details)

Uploaded Python 3

File details

Details for the file nlp_project-0.0.2.tar.gz.

File metadata

  • Download URL: nlp_project-0.0.2.tar.gz
  • Upload date:
  • Size: 132.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.4

File hashes

Hashes for nlp_project-0.0.2.tar.gz
Algorithm Hash digest
SHA256 194c8312462461cc4a320732c2c54f532dc17b824ab2abb212ab57246e1f890e
MD5 eccdd3d4c3787b4d53cebe77f972a14f
BLAKE2b-256 ef5299c974c078bb7d8088e3f50cf72f2e0d360d72c4e44f0c77f97e5e28aca3

See more details on using hashes here.

File details

Details for the file nlp_project-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: nlp_project-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 138.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.4

File hashes

Hashes for nlp_project-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f3b4b4d72c0fb0b0487508f1bdf95aae541ba2bad3b77cfdc3bfc4d3b8390dcc
MD5 42edcce1cce6aec5614995bb7dedf683
BLAKE2b-256 edf0472aa69126be83ffcc72c511c5eb34b730fcca82c9ea1b2f4f710fe95a39

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page