This repository contains my Smart Financial Management System, developed for AF3005 - Programming for Finance at FAST-NUCES, Islamabad. The system automates financial operations using Python and IPyWidgets, allowing users to interactively perform various financial tasks.
This project focuses on implementing different financial operations step by step using interactive widgets.
The system includes:
- β Loan eligibility assessment
- β Investment portfolio risk classification
- β Automated loan repayment tracking
- β Stock market monitoring and alerts
- β Currency exchange rate tracking and conversion suggestions
- Users enter salary, employment status, and credit score.
- The system checks if the user qualifies for a loan based on predefined conditions:
- If the applicant is unemployed or earns less than PKR 50,000, the loan is rejected.
- If the credit score is 750+, the loan is approved at 5% interest rate.
- If the credit score is between 650-749, the loan is approved at 8% interest rate.
- Users enter a list of stock returns.
- The system classifies the portfolio as:
- π΄ High Risk β If any stock has a negative return.
- π Medium Risk β If all returns are positive, but at least one is below 5%.
- π’ Low Risk β If all returns are 5% or above.
- Users enter loan amount, interest rate, and loan term.
- The system calculates the monthly installment and tracks the remaining balance.
- A repayment schedule is displayed dynamically.
- Users enter stock price trends over time.
- If the price drops significantly, an alert is triggered.
- If the price increases beyond a set threshold, a buy/sell recommendation is provided.
- Users select base and target currencies and enter exchange rates.
- The system provides latest exchange rates and suggests best times to convert money.
- Users can calculate currency conversions interactively.
1οΈβ£ Open the Jupyter Notebook or run it in Google Colab.
2οΈβ£ Enter the required financial data using interactive widgets.
3οΈβ£ Click buttons to process loan eligibility, portfolio risk, stock monitoring, or currency tracking.
4οΈβ£ View dynamic results and financial recommendations.
Clone this repository:
git clone https://github.com/your-username/AF3005_ProgrammingForFinance.git
π Repository Structure
π Assignments/ β Contains the Jupyter Notebook (.ipynb) with full implementation.
π Datasets/ β Sample stock prices and exchange rate data for testing.
π Docs/ β Notes and breakdown of financial models used in the assignment.
π Technologies Used
Python π
IPyWidgets ποΈ
Jupyter Notebook / Google Colab π
π License
This project is for educational purposes only and follows the FAST-NUCES assignment policies.
π‘ Feel free to explore, use, or improve this project! π