%run "Retropy_framework.ipynb"
Installing requirements .. Done
show(SPY)
Fetching SPY from Y .. DONE
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)
Fetching AAPL from Y .. DONE Fetching BND from Y .. DONE Fetching VFITX from Y .. DONE Fetching WIKI/AAPL@Q from Q ..
show("EUR/USD@IC", "EURUSD@CUR")
show("IWDA@IC", get("IWDA.AS!EUR") * get("EURUSD@CUR"))
show("MIWO00000NUS@IC", "IWDA@IC")
# be sure to save before you publish
# when done, you will get a public link to an HTML file with the results
publish()