Skip to content

nuriyeAltan/foreignExchangeProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“Š Foreign Exchange Tracker

A simple real-time financial data tracking system built with Python.
This project uses a Publisher-Subscriber architecture to distribute live currency and commodity prices.


๐Ÿš€ Features

  • Real-time financial data publishing using ZeroMQ
  • Subscription-based filtering (USD, EUR, GOLD, SILVER)
  • Lightweight and modular structure
  • Easy to extend with GUI or visualization tools

๐Ÿ› ๏ธ Technologies Used

  • Python
  • ZeroMQ (zmq)
  • yfinance

๐Ÿ“‚ Project Structure

foreignExchangeProject/ โ”‚ โ”œโ”€โ”€ publisher.py # Sends financial data (Publisher) โ”œโ”€โ”€ subscriber.py # Receives and filters data (Subscriber) โ”œโ”€โ”€ README.md โ””โ”€โ”€ requirements.txt


โš™๏ธ How It Works

  1. The publisher fetches live financial data using yfinance
  2. Data is sent through a ZeroMQ PUB socket
  3. Subscriber connects and filters specific assets
  4. Only selected data (e.g., USD, GOLD) is displayed

โ–ถ๏ธ How to Run

1. Install dependencies

pip install -r requirements.txt

2. Run Publisher

python publisher.py

3. Run Subscriber

python subscriber.py


๐Ÿ“Œ Example Output

GUMUS 28.45 USD 32.10 EUR 35.20


๐ŸŽ“ Academic Context

This project was developed as part of a Computer Networks course.
It demonstrates real-time communication using the Publisher-Subscriber model with ZeroMQ.


๐Ÿ”ฎ Future Improvements

  • GUI interface using Tkinter
  • Live chart visualization
  • Multiple subscriber support
  • Historical data storage

๐Ÿ‘ฉโ€๐Ÿ’ป Author

Nuriye Altan

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages