I am not trying to plot text label in chart, actually I want to add an additional column to the csv file produced by adding cerebro.addwriter(bt.WriterFile, csv=True) to my strategy.

I noticed all the pricing data / observers / indicators are included in the csv file automatically, which is quite helpful to understand what's going on behind the hood and is useful to verify the backtesting results.

But I find it a difficult to output orders/trade details. I understand i can write out orders/traders using notify_order and notify_trade functions, however the output text from these function are not aligned with other columns.

To give an example, Below is the output(partial results) from the writer, from line 130 to line 131 are the text I'd like to add to a new column so that they don't take a new line.

For example, instead of settingself.lines.created[0] to order.created.price, is it possible to set self.lines.created[0] with some text? Reason being I want to create some descriptions in the output, i.e Bought xx stock at xx price for xx amount and output this in the writer alone with other information.