8 lines
202 B
Python
8 lines
202 B
Python
from backtesting import best_entry_times
|
|
from datetime import datetime
|
|
|
|
print(best_entry_times())
|
|
|
|
print(best_entry_times(datetime(2024, 1, 31)))
|
|
|
|
print(best_entry_times(days_to_look_back = 30)) # Days. |