@haybarn/ext-duckfn_quantstats-h1-5-6
v202610.2.31355
Published
Complete quantstats HTML tearsheets from SQL - one long table in, one full report per instrument out, benchmarks included
Maintainers
Readme
Haybarn extension: duckfn_quantstats
Complete quantstats HTML tearsheets from SQL - one long table in, one full report per instrument out, benchmarks included
Source: https://github.com/shijianjs/duckfn-quantstats
Catalog: Haybarn community extensions
Install
npm install @haybarn/ext-duckfn_quantstats-h1-5-6
# or use the exact version:
npm install @haybarn/[email protected]npm picks the matching platform binary from the leaves below via its os / cpu / libc fields. No postinstall scripts, no network calls after npm install.
Available platforms (this version)
Installed automatically by npm install @haybarn/ext-duckfn_quantstats-h1-5-6 (npm picks the one matching your os/cpu/libc):
@haybarn/ext-duckfn_quantstats-h1-5-6-darwin-x64@haybarn/ext-duckfn_quantstats-h1-5-6-linux-arm64@haybarn/ext-duckfn_quantstats-h1-5-6-linux-x64@haybarn/ext-duckfn_quantstats-h1-5-6-darwin-arm64@haybarn/ext-duckfn_quantstats-h1-5-6-win32-x64
WebAssembly (duckdb-wasm)
Also built for duckdb-wasm. These are not installed by the meta above (npm has no wasm os/cpu to match) — install the variant matching your duckdb-wasm bundle (mvp / eh / threads) and point duckdb-wasm at the bundled asset:
@haybarn/ext-duckfn_quantstats-h1-5-6-wasm-mvp@haybarn/ext-duckfn_quantstats-h1-5-6-wasm-threads@haybarn/ext-duckfn_quantstats-h1-5-6-wasm-eh
npm install @haybarn/ext-duckfn_quantstats-h1-5-6-wasm-mvpimport extUrl from '@haybarn/ext-duckfn_quantstats-h1-5-6-wasm-mvp/bin/duckfn_quantstats.duckdb_extension.wasm?url';
await conn.query(`INSTALL duckfn_quantstats FROM '${extUrl}'`);
await conn.query(`LOAD duckfn_quantstats`);Use it
Once installed, the .duckdb_extension binary lands in your project's node_modules/ tree under the matching leaf. The Haybarn engine auto-discovers it at startup; from a Haybarn SQL session:
LOAD duckfn_quantstats;License
The duckfn_quantstats extension is distributed under MIT. The Haybarn engine itself is MIT-licensed.
Trademark
Haybarn is an independent derived distribution of DuckDB published by Query Farm LLC. Not affiliated with or endorsed by the DuckDB Foundation. DuckDB is a trademark of the DuckDB Foundation.
