By default visualisations are disabled in the optimiser, as they slow down the optimisation process
Add visualise_single_position() to diagnose lost trades
Optimise export_plot_as_dataframe
Use optimised path for pd.to_datetime
Force UTC timezone during the conversation as it gives better performance: might cause timezone breakage and out of sync issues if some other charting functions did not force UTC before
Much further speedups possible by passing UNIX timestamp in raw to Plotly instead of converting it forth and back to pd.DateTime
perform_optimisation(draw_visualisation=False)
visualise_single_position()
to diagnose lost tradesexport_plot_as_dataframe
pd.to_datetime