Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Showing more than 2 decimals in Record for the custom data

Hello

Taking the sample from here:
https://www.quantopian.com/posts/new-feature-record-and-plot-variables

How can we show say 4 decimals instead of 2 in the custom data box for a simple ratio (AAPL/SPY or else)?

3 responses

I just multiply by 100 or 1000.

Note also that the recorded variables from a backtest are available in the Q research environment/platform (I suspect without rounding, but you'd need to check).

Thank you very much