PytoPrice is an automation program to fetch the latest price of a cryptocurrency of your choice at a user-customizable update interval.

Overview

PyToPrice (Python Crypto Price)

PytoPrice is an automation program to fetch the latest price of a cryptocurrency of your choice at a user-customizable update interval. It also comes with the ability to send you an alert when the price goes below your price threshold.

This is not a full service. This repository merely gives you the automation code for you to intergrate using third-party service.

It is recommended to use IFTTT for this project, as this project relies heavily on IFTTT.

Disclaimer

The price updates may or may not get delivered exactly in X (where X is the price update interval of your choice) seconds sharp. This is happening because it takes time to fetch the price data from CoinMarketCap API and to send it to the IFTTT Telegram Bot. If this does not suit your use case, please refrain from using this repository.

Requirements

This is the requirements that's needed to be fulfilled in order to use this project.

  • An IFTTT account (to make IFTTT applet).
  • IFTTT app installed on your phone
  • A Telegram account (to intergrate with IFTTT bot).
  • An API Key to access CoinMarketCap API (The free tier will do). (NOTE: For free tier, 5 minutes (300 seconds) update interval is highly recommended.)

Features

  • Intergration with smartphone notification system (through IFTTT application).
  • Intergration with Telegram Bot (through IFTTT telegram bot).
  • User-customizable price update interval.

Installation

  • Do a git clone of this repository using

      git clone https://github.com/PeterAjaaa/PyToPrice.
    
  • Make an account at CoinMarketCap API.

  • Copy the API key and store it somewhere safe.

  • Make an account at IFTTT (If This Then That).

  • Create a new applet on IFTTT.

      - Choose the 'If this' and click on 'Add'.
    
      - Search for 'Webhooks' and click on 'Receive A Web Request'.
    
      - Put a name on it, and store it somewhere safe, as it is needed later.
    
      - Choose the 'If that' and click on 'Add'.
    
      - Search for notification and click on 'Send a notification from the IFTTT app'.
    
      - Change the message to whatever you like.
    
      - Do this twice, one for the Telegram Price Update and the other for the Emergency Alert System. (Note that the Telegram intergration will make use of authentication from your account).
    
  • Go to the IFTT Webhook Maker Documentation.

  • Click the 'Documentation' button.

  • Copy the URL Key a.k.a. /key/copy-this and store it somewhere safe.

  • Run 'python pytoprice.py' for MacOS and Linux, and 'python3 pytoprice.py' for Windows.

  • Fill in the credential needed (no data is sent over to me and is stored on a config file locally).

  • Keep it running and it's done.

Release History

See CHANGELOG.md

You might also like...
Stor is a community-driven green cryptocurrency based on a proof of space and time consensus algorithm.

Stor Blockchain Stor is a community-driven green cryptocurrency based on a proof of space and time consensus algorithm. For more information, see our

Signarly is a cryptocurrency trading bot.

Signarly is a cryptocurrency trading bot.

SHIBgreen is a cryptocurrency forked from Chia and uses the Proof of Space and Time consensus algorithm

SHIBgreen is a cryptocurrency forked from Chia and uses the Proof of Space and Time consensus algorithm

Cryptocurrency with implementet Blockchain

Cryptocurrency with implementet Blockchain

A Docker image for plotting and farming the Chia™ cryptocurrency on one computer or across many.
A Docker image for plotting and farming the Chia™ cryptocurrency on one computer or across many.

An easy-to-use WebUI for crypto plotting and farming. Offers Plotman, MadMax, Chiadog, Bladebit, Farmr, and Forktools in a Docker container. Supports Chia, Cactus, Chives, Flax, Flora, HDDCoin, Maize, N-Chain, Staicoin, and Stor among others.

Python Dash app that tracks whale activity in cryptocurrency markets.
Python Dash app that tracks whale activity in cryptocurrency markets.

Introduction Welcome! This is a Python-based Dash app meant to track whale activity in buy / sell walls on crypto-currency exchanges (presently just o

This is a simple application to generate HD wallet addresses for cryptocurrency coins.

HD-Wallet-Address This is a mini service to generate addresses in the master HD-Wallet. It will use py_crypto_hd_wallet package as a base. Prerequisit

Python Cryptocurrency with stealth addresses

Python Cryptocurrency with stealth addresses. Goal is to have create a cryptocurency that hides transactions totally. I.E. Cant see ammount sent, to who, or from who.

Aggregate real-time market data from cryptocurrency exchanges, filter, sort and format as TradingView watchlists.

tvbuddy Aggregate real-time market data from cryptocurrency exchanges, filter, sort and format as TradingView watchlists. Developed and tested on Pyth

Releases(v1.0)
Owner
Peter
Self-taught programmer. Currently learning Python and Go.
Peter
💰 An Alfred Workflow that provides current price of cryptocurrency

Coin Ticker for Alfred Workflow An Alfred Workflow that provides current price and status about cryptocurrency from cryptocompare.com. Supports Alfred

Bumsoo Kim (Ian) 14 Nov 17, 2022
Cryptocurrency trading bot with a graphical user interface with support for simulations, backtests, optimizations, and running live bots.

Cryptocurrency trading bot with a graphical user interface with support for simulations, backtests, optimizations, and running live bots.

Mihir Shrestha 834 Dec 30, 2022
Repository detailing Choice Coin's Creation and Documentation

Choice Coin V1 This Repository provides code and documentation detailing Choice Coin V1, a utility token built on the Algorand Blockchain. Choice Coin

Choice Coin 245 Dec 29, 2022
A repository for voting systems using Choice Coin.

Voting This is a repository for voting software built using Choice Coin on the Algorand Network. Our voting software is centered around Decentralized

Choice Coin 633 Dec 23, 2022
Tracking (of choice) cryptocurrencies' daily prices and moving average.

Crypto-price-moving_average Tracking (of choice) cryptocurrencies' daily prices and moving average. About Alpha Vantage The Alpha Vantage library (htt

Thong Huynh 2 Jan 22, 2022
Calculate your taxes from cryptocurrency gains

CoinTaxman helps you to bring your income from crypto trading, lending, ... into your tax declaration.

Jeppy 118 Dec 26, 2022
Run with one command grafana, prometheus, and a python script to collect and display cryptocurrency prices and track your wallet balance.

CryptoWatch Track your favorite crypto coin price and your wallet balance. Install Create .env: ADMIN_USER=admin ADMIN_PASSWORD=admin Configure you

Rafael Zimmermann 13 Dec 13, 2022
A bot for FaucetCrypto a cryptocurrency faucet. The bot can currently claim PTC ads, main reward and all the shortlinks except exe.io and fc.lc.

A bot for the high paying popular cryptocurrency faucet Faucet Crypto. The bot is built using Python and Selenium, currently it is under active develo

Sourav R S 81 Dec 19, 2022
This python module can analyse cryptocurrency news for any number of coins given and return a sentiment. Can be easily integrated with a Trading bot to keep an eye on the news.

Python script that analyses news headline or body sentiment and returns the overall media sentiment of any given coin. It can take multiple coins an

null 185 Dec 22, 2022
GreenDoge is a modern community-centric green cryptocurrency based on a proof-of-space-and-time consensus algorithm.

GreenDoge Blockchain Download GreenDoge blockchain GreenDoge is a modern community-centric green cryptocurrency based on a proof-of-space-and-time con

null 40 Sep 11, 2022