Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Don't know how to "record" data frame

I've created my own MACD (without using ta-lib).

I'm very confused how to get the algo to record the results to graphically display my MACD along my backtest.
I believe it's a data frame, but don't know how to take this any further.

Could anyone assist me?
(to see my algo, you will have to click clone, since there is an error)

Thanks,
Mike

1 response

If df is a DataFrame with 1 row and 1 column, try recording float(df).