Giter Site home page Giter Site logo

crypto_notifications's Introduction

Title: Cryptocurreny API Notification Program

Summary: Program that connects to Coingecko API to get crypto data and send notifications based on alert thresholds

  • Input: Text file containing cryptocurrency porfolito data for users with the coin symbol and the amount held.
    • Format: A list of lists. Each user is in a list. The first part of each list is the user information, the second part is the users portfolio information. (see the sample file portfolio.txt for more information)
  • The program connects to the coingecko API and retrieves data for each coin specified in each users portfolio
  • Metrics retrieved:
    • Percentage Price Change 24H
    • Percentage Price Change 7D
    • Percentage Price Change 14D
    • Percentage Price Change 30D
    • Price ATH
    • Portfolio Totals and Subtotals for each user
  • Run instructions:
    • Install your virtual environment
    • Install the requirements.txt file by running pip freeze > requirements.txt
    • Copy the portfolio.txt file into your environment root directory. Change data as necessary.
    • Create a twilio account with a phone number. Use that number as the from number in the twilio_message.py file
    • Add the environment variables to your system before running the program - TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN
  • Tested: This was tested in a windows virtual environment. Python version 3.6
  • Output: The program alerts the user via Twilio sms if any coin breached their alert percentage. It will show the subtotal in USD held of that coin.

crypto_notifications's People

Contributors

anfieldeire avatar

Stargazers

Glen A Knight avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.