Bitcoin Tracker ₿
Number of APIs: 2
The Bitcoin Tracker is a Qodex collection that compares the current Bitcoin exchange rate with a target value. If the current Bitcoin rate drops below this target (like in a flash crash), you will receive an SMS alert.
You can run the collection locally with the Qodex collection runner or Newman command line tool, or run the collection on the Qodex cloud with a monitor.
Legal disclaimer: Cryptocurrencies are volatile. Qodex assumes no ownership (or liability) in all the $$$ you make (or lose). Gamble responsibly!
To make money: Running this collection once or twice won't help you make it rain ????. If you're using a Qodex monitor, set the frequency to run this check periodically. If you're using the Newman command line tool, write a shell script to set up a cron job that runs the collection periodically.
Quickstart
Before you can run the Bitcoin Tracker collection, you need to create or update an environment. Add the following required variables to a new environment, or update the Bitcoin Tracker.template
environment you downloaded with the Run in Qodex button:
Environment Variable Name | Description |
---|---|
twilioAccountSID | A Twilio Account SID |
twilioAuthToken | A Twilio Auth Token |
targetRate | Set a target rate. If the current Bitcoin rate drops below this target, the POST request to the Twilio API will be called. |
Twilio credentials
You will need a Twilio Account SID to add or update the twilioAccountSID
value within the Qodex environment. You will need a Twilio Auth Token to add or update the twilioAuthToken
value within the Qodex environment.
](/assets/blogs/https://s3.amazonaws.com/Qodex-static-getQodex-com/Qodex-docs/twilioAuth_censored.jpg)
Enter a target rate
You will need to set a target rate by adding or updating the targetRate
value within the Qodex environment. If the current Bitcoin rate drops below this target, the POST
request to the Twilio API will be called.