TradeAnalysisSheet¶
-
class
qf_lib.analysis.trade_analysis.trade_analysis_sheet.
TradeAnalysisSheet
(**kwargs)[source]¶ Bases:
qf_lib.analysis.common.abstract_document.AbstractDocument
Creates a PDF containing main statistics of the trades.
- Parameters
settings (Settings) – settings of the project
pdf_exporter (PDFExporter) – tool that creates the pdf with the result
nr_of_assets_traded (int) – number of assets traded
trades (Sequence[Trade]) – list of trades
start_date (datetime) –
end_date (datetime) –
title (str) – title of the document, will be a part of the filename. Do not use special characters