Skip to content

Python script that automatically tracks the exchange rates and send money through TransferWise

Notifications You must be signed in to change notification settings

icaroryan/AutoWise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoWise

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!

Table of contents

🛠 Tech Stack

| |

  • Languages Used: Python, RESTful API, BeautifulSoup

⚙️ Features

  • 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.

💎 Usage

  1. Clone repository with git clone https://github.com/icaroryan/AutoWise.git
  2. Follow setup instructions
  3. Open Command line in the application folder
  4. Install all needed packages by running the command pip install -r requirements.txt
  5. Run app with command python app.py
  6. Select currencies to send money from/to
  7. Select the target rate, amount and recipient account
  8. Relax, and let us do the hard work

👀 Application Demo

Don't time the market. Let us do it for you! 📉

1. Selecting currencies

In this screen, the user will select the currencies that they want to sent money from/to. image

2. Selecting target rate, amount and recipient account

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.

image

3. Tracking the Forex Market 📈

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.

image

As you can see in the picture below, we started on a high market, which isn't what we want.

wise11

4. Buying the DIP 📉

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.

image

wise7

5. Buying the DIP (again) 📉

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.

image

wise10

Results progression in only a couple of hours: 0.22677 > 022559 > 0.22503

6. Rate guaranteed on Wise 💲

After finding the best conversion rate, your transfer will be secured on Wise.

image

🔑 Environment Variables

To run the application, the following environment variable must be added:

API_TOKEN

🔧 Wise Setup

  1. Login into your TransferWise (aka Wise)
  2. Open the account settings

image

  1. Scroll down and untoggle the "API Tokens" option
  2. Click on "Add new Token"

image

  1. Give it a nice name and hit "Full Access"
  2. "Create Token"

image

  1. Go back to "API Tokens" and copy your key

image

  1. 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
  2. Save the file and rename it to ".env"

2022-01-18_00-38-37_AdobeCreativeCloudExpress (1)

About

Python script that automatically tracks the exchange rates and send money through TransferWise

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published