The dataset is currently empty. Upload or create new data files. Then, you will be able to explore them in the Dataset Viewer.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

muse-trade-snapshots

Encrypted parquet snapshots for MuseTrade dev environment seeding.

What this repo contains

Fernet-encrypted parquet files containing curated subsets of prod Iceberg data. A plaintext snapshot_manifest.json tracks metadata, checksums, and key_id. No secrets are stored in this repo — decryption requires the correct HF_ENCRYPT_KEY.

Variants

Variant Tickers Days Description
minimal Portfolio (~25) 260 Quick dev seed
standard Portfolio + universe 365 Integration testing
full All 1825 Full DR / analysis

Usage (dev machine)

# Set HF_ENCRYPT_KEY in your .env.dev
python scripts/seed_dev.py --variant minimal

# Offline mode (use cached snapshot)
python scripts/seed_dev.py --variant minimal --offline

# Key rotation (add old key)
python scripts/seed_dev.py --add-key key-2026q2 OLD_FERNET_KEY

Creating snapshots (prod only)

# Initialize key chain
python scripts/snapshot_to_hf.py --init-key

# Export and upload minimal variant
python scripts/snapshot_to_hf.py --variant minimal

# Dry run (export only, no upload)
python scripts/snapshot_to_hf.py --variant minimal --dry-run

# Prune old snapshots (keep last 4)
python scripts/snapshot_to_hf.py --prune 4

Key rotation

The manifest stores key_id identifying which key was used for encryption. When keys rotate:

  1. Generate new key: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
  2. Add old key to chain: python scripts/seed_dev.py --add-key key-2026q2 OLD_FERNET_KEY
  3. Set HF_ENCRYPT_KEY=new_key and SNAPSHOT_KEY_ID=key-2026q3
  4. Re-export snapshots — new manifest will reference key-2026q3

Directory structure

minimal/
  2026-06-16/
    ohlcv.parquet.enc
    signals.parquet.enc
    ...
    snapshot_manifest.json
  README.md

See docs/GUIDE.md in the muse-trade repo for full documentation.

Downloads last month
13