%run "Retropy_framework.ipynb"
show(SPY)
--------------------------------------------------------------------------- NameError Traceback (most recent call last) <ipython-input-2-548038911ed4> in <module>() ----> 1 show(SPY) NameError: name 'show' is not defined
show(FDN, AMZN, FB, GOOG, MSFT, SPY)
Fetching FDN from Y .. DONE Fetching AMZN from Y .. DONE Fetching FB from Y .. DONE Fetching GOOG from Y .. DONE Fetching MSFT from Y .. DONE
AAPLQ = get("WIKI/AAPL@Q")
# horizontal and verical marker lines
show(AAPL, AAPLQ, 2, datetime.datetime(2015, 8, 25))
# moving average, disable trim-align feature
show(SPY, ma(SPY, 200), ta=False)
# compare asset in absolute and relative terms
show(BND, SPY, VFITX)
show(BND/SPY, VFITX/SPY)
show("EUR/USD@IC", "EURUSD@CUR")
show("IWDA@IC", get("IWDA.AS!EUR") * get("EURUSD@CUR"))
Fetching EURUSD@CUR from CUR .. DONE
show("MIWO00000NUS@IC", "IWDA@IC")
Fetching MIWO00000NUS@IC from IC .. DONE
# be sure to save before you publish
publish()