Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6a6046050c | |||
| 0e23024aab | |||
| d32bf31f4a | |||
| 65c87f97e6 | |||
| ae79f940fb |
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
1.7.3.fx1,alpaca md HBAR
|
||||
1.7.5.fx1,using new(rust) alpaca market data structure for hbar
|
||||
|
||||
@@ -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/
|
||||
|
||||
@@ -69,7 +69,9 @@ function storage_check() {
|
||||
Cmd="ssh -p ${port} $host"
|
||||
Cmd="${Cmd} eval \"df -hTl"
|
||||
Cmd="${Cmd} -x squashfs"
|
||||
Cmd="${Cmd} | grep -v tmpfs"
|
||||
Cmd="${Cmd} -x tmpfs"
|
||||
Cmd="${Cmd} -x vfat"
|
||||
Cmd="${Cmd} -x devtmpfs"
|
||||
Cmd="${Cmd} | grep -v Filesystem\""
|
||||
|
||||
IFS=$'\n' ; lines=$(eval ${Cmd})
|
||||
|
||||
Reference in New Issue
Block a user