#!/usr/bin/env bash

# Usage: create_params_tree.sh <PAIR1> [PAIR2] ...

if [ $# -lt 1 ]; then
    echo "Usage: $0 <PAIR1> [PAIR2] ..." >&2
    exit 1
fi

for PAIR in "$@"; do
    DIR="params/$PAIR"
    mkdir -p "$DIR"
    echo "Created: $DIR"
    for REGIME in bull bear range; do
        mkdir -p "$DIR/$REGIME"
        echo "  -> $DIR/$REGIME"
    done
done
