Skip to content

KamilCloudDev/AceMarket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AceMarket BTC Analysis

This script analyzes AceMarketU-TV's YouTube videos to track the performance of their Bitcoin price predictions from audience polls.

Features

  • Fetches recent video streams from the channel.
  • Extracts poll results (% for price increase vs. decrease) using Gemini 1.5 Flash.
  • Retrieves historical BTC-USD price data from Yahoo Finance for the 24-hour period following the poll.
  • Calculates the prediction success rate based on different movement thresholds (1%, 2%, 3%, 4%, 5%).
  • Generates a analiza_ace_market_btc.csv report with the detailed analysis.

Setup

  1. Clone the repository:

    git clone <repository-url>
    cd acemarket
  2. Install dependencies:

    pip install -r requirements.txt
  3. Configure your API Key:

    • Create a .env file in the root directory.
    • Add your Gemini API key to the file:
      GEMINI_API_KEY="YOUR_API_KEY_HERE"
      

Usage

Run the script from the project's root directory:

python main.py

The script will print a summary of the analysis to the console and save the full report in analiza_ace_market_btc.csv.

About

AI-powered Sentiment Analysis tool. Correlates YouTube audience polls (Gemini 1.5 Flash) with real-time BTC price action from Yahoo Finance to calculate prediction accuracy.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages