Scripts calcul hyperopt multiple
This commit is contained in:
18
tools/create_params_tree.sh
Executable file
18
tools/create_params_tree.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user