A Python script to help you save money when sending money internationally. This script uses BeautifulSoup to track the fluctuations in conversion rates between currencies and find the lowest exchange rate to send money from one country to another.
Once the desired rate is reached, the script will utilize REST Api to perform an API request to create a transaction on TransferWise, a platform to send and receive money from overseas. Upon detecting a lower exchange rate than the current transaction, this application will perform a new request to the API to update the transfer. Say goodbye to the hassle of timing the market to get the best conversion rate between two currencies. AutoWise will do it for you!
- Languages Used: Python, RESTful API, BeautifulSoup
- Simple and easy user interface.
- Track the exchange rate between two currencies.
- Allow the user to choose the amount to send and the desired exchange rate.
- Select the recipient account to receive the transfer.
- Open an automatic transfer on Wise (ex TransferWise) to send money internationally when the best rate is reached.
- Clone repository with
git clone https://github.com/icaroryan/AutoWise.git
- Follow setup instructions
- Open Command line in the application folder
- Install all needed packages by running the command
pip install -r requirements.txt
- Run app with command
python app.py
- Select currencies to send money from/to
- Select the target rate, amount and recipient account
- Relax, and let us do the hard work
In this screen, the user will select the currencies that they want to sent money from/to.
After selecting the currencies, the user will be able to choose their target exchange rate, amount to be sent, and a recipient from their recipient list.
The software will take into consideration the user's target rate, and will place a transfer when the exchange rate of their selected currencies reaches below, or is at least equal to, the user's desired rate.
As you can see in the picture below, we started on a high market, which isn't what we want.
When the script finds the best moment to create a transfer, it will do so automatically, thus, eliminating the need for the user to watch the graphs 24/7.
The best part of it is that it'll keep getting the lowest Exchange Rate as long as the script is in execution. <br/ > This is evident in the images below; not only did AutoWise manage to reach the target rate, but it went above and beyond by finding an even better exchange rate.
Results progression in only a couple of hours: 0.22677 > 022559 > 0.22503
After finding the best conversion rate, your transfer will be secured on Wise.
To run the application, the following environment variable must be added:
API_TOKEN
- Login into your TransferWise (aka Wise)
- Open the account settings
- Scroll down and untoggle the "API Tokens" option
- Click on "Add new Token"
- Give it a nice name and hit "Full Access"
- "Create Token"
- Go back to "API Tokens" and copy your key
- Inside the AutoWise folder, you'll find a file called ".env.example". Open it and append your key after "API_TOKEN="
e.g.API_TOKEN=6abcdac4-7d4c-4c45-bbf8-aeebc628d3ed
- Save the file and rename it to ".env"