The code that produces every figure and every number in the book
The engine, the frozen data and the checksums that redo the book’s numbers: the preview notebooks live in the notebooks repository, all the others in the volume package.
The computation engine
Every lab imports the same library: it prepares the frozen data, checks their checksums before opening them, and draws the figures with the style they are printed with in the book. It is why a notebook opened in the browser and the same notebook run on your own machine give the same number.
How to clone and re-run
You need Python 3.12 or later. The notebooks repository holds, in the folder of each work, the preview notebooks with the engine and only the series they use: once cloned, the notebooks recognise they are at home and use the local files instead of downloading them. The volume package holds every notebook, with the instructions for your computer in its LEGGIMI file.
git clone https://github.com/cryptoverso-lab/quaderni.git
cd quaderni/matematica
pip install polars numpy matplotlib scipy pillow jupyterlab
jupyter labThe data snapshots
These are the 10 series the labs load, each frozen at a date and verified by checksum: if a data file had been modified, the code would refuse to run. The ones the preview notebooks use download from here; the others are in the volume package, with the same checksum.
The checksums below are copied from the repository register, never recomputed: they are the number you compare the file you download against.
btcusdt.parquet93.2 KB
Data licence: CC BY-NC-SA 4.0Binance Data Vision terms of use
sha256
sha256 ea75ad84e6e981507054df5c622c6b0ec3c8849c1f4dd007721878d4e4c8a329
Source: Binance Data Vision · Origin: https://data.binance.vision/data/spot/monthly/klines/BTCUSDT/1d/ (dump mensili) · Period: 2017-08-17 → 2026-06-30 · 3,240 rows · retrieved 2026-08-16 · used by 26 labs
ethusdt.parquet87.0 KB
Data licence: CC BY-NC-SA 4.0Binance Data Vision terms of use
sha256
sha256 c2bd0259da905e0fec87235d7a62295532433fb89657726dd2d19558db7c072a
Source: Binance Data Vision · Origin: https://data.binance.vision/data/spot/monthly/klines/ETHUSDT/1d/ (dump mensili) · Period: 2017-08-17 → 2026-06-30 · 3,240 rows · retrieved 2026-08-16 · used by 16 labs
solusdt.parquet57.5 KB
Data licence: CC BY-NC-SA 4.0Binance Data Vision terms of use
sha256
sha256 c7ba2368a3e419b898fb31ec6d5345b7212b74784b69079d3d43571c2ac63657
Source: Binance Data Vision · Origin: https://data.binance.vision/data/spot/monthly/klines/SOLUSDT/1d/ (dump mensili) · Period: 2020-08-11 → 2026-06-30 · 2,150 rows · retrieved 2026-08-16 · used by 16 labs
lunausdt.parquet27.6 KB
Data licence: CC BY-NC-SA 4.0Binance Data Vision terms of use
sha256
sha256 10fe10357f76eb408550f4809ce2a87cb1129164f6f6d074ae7eac730ccb7f15
Source: Binance Data Vision · Origin: https://data.binance.vision/data/spot/monthly/klines/LUNAUSDT/1d/ (dump mensili) · Period: 2020-08-21 → 2022-12-31 · 846 rows · retrieved 2026-08-16 · used by 3 labs
fttusdt.parquet27.5 KB
Data licence: CC BY-NC-SA 4.0Binance Data Vision terms of use
sha256
sha256 7b235709ebb5ae31df0a9c315bd134b95e5249196a6c84b54763d9e63795fc06
Source: Binance Data Vision · Origin: https://data.binance.vision/data/spot/monthly/klines/FTTUSDT/1d/ (dump mensili) · Period: 2019-12-20 → 2022-11-15 · 1,062 rows · retrieved 2026-08-16 · used by 2 labs
enel.parquet211.8 KB
Yahoo Finance — data subject to the provider’s terms of use
sha256
sha256 f96245c6b593edccaf8c26dfa325ca45efebe9e5b9a69c6cd691a936f01fde93
Source: Yahoo Finance · Origin: Yahoo Finance, ticker ENEL.MI, azione Enel, chiusure giornaliere aggiustate · Period: 2000-01-03 → 2026-06-30 · 6,767 rows · retrieved 2026-08-17 · used by one lab
eni.parquet212.1 KB
Yahoo Finance — data subject to the provider’s terms of use
sha256
sha256 6db634e458915b7007412eb67ca098218fab6d7214b9f07b4ee4a6f46f060fca
Source: Yahoo Finance · Origin: Yahoo Finance, ticker ENI.MI, azione ENI, chiusure giornaliere aggiustate · Period: 2000-01-03 → 2026-06-30 · 6,767 rows · retrieved 2026-08-17 · used by one lab
ftsemib.parquet107.0 KB
Yahoo Finance — data subject to the provider’s terms of use
sha256
sha256 ad37e8ac1ea979dc9ecf9f2dff58151166559945549ddb3f692066b1e3b85a78
Source: Yahoo Finance · Origin: Yahoo Finance, ticker FTSEMIB.MI, indice FTSE MIB, chiusure giornaliere · Period: 2000-01-03 → 2026-06-30 · 6,757 rows · retrieved 2026-08-17 · used by one lab
generali.parquet210.7 KB
Yahoo Finance — data subject to the provider’s terms of use
sha256
sha256 7e14bf4937ce324e370ac9d216bfacb30604d4e0e87f79c4978ec7376daeea6a
Source: Yahoo Finance · Origin: Yahoo Finance, ticker G.MI, azione Assicurazioni Generali, chiusure giornaliere aggiustate · Period: 2000-01-03 → 2026-06-30 · 6,767 rows · retrieved 2026-08-17 · used by one lab
intesa.parquet213.8 KB
Yahoo Finance — data subject to the provider’s terms of use
sha256
sha256 25b40b095ee7f72878b7fab98a709d6c1aca178b5b7351e8ac87292fb8da76f0
Source: Yahoo Finance · Origin: Yahoo Finance, ticker ISP.MI, azione Intesa Sanpaolo, chiusure giornaliere aggiustate · Period: 2000-01-03 → 2026-06-30 · 6,767 rows · retrieved 2026-08-17 · used by one lab
Licence
The code in the notebooks repository — engine, preview notebooks and the series they use — is released under the MIT licence: you may use, modify and redistribute it keeping the copyright notice. The volume package has a personal-use licence: you may read, run and modify it, but not redistribute it. The text of the book, the figures prepared for print and the cover remain protected work, all rights reserved.