using new(rust) alpaca market data structure for hbar
This commit is contained in:
parent
d32bf31f4a
commit
0e23024aab
@ -1 +1 @@
|
|||||||
1.7.4.fx2,minor update for storage check
|
1.7.5,using new(rust) alpaca market data structure for hbar
|
||||||
|
|||||||
@ -167,10 +167,10 @@ EOF
|
|||||||
echo "Loading files"
|
echo "Loading files"
|
||||||
for stock in "${Stocks[@]}"; do
|
for stock in "${Stocks[@]}"; do
|
||||||
StockLetter="${stock:0:1}"
|
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_1min_bars.db")
|
||||||
|
|
||||||
SourceFileZip="${SourceFile}.gz"
|
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}
|
echo ${SourceFilePath}
|
||||||
|
|
||||||
download_file ${SourceFilePath}
|
download_file ${SourceFilePath}
|
||||||
@ -180,6 +180,3 @@ if [ -f ${TargetFilePath} ]; then
|
|||||||
chmod 600
|
chmod 600
|
||||||
ls -lh ${TargetFilePath}
|
ls -lh ${TargetFilePath}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# mkdir -p /tmp/aaa
|
|
||||||
# cp -r ${tmp_dir}/* /tmp/aaa/
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user