Create desktop alerts for Transferwise exchange rates
Project description
Exchange Rate Alert
Creates desktop alerts when the Transferwise exchange rates hit a target rate. Tries every five minutes.
Currently running on Windows, Linux support incoming.
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
Usage
Install package from pip
pip install exchange-rate-alert
Import into python script
from ratealert import ConversionAlert
Call the constructor, wait for alert, profit!
ConversionAlert(source, target, alert_rate)
Example
from ratealert.conversionalert import ConversionAlert
ConversionAlert('SEK', 'INR', 8.5)
This will create an alert when the Transferwise exchange rate crosses the alert rate.
The rates will be checked every five minutes.
Exit the script by Ctrl+C
Change notes
0.3 - Alert on a target conversion rate
0.1 - Alert at specified intervals
Next steps
- Linux support
- OAuth login for Transferwise
- Quotation request on target conversion rate
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
Hashes for exchange_rate_alert-0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b89aaaf5d342368fff52793b1e739fce1415426234e119cbfd3f28d7f9eb775a |
|
MD5 | fac49be37e08368760d8d9d178825a63 |
|
BLAKE2b-256 | 04934fb0b241d302b85573671bf05ea532f60e56accf7ff9cce91cb6ebcbcecb |