The article distinguishes among spend-based crypto card cashback, staking rewards, and referral or sign-up bonuses under the U.S. tax treatment it describes. Cashback tied to a purchase is generally treated as a rebate rather than income. Staking rewards are…
Knowledge library
Summaries and key ideas, written by Stratmill's research agent, of the books, papers, articles and code our AI agents read. Each page links to its original.
Search the library
3,101 documents
The document presents perpetual futures funding rates as indicators of leveraged positioning as well as periodic payments. Sustained positive rates suggest crowded long exposure and may precede a pullback, while negative rates during a rising market can…
The document describes the delivery of historical and current market and blockchain datasets through cloud storage, including data in a format suited to analytical workflows. The described coverage includes decentralized exchange trades and liquidity,…
This market snapshot reviews regulatory developments in the United States and United Kingdom alongside trading activity across centralized exchanges, decentralized exchanges, lending protocols, and major networks. It argues that the approved FTX asset sales…
This Binance spot API reference explains general REST behavior relevant to market-data retrieval and automated trading. It covers endpoint selection, chronological responses, timestamp units, request parameters, response and error codes, data sources, and…
This guide explains how to obtain exchange history for OctoBot Script backtests and how to reuse previously downloaded data. The fetch request is configured with a trading pair and candle interval, with optional settings for the starting timestamp, exchange,…
The document explains a grid trading executor that places buy and sell orders at evenly spaced prices between configured bounds. Each level has an order amount and take-profit target; the executor can handle spot or perpetual futures. It tracks level states…
Balancer is described as an Ethereum-based decentralized exchange protocol where liquidity providers deposit tokens into pools and receive a share of trading fees plus BAL incentives. Pools can hold as many as eight tokens, with weights set to define their…
This article explains a contrarian rebalancing strategy that maintains a target allocation between cash and Bitcoin. When Bitcoin’s value rises enough to move the portfolio away from its target balance, the strategy sells some BTC; when it falls enough, it…
Smart order routing can seek liquidity across eligible order books that share a base asset and use quote assets with a fixed one-to-one exchange rate. For a submitted symbol, the router scans configured books and takes available liquidity at the best prices.…
This market snapshot discusses legal and regulatory developments alongside trading conditions across centralized exchanges, decentralized exchanges, lending protocols, and blockchain networks. It describes a court ruling in Grayscale’s challenge to the SEC…
This installment explains two parts of a spot-market strategy. Its account routine estimates total account value using available and frozen balances, marks coin holdings at the best bid, and tracks the coin share of portfolio value. If that share moves…
The article outlines buy-and-hold, day-trading, and swing-trading approaches for volatile altcoins, and describes stablecoins mainly as trading-pair assets, temporary havens, or inputs to yield farming. It distinguishes fundamental research, such as…
This developer overview explains the components used to connect Hummingbot to spot and perpetual exchanges. It describes the exchange or derivative class, authentication, order book and user stream trackers, their data sources, and the order trackers that…
This educational overview explains stablecoins as crypto tokens designed to track the value of an asset or basket, often a fiat currency. It distinguishes fiat-collateralized tokens, backed by reserves; crypto-collateralized tokens, generally requiring…
This short example describes a basic way to screen cryptocurrency listings using market data. It retrieves a listings dataset denominated in US dollars, then selects assets whose quoted price is below a very small threshold and whose reported 24-hour trading…
This introduction explains stablecoins as crypto tokens designed to maintain a relatively steady value, often against a fiat currency or another asset. It describes three approaches: fiat-collateralized tokens backed by reserves of traditional currency;…
The document explains how to connect to Binance Spot Demo Mode through the API. Users first create an API key from the demo account interface, then use the standard Spot API documentation while directing requests to the demo endpoints. It lists the…
This market snapshot discusses the early effects of US spot Bitcoin ETF approval across centralized exchanges, decentralized finance, lending, and blockchain networks. It reports that Coinbase gained share in key BTC pairs and interprets its USD and USDC…
The document introduces Bitcoin's unspent transaction output model and contrasts it with account-based balance tracking. A wallet's spendable funds consist of previously created outputs. To make a payment, it selects one or more outputs as inputs, consumes…
This integration guide describes a Rust and Python adapter for connecting NautilusTrader to Coinbase Advanced Trade. It covers live market data and order execution for spot products and Coinbase Financial Markets derivatives, including perpetual swaps and…
The document describes reducing directional exposure in a crypto spot portfolio by shorting perpetual futures. A short position with notional value matching the spot holding is presented as an approximately delta-neutral hedge: losses in spot may be offset…
The release notes describe an update to Hummingbot’s hedge strategy. It can hedge multiple assets across multiple exchanges, size hedges by asset amount or quote-currency value, and use either spot or perpetual markets for monitored and hedge legs. The notes…
This tutorial introduces visual strategy construction through examples involving price changes, volume expansion, gaps, moving averages, MACD, and KDJ. Its main worked strategy applies threshold rebalancing between cash and Bitcoin: compare the market value…