From f3f03f6eb94b2d87c522b95560ffd3eff64046ac Mon Sep 17 00:00:00 2001 From: r3k4mn14r <8102483+r3k4mn14r@users.noreply.github.com> Date: Tue, 24 Oct 2023 03:00:50 -0500 Subject: [PATCH] Add fill report to Trader (#1301) --- nautilus_trader/trading/trader.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/nautilus_trader/trading/trader.py b/nautilus_trader/trading/trader.py index 19d536de9f1e..389ad558adb4 100644 --- a/nautilus_trader/trading/trader.py +++ b/nautilus_trader/trading/trader.py @@ -807,6 +807,17 @@ def generate_order_fills_report(self) -> pd.DataFrame: """ return ReportProvider.generate_order_fills_report(self._cache.orders()) + def generate_fills_report(self) -> pd.DataFrame: + """ + Generate a fills report. + + Returns + ------- + pd.DataFrame + + """ + return ReportProvider.generate_fills_report(self._cache.orders()) + def generate_positions_report(self) -> pd.DataFrame: """ Generate a positions report.