Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Quandl Vix Via Pipeline

Hi, Can anyone please provide the most bare-bones basic example of how to get quandl vix data into an algo
Heres what i have atm but cant get it to work - Thanks for your time

from quantopian.pipeline import Pipeline  
from quantopian.pipeline.data.quandl import yahoo_index_vix  
from quantopian.algorithm import attach_pipeline, pipeline_output  
def initialize(context):  
    pipe = Pipeline()  
    pipe = attach_pipeline(pipe, "vixpipe")  
    vix_close = yahoo_index_vix.close  
    pipe.add(vix_close, "vix")

def before_trading_start(context, data):  
    vixres = pipeline_output("vix")


def handle_data(context,data):  
    record(vix = vixres)  
1 response

Bumping this back up - thanks to anyone who can help