Skip to main content

A Python application with a Dash frontend, services to fetch market data, and an API server.

Project description

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:

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

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

tradestream-0.5.9.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

tradestream-0.5.9-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file tradestream-0.5.9.tar.gz.

File metadata

  • Download URL: tradestream-0.5.9.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Darwin/23.6.0

File hashes

Hashes for tradestream-0.5.9.tar.gz
Algorithm Hash digest
SHA256 e97f6337031ffc2716c2a8d8b66a52ab41c36e4612c7d20e672d68247c952999
MD5 04adbb3b2fffd609592e668db70fed0a
BLAKE2b-256 eea11b969c9ac01d75d81ebc16f1d2897d887837f8c5262c2379282f567d1bc2

See more details on using hashes here.

File details

Details for the file tradestream-0.5.9-py3-none-any.whl.

File metadata

  • Download URL: tradestream-0.5.9-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Darwin/23.6.0

File hashes

Hashes for tradestream-0.5.9-py3-none-any.whl
Algorithm Hash digest
SHA256 8d320a333dfc17c2f79b7709fef99b410f92eb0a2787317d4ac065b2ebd75c5d
MD5 7127f0b0b8cc6f718ca9b16aa1ba9544
BLAKE2b-256 c1896f7c84f93caa132f73a67d563309e7869218cc5e327135cc43e3753d5a61

See more details on using hashes here.

Supported by

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