Does anyone know what is required to use a custom field in batch_transform function? Judging by documentation all one needs to do is add a field into the data[] structure and it would automatically be added to datapanel. Yet, if I un-comment the new_custom_field in the code example attached, the backtest crashes with run time error.