Machine Learning Evx
This is a simplified version of alphaneural package used to generate buy and sell signals for crypto and conventional stock markets based on the above article on medium.
Installation
Install alphaneural with python3 -m pip install alphaneural
Usage
In your python script simply import the module and use as follows:
from alphaneural.alphaneural import alpha_param
print(apha_param(df,'mem'))
The above methods take OHCLV data and the option to specifiy the file path as 'file' or in memory saved variable 'mem'. This will result in a single parameter
named alpha.
Testing an entire dataframe
Testing of a dataframe for correct buy, sell signals is as simple as applying the lambda function as follows:
import pandas as pd
from alphaneural import alpha_param
df = pd.read_csv('../../../path/to_your.csv')
def getEnterSignal(data,src):
alpha = alpha_param(data,f'{src}')
return alpha
mainsig = getEnterSignal(df,'mem')
df['sig'] = df['alpha'].apply(lambda x: 1 if x < mainsig else 0)
Alphaneural can be applied to a file as follows:
from alphaneural import alpha_param
alpha = alpha_param('../../../path/to_your.csv','file')
Warning
This is not financial advise. Alphaneural is entirely on its preliminary stages. Use it at your own risk.
Metadata
Release files for alphaneural 0.0.5
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 | |
|---|---|---|---|---|
| alphaneural-0.0.5.tar.gz | 4.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| alphaneural-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.9 kB
Release files / alphaneural-0.0.5.tar.gz
| Download URL | alphaneural-0.0.5.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7acb8af1e273a88cd398312ee74283d653c4bda917436ab6a5668cd39c552795
|
|
BLAKE2b-256 checksum How to use checksums |
34217d3afb30ac93ef082574f39787dece92a563a79d658c068a3ce1b2b7acd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Release files / alphaneural-0.0.5-py3-none-any.whl
| Download URL | alphaneural-0.0.5-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83b6795143952813cbecc19a0441bc13d3b7d145823abe2e81e68c58cdf362ca
|
|
BLAKE2b-256 checksum How to use checksums |
c21052b8d743b63a267036ac73bf3c72ebf7fc546e49908127ad29d21f5dae7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Security for alphaneural 0.0.5
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.