Tracking (of choice) cryptocurrencies' daily prices and moving average.

Related tags

Cryptographypython3
Overview

Crypto-price-moving_average

Tracking (of choice) cryptocurrencies' daily prices and moving average.

About Alpha Vantage

The Alpha Vantage library (https://www.alphavantage.co/documentation/) allows tracking the price movement of stocks, cryptocurriencies or economic indicators like real GDP. This python script uses Alpha Vantage's free API to retrieve 4 endogeneous cryptocurriencies' closing prices. Much as Alpha Vantage has an extremely useful TechIndicators function to calculate the eponymous tasks such as simple moving average and exponential moving, etc., they are applicable only to stocks tickers and not cryptocurrencies symbols (or they could be but not that I am fully aware of). Therefore, in the script I also write a basic simple moving average (SMA) function that takes in the user's Pandas series, interval of observation and period-to-average-over, to calculate the simple moving average of a given time series. The SMA formula can be found on Investopedia (https://www.investopedia.com/terms/s/sma.asp). I then use that function to calculate the simple moving average of the crypto prices retrieved from Alpha Vantage API.

Expected Outcome

The script produces a figure of 4 panels (2x2) of 4 chosen cryptocurrencies available at Alpha Vantage API. The API free key enables only 5 calls per minute, and I choose 4 for the sake of presentation. Each panel depicts the chosen cryptocurrency prices for the last k days and its moving average over n days, with k, n being chosen at the user's discretion. Then, an Excel sheet will also be generated, with each out of 4 sheets contain all the prices and moving average for the chosen cryptocurrency. The original script selects 4 cryptocurrencies: Bitcoin, Ether, Litecoin and Cardano. The user can change the desirable currencies names and symbols in the dictionary 'symbols_dict' at the beginning of the script.

Result: https://imgur.com/gallery/NvP8hLO

Remarks and criticism welcome.

Owner
Thong Huynh
Thong Huynh
Blockchain Python Implementation

Blockchain Python Implementation

0918nobita 2 Nov 21, 2021
A community effort to bring back Duino-Coin

Duino-Coin-Revived A community effort to bring back Duino-Coin! Along with reviving the cryptocurrency, we will add many improvements to it, including

1 Dec 22, 2021
An encryption format offering better security, performance and ease of use than PGP.

An encryption format offering better security, performance and ease of use than PGP. File a bug if you found anything where we are worse than our competition, and we will fix it.

27 Dec 25, 2022
Certbot is EFF's tool to obtain certs from Let's Encrypt and (optionally) auto-enable HTTPS on your server.

Certbot is EFF's tool to obtain certs from Let's Encrypt and (optionally) auto-enable HTTPS on your server. It can also act as a client for any other CA that uses the ACME protocol.

29.5k Dec 31, 2022
Aza this is a text encryption software

Aza text encryptor General info Aza this is a text encryption software Help command: python aza.py --help Examples python aza.py --text "Sample text h

ToxidWorm 1 Sep 10, 2022
Connects to an active BitCoin Peer and communicates in order to locate a specific block number (height)

BitCoin-Peer-Client Connects to an active BitCoin Peer, and locates a predetermined block number (height) by downloading block headers. Once required

Henry Song 1 Jan 16, 2022
Cyber Security Starter Kit Platform

Cyber Security Starter Kit Platform (CSSKP) allows to instantiate new self-assessment products such as Fit4Cybersecurity, Fit4Privacy, Fit4Contract and the like.

CASES Luxembourg 3 Oct 21, 2021
Decrypting winrm traffic using password/ntlm hash

Decrypting winrm traffic using password/ntlm hash

Haoxi Tan 9 Jan 05, 2022
A Python implementation of CWT/COSE.

Python CWT - A Python implementation of CWT/COSE Python CWT is a CBOR Web Token (CWT) and CBOR Object Signing and Encryption (COSE) implementation com

Ajitomi Daisuke 13 Dec 14, 2022
Modeval (or Modular Eval) is a modular and secure string evaluation library that can be used to create custom parsers or interpreters.

modeval Modeval (or Modular Eval) is a modular and secure string evaluation library that can be used to create custom parsers or interpreters. Basic U

2 Jan 01, 2022
Tools for running airdrop and token distribution campaigns on the Solana blockchain.

Overview This repository contains some of the scripts we have used for running our airdrop campaigns and other distributions. Initially, all of these

147 Nov 17, 2022
A Python script to implement Hill's Cipher Encryption and Decryption.

Hill_Cipher-Encryption_and_Decryption A Python script to implement Hill's Cipher Encryption and Decryption. Initially in the Encryption part, the Plai

Vishvendra Singh 1 Jan 19, 2022
Advanced Digital Envelope System Using Cryptography Techniques (Encryption & Decryption)

Advanced-Digital-Envelope-System Advanced Digital Envelope System Using Cryptography Encryption Techniques The digital envelope system is the techniqu

NelakurthiSudheer 2 Jan 03, 2022
This program can encrypt/ decrypt any string

Ceasar_cipher Hey this is J0ey, this program is a very basic Caesar cipher encoder/decoder. In order to use this program, you will need to have Python

1 Jan 11, 2022
A python implementation of our standard object-oriented encryption package, shipped with most apps.

Encryption Manager (python edition) VerseGroup's native encryption manager adapted for python applications. Function Generate new set of private and p

Verse Group LLC 2 Oct 30, 2022
Simple bitcoin ticker for the Pimorono Inky pHAT Red.

bitcoin-ticker Simple bitcoin ticker for the Pimorono Inky pHAT Red. Equipment Raspberry Pi Zero W v1.1 or Pi 2 model b v1.1 Pimorono Inky pHAT Red (S

2 Mar 15, 2022
đź“ŠPython implementation of the Colin Talks Crypto Bitcoin Bull Run Index (CBBI).

Colin Talks Crypto Bitcoin Bull Run Index (CBBI) This is a Python implementation of the Colin Talks Crypto Bitcoin Bull Run Index (CBBI). It makes use

Kamil Monicz 86 Jan 02, 2023
a BTC mining program based on python3

BTC-Miner a BTC mining program based on python3 Our project refers to the nightminer project by ricmoo, which is written in Python2 (https://github.co

6 Jul 31, 2022
Signarly is a cryptocurrency trading bot.

Signarly is a cryptocurrency trading bot.

Zakaria EL Mesaoudi 5 Oct 06, 2022
Historical Crypto Price

Made with Coingecko API, this is a VERY simple python script that asks you the crypto, date and currency you want and then proceeds to give you the price and MarketCap at that precise moment

7 Oct 14, 2022