Create desktop alerts for Transferwise exchange rates
Project description
Exchange Rate Alert
Creates desktop alerts when the Transferwise exchange rates hit a target rate. Checks conversion rate every time the polling interval has passed.
Currently running on Windows and Linux, PIP version 20.0.1
Before Using
Before the module can be used the user has to create a Transferwise API token. The detailed instructions can be found here - https://api-docs.transferwise.com/#payouts-guide-api-access
The program will try and find the access token in the following manner
-
System Variable named TCR - create a system variable named TCR
-
Configuration file - located at
%HOMEDRIVE%%HOMEPATH%/.tcr
on windows or~/.tcr
on linux
Add the token information in the file
[default]
token=aaaaaaaaa-bbbb-cccc-dddd-eeeeeeeeee
Installation
Install package from pip
pip install exchange-rate-alert
Usage
1. From Command Prompt
-
era --source SEK --target INR --alert-rate 8.5 --poll-interval=30
-
era
and respond to prompts
2. As a python module
Import into python script
from ratealert import ConversionAlert
Call the constructor, wait for alert, profit!
ConversionAlert(source, target, alert_rate, poll_interval)
Example
from ratealert import ConversionAlert
ConversionAlert('SEK', 'INR', 8.5, 60)
This will create a notification when the Transferwise exchange rate crosses the alert rate.
The rates will be checked every 60 seconds if the polling interval option is not provided.
Exit the script by Ctrl+C
Change notes
0.8 - Polling interval as an option, minor fix for Linux
0.7 - support for Linux, installs packages based on OS
0.6 - Command line execution, input prompts
0.3 - Alert on a target conversion rate
0.1 - Alert at specified intervals
Next steps
- Quotation request and transfer lock on target conversion rate
- OAuth login for Transferwise
- Support for other clients (Remitly?)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file exchange-rate-alert-0.8.tar.gz
.
File metadata
- Download URL: exchange-rate-alert-0.8.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5790c411b872aef5b52c17428fb17453a3cbd4b6227703f3df3f486cf3769c5a |
|
MD5 | 76abf601e716d2fa11befe8ae55b4ec2 |
|
BLAKE2b-256 | 1f98289c1851c253a760b059501cc0116306f5c61df58c900895f1c1ec39cc30 |
File details
Details for the file exchange_rate_alert-0.8-py3-none-any.whl
.
File metadata
- Download URL: exchange_rate_alert-0.8-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70efac01f9b548b373dececfc8435d4a1ab2249c295cdb7cc83081d2e1e3c2d1 |
|
MD5 | 1ef25d566b5d40d6b0ea6a08a365bb7a |
|
BLAKE2b-256 | 95f20d41886c9141ab6a3764cbcea6e30f4c2294e49a60cacfe96ddbc5d88534 |