A PyTorch based stock model training and prediction library
Project description
PyStocky: a stock price prediction library based on PyTorch
PyStocky is a stock price prediction library implemented using the PyTorch framework, which utilizes deep learning models such as LSTM to predict the future trends of the stock market. This library aims to provide financial analysts and data scientists with a powerful and flexible tool to assist them in market analysis and investment decision-making.
Characteristics
- Based on PyTorch: Utilizing PyTorch's powerful deep learning library for model construction and training.
- LSTM model: uses long short-term memory networks to capture long-term dependencies in time series data.
- Easy to use: Provides a concise API for quick stock price prediction.
- Customizability: allows users to customize model parameters to adapt to different datasets and prediction needs.
Installation
PyStocky can be installed through pip:
pip install pystocky
Quick Start
Here are the basic steps on how to use PyStocky for stock price prediction:
Import the library
import pystocky
Configure
config = pystocky.config.init_from_dict({
'data': 'data/GOOG.csv',
'output': 'model/'
})
Train and show the results
trainer = pystocky.trainer.Trainer(config)
trainer.train()
trainer.show()
note: In example above, please make sure there is a line named 'close'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pystocky-0.1.tar.gz.
File metadata
- Download URL: pystocky-0.1.tar.gz
- Upload date:
- Size: 19.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d963e65efbbb82827c80d642381b38f92710767be527d63e639a76c695220bef
|
|
| MD5 |
199cb8cde87c6b997735a11613632071
|
|
| BLAKE2b-256 |
252be9ece82c558fa6efa7e07240a6a1c0781b39ae26fc7b032c09337e6c02f1
|
File details
Details for the file pystocky-0.1-py3-none-any.whl.
File metadata
- Download URL: pystocky-0.1-py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23b8d5aef223e7cc8726d98e03cd52455e262f1ddc8ad587f0435f369d4c4143
|
|
| MD5 |
4a854577e69b98639a4a6bbb54614395
|
|
| BLAKE2b-256 |
bb7afaa16e89e2f340eda07846245bdb60fb384495478285d346ccabecfd5e12
|