Skip to content

siddharthprakash1/MixtureOfPredictiveAgents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ”ฎ Mixture of Predictive Agents for Bitcoin Price Forecasting

๐Ÿ“Š Overview

This project implements a mixture of predictive agents to forecast Bitcoin prices. It utilizes various language models through Ollama to generate predictions based on historical price data and current market conditions.

Here's a sample of what the output looks like:

Sample Output

โœจ Features

  • ๐Ÿ’ฐ Fetches current Bitcoin price from CoinGecko API
  • ๐Ÿ“… Uses historical Bitcoin price data (30 days) for trend analysis
  • ๐Ÿค– Employs multiple language models for diverse predictions:
    • llama3
    • deepseek-coder-v2
    • mistral
    • codellama
    • qween2
    • llava:latest
  • ๐Ÿงฎ Aggregates predictions and provides summary statistics
  • ๐Ÿ› ๏ธ Implements error handling and logging for robustness

๐Ÿš€ Prerequisites

  • Python 3.7+
  • Ollama installed and configured
  • Required Python packages (install via pip install -r requirements.txt):
    • dotenv
    • requests
    • rich

The script will fetch the current Bitcoin price, use various models to make predictions, and display the results in a formatted table along with summary statistics.

๐Ÿ“ˆ Output

The script provides:

  • Current Bitcoin price
  • Individual model predictions
  • A summary table of all predictions
  • Aggregated results including:
    • Average predicted price
    • Corrected prediction (4% lower)
    • Price deltas and accuracy percentages

๐Ÿ“ Logging

The script logs its operations to a file for debugging and monitoring purposes. Check the log file for detailed information about each run.

๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

โš ๏ธ Disclaimer

This tool is for educational and research purposes only. Do not use it for actual trading or financial decisions. Always consult with a qualified financial advisor before making investment decisions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published