This commit is contained in:
Oleg Sheynin 2025-06-25 21:40:49 +00:00
parent 50435f8b3b
commit fc24017638
2 changed files with 8 additions and 2 deletions

View File

@ -12,7 +12,10 @@
# ------------------------------------- # -------------------------------------
# --- Current month - all files # --- Current month - all files
# ------------------------------------- # -------------------------------------
cd $(realpath $(dirname $0))
mkdir -p ./data/crypto
pushd ./data/crypto pushd ./data/crypto
rsync -ahvv cvtt@hs01.cvtt.vpn:/works/cvtt/md_archive/crypto/sim/*.gz ./ rsync -ahvv cvtt@hs01.cvtt.vpn:/works/cvtt/md_archive/crypto/sim/*.gz ./
# ------------------------------------- # -------------------------------------

View File

@ -12,7 +12,10 @@ if [ -z "${DatePattern}" ]; then
fi fi
FilePattern="${DatePattern}*.alpaca_sim_md.db.gz" FilePattern="${DatePattern}*.alpaca_sim_md.db.gz"
cd $(realpath $(dirname $0))/..
mkdir -p ./data/equity
pushd ./data/equity pushd ./data/equity
Cmd="rsync -ahvv cvtt@hs01.cvtt.vpn:/works/cvtt/md_archive/equity/alpaca_md/sim/${FilePattern} ./" Cmd="rsync -ahvv cvtt@hs01.cvtt.vpn:/works/cvtt/md_archive/equity/alpaca_md/sim/${FilePattern} ./"
echo ${Cmd} echo ${Cmd}
eval ${Cmd} eval ${Cmd}