49 lines
1.4 KiB
Markdown
49 lines
1.4 KiB
Markdown
# Nadaraya Envelope Python Signal Bot
|
|
|
|
## Overview
|
|
|
|
This Python project implements a signal bot using Nadaraya-Watson Envelopes. The Nadaraya-Watson method is used for smoothing financial time series data and generating trading signals based on envelope breaches.
|
|
|
|
## Features
|
|
|
|
- Smoothing of financial time series data using Nadaraya-Watson kernel regression.
|
|
- Generation of trading signals (BUY, SELL, HOLD) based on envelope breaches.
|
|
- Portfolio simulation and performance visualization.
|
|
|
|
## Prerequisites
|
|
|
|
- Python 3.x
|
|
- Required Python packages can be installed using pip:
|
|
|
|
|
|
pip install -r requirements.txt
|
|
Getting Started
|
|
Clone the repository:
|
|
|
|
git clone https://github.com/yourusername/your-private-repo.git
|
|
cd your-private-repo
|
|
Install the required packages:
|
|
|
|
pip install -r requirements.txt
|
|
Run the main script:
|
|
|
|
python main.py
|
|
Configuration
|
|
You can adjust the following parameters in the config.py file:
|
|
|
|
bandwidth: Set the bandwidth for Nadaraya-Watson Envelopes.
|
|
Usage
|
|
The main script, main.py, executes the entire trading strategy and portfolio simulation.
|
|
Adjust parameters and configurations in config.py as needed.
|
|
Results
|
|
The portfolio's performance will be displayed and saved as visualizations in the results folder.
|
|
License
|
|
This project is licensed under the MIT License - see the LICENSE.md file for details.
|
|
|
|
Acknowledgments
|
|
Nadaraya-Watson Kernel Regression
|
|
Note: This project is private. For inquiries or collaborations, please contact the project owner.
|
|
|
|
|
|
|