stockfeat
- stockfeat is Python package
Installation
- Install stockfeat from PyPI (recommended). stockfeat is compatible with Python 3.6+ and runs on Linux, MacOS X and Windows.
- A new environment can be created as following:
conda create -n env_stockfeat python=3.8
conda activate env_stockfeat
pip install stockfeat # normal install
pip install --upgrade stockfeat # or update if needed
- Alternatively, you can install from the GitHub source:
# Directly install from github source
pip install -e git://github.com/erdogant/stockfeat.git@0.1.0#egg=master
pip install git+https://github.com/erdogant/stockfeat#egg=master
pip install git+https://github.com/erdogant/stockfeat
# By cloning
git clone https://github.com/erdogant/stockfeat.git
cd stockfeat
pip install -U .
Import stockfeat package
from stockfeat import stockfeat
Example:
sf = stockfeat(col_open='Open', col_close='Close', col_volume='Volume', col_high='High', col_low='Low')
df = sf.download_example()
df = df.resample('D').mean()
# Collect features
X = sf.fit(df)
Citation
Please cite stockfeat in your publications if this is useful for your research. Here is an example BibTeX entry:
@misc{erdogant2020stockfeat,
title={stockfeat},
author={Erdogan Taskesen},
year={2020},
howpublished={\url{https://github.com/erdogant/stockfeat}},
}
References
Maintainer
Release files for stockfeat 0.1.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 | |
|---|---|---|---|
| stockfeat-0.1.0.tar.gz | 21.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stockfeat-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 45.0 kB
Release files / stockfeat-0.1.0.tar.gz
| Download URL | stockfeat-0.1.0.tar.gz |
|---|---|
| Size | 21.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
02908c7f530418b9f7ce7de4f2fe3e4aa6fa63c4cda3eb04f6bfee1851294565
|
|
BLAKE2b-256 checksum How to use checksums |
33e59680cf5296648f942e184fd21b35760cf7415deb8a56914b8241d3951416
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
|
Release files / stockfeat-0.1.0-py3-none-any.whl
| Download URL | stockfeat-0.1.0-py3-none-any.whl |
|---|---|
| Size | 23.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
67c2f45dec5543871323346cc39699caad453aaaa37b37614bd532dc56f9e731
|
|
BLAKE2b-256 checksum How to use checksums |
b638dd8a4c0cf4edc15e5ed95c47aa5afb1c11ae00f92abce67431708eae019e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
|