Skip to content

abrenmarie/econ-security-system

Repository files navigation

Economic Security Monitoring System

A compact, automated system for tracking financial markets, visualizing trends, and receiving real-time alerts. Designed for personal financial security and market awareness.

Features

  • Data Collection: Automated fetching of exchange rates (USD, CNY, EUR) via Central Bank of Russia API.
  • Crypto Tracking: Real-time Bitcoin price monitoring using CoinGecko API.
  • Analysis: Z-score based anomaly detection for transaction monitoring.
  • Visualization: Automatic generation of exchange rate charts using Matplotlib.
  • Telegram Integration: Get status reports and visual charts directly in Telegram.

Installation

  1. Clone the repository: git clone https://github.com/abrenmarie/econ-security-system.git
  2. Install dependencies: pip install -r requirements.txt
  3. Configure your config.py with your Telegram Bot Token and Chat ID.
  4. Run the initial database setup: python3 init_db.py

Usage

  • Run python3 security_analytics.py to collect data.
  • Run python3 telegram_bot.py to start the bot.
  • Use /status or /graph commands in Telegram to get updates.

Tech Stack

  • Python 3.9+
  • SQLite (for data storage)
  • Matplotlib (for visualization)
  • PyTelegramBotAPI (for bot interaction)

Releases

No releases published

Packages

 
 
 

Contributors

Languages