Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # [Issue 234](https://bitbucket.org/autonomy/knyc.acr.lab/issue/234 )
- #
- set -x
- echo "Started: " $(date)
- source /etc/portion.env
- source /etc/profile.d/runtime-context.sh
- echo $RUNTIME_CONTEXT
- echo $PYTHONPATH
- export PATH=$PATH:/opt/bbthyme/current/bin
- export TERM=xterm
- # Set up quotables;
- tx-ensure-index --name "ix.eccaua-14.index" --description "Ukraine Current Account YOY Change Forecast 20141231"
- tx-ensure-index --name "ix.eccaru-14.index" --description "Russia Current Account YOY Change Forecast 20141231"
- tx-ensure-index --name "ix.eccaar-14.index" --description "Argentina Current Account YOY Change Forecast 20141231"
- tx-ensure-index --name "ix.eccbua-14q4.index" --description "Ukraine Central Bank Rate Forecast 20141231"
- tx-ensure-index --name "ix.eccbru-14q4.index" --description "Russia Central Bank Rate Forecast 20141231"
- tx-ensure-deal --name "dl.badlarp.index" --description "Argentina Deposit Rates Badlar"
- tx-ensure-deal --name "dl.rp07.index" --description "China interbank repo 7d"
- # Back fill through T-2;
- bbg-backfill -b 19500101 -e 20140506 -q index -m "/ticker/eccaua 14 index"
- bbg-backfill -b 19500101 -e 20140506 -q index -m "/ticker/eccaru 14 index"
- bbg-backfill -b 19500101 -e 20140506 -q index -m "/ticker/eccaar 14 index"
- bbg-backfill -b 19500101 -e 20140506 -q index -m "/ticker/eccbua q414 index"
- bbg-backfill -b 19500101 -e 20140506 -q index -m "/ticker/eccbru q414 index"
- bbg-backfill -b 19500101 -e 20140506 -q deal -m "/ticker/badlarp index"
- bbg-backfill -b 19500101 -e 20140506 -q deal -m "/ticker/rp07 index"
- # Run Daily Update to get T-1;
- bbg-update -q deal -f lofi > /var/tmp/thyme-update.deal.lofi.log 2>&1
- bbg-update -q index -f lofi > /var/tmp/thyme-update.index.lofi.log 2>&1
- bbg-update -q deal -f raw > /var/tmp/thyme-update.deal.raw.log 2>&1
- bbg-update -q index -f raw > /var/tmp/thyme-update.index.raw.log 2>&1
- echo "Finished: " $(date)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement