Skip to content

Commit

Permalink
Add fill report to Trader (#1301)
Browse files Browse the repository at this point in the history
  • Loading branch information
r3k4mn14r authored Oct 24, 2023
1 parent 28808db commit f3f03f6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions nautilus_trader/trading/trader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f3f03f6

Please sign in to comment.