#!/usr/bin/env python # coding: utf-8 # In[41]: get_ipython().run_line_magic('run', '"Retropy_framework.ipynb"') # In[43]: SPY = get("SPY") BND = get("BND") HTUS = get("HTUS") VFITX = get("VFITX") AAPLQ = get("WIKI/AAPL", "Q") AAPL = get("AAPL") show(AAPL, AAPLQ, 2, datetime.datetime(2015, 8, 25)) show(SPY, ma(SPY, 200), ta=False) show(BND, SPY, VFITX) show(BND/SPY, HTUS/SPY, VFITX/SPY) # In[62]: #!/usr/bin/env python import subprocess # Call a bash script subprocess.call(['bash', './publish.sh']) # In[59]: get_ipython().system('bash ./publish.sh')