Blockchain

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 …

Bollinger Bands Algorithm โ€“ Python Binance API for Crypto Trading 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: The MACD line is calculated by taking the difference between short-term EMA and long-term EMA. Exponential Moving Average (EMA) assigns weights to all the values due to a given factor whereas the latest data point gets the maximum weight, and the …

Moving Average Convergence Divergence (MACD) โ€“ Python Binance API for Crypto Trading 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 …

Simple Moving Average (SMA) – Python Binance API for Crypto Trading Read More »

Binance Trading API – Creating Your First Simple Crypto-Trading Bot

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: …

Binance Trading API – Creating Your First Simple Crypto-Trading Bot 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 …

A RegEx to Match Bitcoin Addresses Read More »

The $31,000,000 Bitcoin Valuation Thesis

In this article, I’ll develop a simple model on 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. Currently, these …

The $31,000,000 Bitcoin Valuation Thesis Read More »

Arbitrage Opportunity? Staking ETH 2.0 vs Buying BETH on Binance

What is Staking with ETH 2.0? Ethereum moves from a proof-of-work to a proof-of-stake Blockchain technology with its upcoming launch of ETH 2.0. This means that the network is secured by ETH “stakers” rather than ETH miners or validators. Staking will be the ETH 2.0 equivalent of mining. As a reward for securing the network, …

Arbitrage Opportunity? Staking ETH 2.0 vs Buying BETH on Binance 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 …

Are Energy Costs and CapEx Invested in Bitcoin Worth It? Read More »