Trivial formatting changes
This commit is contained in:
parent
03ef60b303
commit
013b6c6e8a
@ -17,12 +17,12 @@ def average_slippage(date: datetime):
|
|||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == '__main__':
|
||||||
target_date = datetime.date(2024, 2, 23)
|
target_date = datetime.date(2024, 2, 23)
|
||||||
|
|
||||||
average_slippage = average_slippage(target_date)
|
average_slippage = average_slippage(target_date)
|
||||||
|
|
||||||
if average_slippage is not None:
|
if average_slippage is not None:
|
||||||
print(f"{target_date} Average Entry Slippage: {average_slippage}")
|
print(f'{target_date} Average Entry Slippage: {average_slippage}')
|
||||||
else:
|
else:
|
||||||
print(f"No trades found for {target_date}.")
|
print(f'No trades found for {target_date}.')
|
Loading…
Reference in New Issue
Block a user