Compare commits

..

2 Commits

Author SHA1 Message Date
oleg 6a6046050c fix 2024-10-31 12:04:08 -04:00
oleg 0e23024aab using new(rust) alpaca market data structure for hbar 2024-10-31 11:51:42 -04:00
2 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -1 +1 @@
1.7.4.fx2,minor update for storage check
1.7.5.fx1,using new(rust) alpaca market data structure for hbar
+2 -5
View File
@@ -167,10 +167,10 @@ EOF
echo "Loading files"
for stock in "${Stocks[@]}"; do
StockLetter="${stock:0:1}"
SourceFile=$(${date} -d ${md_date} "+%Y%m%d.${stock}.1min.db")
SourceFile=$(${date} -d ${md_date} "+%Y%m%d.${stock}.alpaca_1m_bars.db")
SourceFileZip="${SourceFile}.gz"
SourceFilePath=$(${date} -d ${md_date} "+${SourceRootDir}/${StockLetter}/${stock}/%Y/${SourceFileZip}")
SourceFilePath=$(${date} -d ${md_date} "+${SourceRootDir}/%Y/${StockLetter}/${stock}/${SourceFileZip}")
echo ${SourceFilePath}
download_file ${SourceFilePath}
@@ -180,6 +180,3 @@ if [ -f ${TargetFilePath} ]; then
chmod 600
ls -lh ${TargetFilePath}
fi
# mkdir -p /tmp/aaa
# cp -r ${tmp_dir}/* /tmp/aaa/