-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #77 from ivelin/fix/minor-fixes
fix: revert data upload to tgz. Hitting API limit with parquet files.
- Loading branch information
Showing
2 changed files
with
30 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,29 @@ | ||
#!/usr/bin/bash | ||
#args=("$@") | ||
|
||
# This script is intended to be executed by cron each weekend. | ||
# The goal is to pull latest market data for the week | ||
# and run forecast for the following week. | ||
|
||
# stop on first error | ||
set -e | ||
# print verbose messages | ||
set -ex | ||
|
||
echo "CANSWIM Weekend Forecast Routine: Starting..." | ||
|
||
conda activate canswim | ||
pip install -e ./ | ||
|
||
#python -m canswim "${args[@]}" | ||
|
||
python -m canswim | ||
|
||
# gather up to date market data | ||
./canswim gatherdata | ||
##./canswim.sh gatherdata | ||
|
||
# run forecast and upload to hf hub | ||
./canswim forecast | ||
##./canswim.sh forecast | ||
|
||
echo "CANSWIM Weekend Forecast Routine: Finished." | ||
|
||
|