## Bollinger Bands Algorithm β Python Binance API for Crypto Trading

A Bollinger Band consists of three lines: a simple moving average, an upper band, and a lower band. The assumption is that if the real price crosses over one of the bands, this can be seen as a signal to trade in or our of a given asset. For cryptocurrencies, breakout trades are more frequently … Read more

## Moving Average Convergence Divergence (MACD) β Python Binance API for Crypto Trading

MACD is a trend-following momentum indicator used for trading. It consists of two lines: This article is based on the full trading tutorial on the Not-Satoshi blog. Introduction Before we begin, I would like to make a small request ##################### Disclaimer!! ################################### # The bots built here with python should be used only as a … Read more

## Simple Moving Average (SMA) – Python Binance API for Crypto Trading

A simple moving average (SMA) is calculated by summing over a fixed number of last prices, say k, and dividing this by the number of prices k. Depending on the selection k, you can obtain short-term or long-term SMAs. Short-term SMAs respond quickly whereas long-term SMAs respond slowly to changes in the prices. You can … Read more

Disclaimer: The bot built here should be used only as a learning tool. If you choose to do real trading on Binance, then you have to build your own criteria and logic for trading. The author is not responsible for any losses incurred if you choose to use the code developed here on Binance. Note: … Read more

## A RegEx to Match Bitcoin Addresses

What regular expressions can be used to match Bitcoin addresses? A regular expression for validating Bitcoin addresses must check that the string is 26-35 characters long, start with “1” or “3” or “bc1” consists of uppercase or lowercase alphabetic and numeric characters, and ensure it doesn’t contain ambiguous characters. Not allowed are the uppercase letter … Read more

## The \$31,000,000 Bitcoin Valuation Thesis

In this article, I’ll develop a simple model of how to value Bitcoin. Valuation Thesis Bitcoin will replace the SWIFT bank-to-bank settlement protocol. Valuation Methodology Bitcoin is now the largest, most decentralized, and most secure international monetary network in the world. This makes it a perfect candidate for bank-to-bank settlements of high-value transactions (whitepaper). Currently, … Read more

## Bitcoin – Where Are the Women?

A recent Binance Research study shows that approximately 95% of all Bitcoin holders are men. Redistribution of Wealth to Men When reading the Bitcoin whitepaper and the transformation towards a new decentralized, digital monetary system, I realized that we’re in the middle of one of the greatest redistributions of wealth and power in the last … Read more

## 3 Steps to Adopt Bitcoin as a Treasury Reserve Asset

This article is not investment advice but the personal opinion of the author. The capital value of any discussed investment can fluctuate, and the price can go down as well as up and is not guaranteed. Step 1: Use Bitcoin as Your Personal Treasury Reserve Asset? As a response to the stock market crisis 2008 … Read more

Do you want to analyze and plot the data of Bitcoin (BTC), Ethereum (ETH), Cardano (ADA) and other cryptocurrencies but you don’t know where to find a reliable data source? I had the same problem a couple of hours ago when writing a Python script to plot the relative price of altcoins versus BTC. This … Read more

## The Bullish Case on Blockchains

The last 100 years have been economically dominated by corporations. Corporations have brought us health, wealth, and wisdom. Corporations organized the invention and distribution of drugs that saved billions of lives. Corporations took care of automation and efficiency gains and subsequently made billions of people live lives in prosperity and wealth — an average worker … Read more

## Are Energy Costs and CapEx Invested in Bitcoin Worth It?

Bitcoin capital expenditure and energy overhead are often criticized to be unsustainably high. But are they worth it in relation to the value provided by the Bitcoin network? TLDR; Capex and energy costs are estimated using the USD value of the transaction fees paid by the Bitcoin traders. The value of the Bitcoin monetary system … Read more

## How to Get All Transactions for a BTC Address in Python?

Problem Formulation Given a single Bitcoin address in the form of a stream of characters such as the address of the first “Genesis” block ever created on the Bitcoin blockchain: 12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX How to get all transactions for this BTC address in a Python script? Solution To get all transactions of a given Bitcoin address, import … Read more