-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
#! /usr/bin/env bash | ||
# | ||
# run this from root of repo, at ~9.50am New York Time | ||
# run this from root of repo, at ~9.35am New York Time | ||
# | ||
# note that the open prices provided by the data provider are not finalized, | ||
# they may change on the next day. we handle this case by re-calculating the | ||
# holdings of yesterday as well, and committing the change to git too; | ||
# **we do not change** the weights that we calculated yesterday, so there | ||
# is still no look-ahead | ||
|
||
env/bin/python -m examples.strategies.dow30_daily strategy &>> examples/strategies/dow30_daily.log | ||
git add examples/strategies/dow30_daily*.json | ||
git commit -m '[auto commit]: dow30_daily daily run' | ||
git commit -m '[auto commit] ${date +%Y-%m-%d} dow30_daily reconciliation & execution' | ||
|
||
env/bin/python -m examples.strategies.ndx100_daily strategy &>> examples/strategies/ndx100_daily.log | ||
git add examples/strategies/ndx100_daily*.json | ||
git commit -m '[auto commit]: ndx100_daily daily run' | ||
git commit -m '[auto commit] ${date +%Y-%m-%d} ndx100_daily reconciliation & execution' | ||
|
||
git push | ||
git push |