diff --git a/release_version.txt b/release_version.txt index e3e1807..7e310ba 100644 --- a/release_version.txt +++ b/release_version.txt @@ -1 +1 @@ -0.9.8 +0.9.9 diff --git a/scripts/crypto_hist_md/crypto_md_day.sh b/scripts/crypto_hist_md/crypto_md_day.sh new file mode 100644 index 0000000..00b1403 --- /dev/null +++ b/scripts/crypto_hist_md/crypto_md_day.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +host=${1} +date=${2} + +DockerRegistry=cloud21.cvtt.vpn:5500 +DockerImage=${DockerRegistry}/crypto_md_day + +if [ -z ${date} ] ; then + date=$(date -d "yesterday" +%Y%m%d) +fi + +Cmd="docker run" +Cmd="${Cmd} --network=host" +Cmd="${Cmd} --name=crypto_md_day.${host}.${date}" +Cmd="${Cmd} --rm" +Cmd="${Cmd} ${DockerImage}" +Cmd="${Cmd} -h ${host}" +Cmd="${Cmd} -d ${date}" +Cmd="${Cmd} -s coinbase,bnbspot,bnbfut" + +echo $Cmd +eval $Cmd