aether_quant.samples¶
The sample market data that ships with the library (V6.6.5): the shipped book's 11 coins, daily open and close from Coinbase's public candles, 2021-06-01 to 2026-10-31. Offline, deterministic, and enough for aq hello and the notebooks.
The sample market data that ships with the library (V6.6.5): the shipped book's 11 coins, daily open and close from
Coinbase's public candles, 2021-06-01 to 2026-10-31. Offline, deterministic, and enough for aq hello and the notebooks.
from aether_quant import samples
closes = samples.load_sample_prices() # dates x tickers
opens = samples.load_sample_prices("open")
SAMPLE_PATH
module-attribute
¶
SAMPLE_PATH = Path(__file__).resolve().parent / '_sample' / 'coinbase_daily.csv.gz'
load_sample_bars ¶
load_sample_bars() -> pd.DataFrame
The sample in long format: columns date, ticker, open, close, sorted by date then ticker. A copy, safe to edit.
load_sample_prices ¶
load_sample_prices(field: Literal['open', 'close'] = 'close') -> pd.DataFrame
One field as a dates x tickers frame indexed by YYYY-MM-DD strings; NaN before a coin's first bar.
sample_info ¶
sample_info() -> dict[str, str]
Where the sample came from: path, window, coins, row count and sha256.