8000 GitHub - deux99/TrendBlender.py
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

deux99/TrendBlender.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TrendBlender: GBP/USD Currency Pair Price Tracker and Visualization

TrendBlender is a Python script that tracks real-time GBP/USD currency pair prices, stores the data in an Oracle database, and visualizes historical price trends using Matplotlib.

Features

  • Web Scraping: Fetches current GBP/USD price data from Investing.com using requests and BeautifulSoup.
  • Database Interaction: Stores fetched data in an Oracle database (price_tracker) with columns for timestamp, currency pair, and price.
  • Data Visualization: Plots historical GBP/USD prices over time using Matplotlib, with markers, labels, and formatted timestamps.
  • Periodic Updates: Automates data fetching and visualization at regular intervals using schedule.

Installation

Step 1: Clone the Repository

git clone https://github.com/your-username/trendblender.py.git
cd trendblender.py

Step 2: Install Dependencies

pip install -r requirements.txt

Step 3: Configure Oracle Database

Edit the user, pw, and cs variables in the script with your Oracle database credentials.

Usage

To start tracking and visualizing GBP/USD prices, run the script:

python trendblender.py

The script fetches real-time data every minute, stores it in the database, and updates the visualization accordingly.

Requirements

  • Python 3.x
  • Python packages: requests, beautifulsoup4, matplotlib, schedule, oracledb

Contributing

We welcome contributions! Fork the repository and submit pull requests to contribute to TrendBlender.

License

This project is licensed under the MIT License. See the LICENSE file for details.


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0