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.
- 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
- Python
- ZeroMQ (zmq)
- yfinance
foreignExchangeProject/ โ โโโ publisher.py # Sends financial data (Publisher) โโโ subscriber.py # Receives and filters data (Subscriber) โโโ README.md โโโ requirements.txt
- The publisher fetches live financial data using
yfinance - Data is sent through a ZeroMQ PUB socket
- Subscriber connects and filters specific assets
- Only selected data (e.g., USD, GOLD) is displayed
pip install -r requirements.txt
python publisher.py
python subscriber.py
GUMUS 28.45 USD 32.10 EUR 35.20
This project was developed as part of a Computer Networks course.
It demonstrates real-time communication using the Publisher-Subscriber model with ZeroMQ.
- GUI interface using Tkinter
- Live chart visualization
- Multiple subscriber support
- Historical data storage
Nuriye Altan