2024-02-02 18:43:37 +00:00
|
|
|
from backtesting import best_entry_times
|
2024-02-02 21:15:33 +00:00
|
|
|
from datetime import datetime
|
2024-02-02 18:43:37 +00:00
|
|
|
|
|
|
|
print(best_entry_times())
|
|
|
|
|
2024-02-02 21:15:33 +00:00
|
|
|
print(best_entry_times(datetime(2024, 1, 31)))
|
|
|
|
|
2024-02-02 21:07:15 +00:00
|
|
|
print(best_entry_times(days_to_look_back = 30)) # Days.
|