The Currency Exchange Monitor & Alert Agent is a tool built using the Fetch.ai's uAgent library. It provides real-time tracking and alert functionality for different currency exchange rates. Users can set their base currency, select one or more foreign currencies to monitor, and set thresholds for alerts.
Link to uAgent Library:
Features | Description |
---|---|
Currency Selection | Choose your base currency and multiple foreign currencies for monitoring. |
Real-time Updates | Connects to a currency exchange API to fetch current rates. |
Custom Alerts | Set custom thresholds for exchange rates and receive notifications when these thresholds are crossed. |
To clone the repository, run the following:
git clone https://github.com/mehak1309/HackAI_230625.git
To install the package, run the follwing command:
pip install -r requirments.txt
To run the application, use the following commands:
python ./src/ main.py
python -m streamlit run settings.py
Generate your API key using this link: Create API Key
Please fill the required details in the website above to receive your API key.
-
Fetch.ai's uAgent Library
pip install uagent
-
Streamlit
pip install streamlit
-
Playsound
pip install playsound
-
Pandas
pip install pandas
-
Plotly
pip install plotly
These dependencies should be saved in the requirements.txt
file, making it easier to set up the project. When setting up the project, you can simply run the following command in Step 2 to install all dependencies.
Here, you can provide essential information for the currencies you wish to monitor:
- Input your API key.
- Specify the base currency.
- Define the foreign currency. You can add upto 3 currencies.
- Set your desired threshold.
- Complete the process by clicking the submit button. Wait for a minute before proceeding to the next page.
When you navigate to the Currency Monitor Page, you'll encounter a dynamic bar chart. You have the flexibility to choose the graph view, whether for frequency or exchange rates, for the foreign currencies you selected earlier. Additionally, you can customize the foreign currencies displayed. The graph updates in real-time, providing you with the most current data.
On the right-hand side, you'll find alert notifications accompanied by sound cues. These alerts promptly notify you when the foreign currencies either surpass or dip below the threshold values set by the user.
This project relies on two essential datasets in CSV format:
-
currency_codes.csv: This dataset comprises three-letter currency codes, enhancing the frontend user experience by providing easy access to currency information.
-
user_data.csv: Within this dataset, you'll find the information entered by users in forms, encompassing details related to foreign countries, thresholds, and more. It plays a crucial role in shaping the user experience and functionality of the application.
Mehak Singal – [email protected]
Nidhish Kumar - [email protected]
Garima Sikka - [email protected]
Mohammed Samir - [email protected]
Distributed under the MIT license. See LICENSE
for more information.