Machine Learning Models
Tradestream uses a variety of machine learning models to predict the future price of a stock. The models are trained on historical data and use a variety of features to make predictions. The models are trained on a daily basis and the predictions are made on a minute-by-minute basis.
Machine Learning Libraries
Tradestream researched the following machine learning libraries:
- TensorFlow
- LSTM
- GRU
- Transformer
- PyTorch
- LSTM
- GRU
- Transformer
- Scikit-learn
- Ridge
- Lasso
- ElasticNet
- RandomForest
- GradientBoosting
- AdaBoost
- Stacking
- Voting
- Bagging
- ExtraTrees
- IsolationForest
- LocalOutlierFactor
- XGBoost
- XGBRegressor
- XGBClassifier
- LightGBM
- LGBMRegressor
- LGBMClassifier
- CatBoost
- CatBoostRegressor
- CatBoostClassifier
- Prophet
- ProphetRegressor
- ProphetClassifier
Contributing to Tradestream
We welcome contributions to Tradestream! Please open an issue or submit a pull request with your changes. You can find the pull request template in the .github/pull_request_template.md file. If you have any questions, please open an issue and we will be happy to help. You can also find us on the Tradestream Discord if you have any questions. It is very important that you follow the Contributing Guidelines when contributing to Tradestream. We look forward to seeing your contributions!
Project Structure
Tradestream is a Python application that uses the Dash framework for the frontend and the Flask framework for the backend. The application is deployed to Heroku. The project is organized as follows:
tradestream/ # Main directory for the application
│
├── dash_app/ # Directory for the Dash app (frontend)
│ ├── __init__.py # Initialize the Dash app, include authentication
│ ├── layout.py # Define the layout of the Dash app
│ ├── callbacks.py # Define callbacks for interactivity
│ └── authentication.py # Handle user authentication
│
├── services/ # Directory for services that fetch real-time market data
│ ├── __init__.py # Initialization for services
│ ├── market_fetcher.py # Code to fetch real-time data from the markets
│ └── scheduler.py # Schedule tasks to fetch data at intervals
│
├── api/ # Directory for the API server
│ ├── __init__.py # Initialization for API server
│ ├── routes.py # Define API routes
│ ├── models.py # Define MongoDB models using ODM (like PyMongo or Motor)
│ └── views.py # API views (logic to handle requests)
├── .env # DOTENV file
├── Procfile # Define process types for Heroku (e.g., web, worker)
├── requirements.txt # Python dependencies
└── build.sh # Shell script to build the app
└── start.sh # Shell script to start the app
└── pyproject.toml # Python package configuration
Metadata
Release files for tradestream 0.5.10
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 | Actions |
|---|---|---|---|---|
| tradestream-0.5.10.tar.gz | 14.7 kB | Without provenance | Details for tradestream-0.5.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tradestream-0.5.10-py3-none-any.whl | Python 3 | none | any | Details for tradestream-0.5.10-py3-none-any.whl |
Total release size: 31.0 kB
Release files / tradestream-0.5.10.tar.gz
| Download URL | tradestream-0.5.10.tar.gz |
|---|---|
| Size | 14.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
00ae10e7781950b8cd25347759cfbcaef557194e6dcd7de6f748fa0d06eb2331
|
|
BLAKE2b-256 checksum How to use checksums |
7ed197c2b2d5c7bb8f8ff8c8946e31a3115351069c6ba12c1940b7b1fa81f2f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.5 Darwin/23.6.0
|
Release files / tradestream-0.5.10-py3-none-any.whl
| Download URL | tradestream-0.5.10-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc17ba21c4d6570214894f5fa6c9a1c20e0c9079cdaed5a6c8bd6e3af400861a
|
|
BLAKE2b-256 checksum How to use checksums |
d7b060a5e03f8c2092372ad5d196bd89422de347f453b6ca5c2bc3b570508483
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.5 Darwin/23.6.0
|
Security for tradestream 0.5.10
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.