diff --git a/slippage_analysis.py b/slippage_analysis.py index 2c8f1b9..9d3ae47 100644 --- a/slippage_analysis.py +++ b/slippage_analysis.py @@ -2,7 +2,7 @@ import datetime from database.trades import trades -def average_entry_slippage(date: datetime): +def average_slippage(date: datetime): trade_records = trades(date) slippages = [] @@ -20,7 +20,7 @@ def average_entry_slippage(date: datetime): if __name__ == "__main__": target_date = datetime.date(2024, 2, 23) - average_slippage = average_entry_slippage(target_date) + average_slippage = average_slippage(target_date) if average_slippage is not None: print(f"{target_date} Average Entry Slippage: {average_slippage}")