diff --git a/harvest/algo.py b/harvest/algo.py index f8a1609..689edbc 100644 --- a/harvest/algo.py +++ b/harvest/algo.py @@ -6,15 +6,13 @@ import pandas as pd from finta import TA -from harvest.definitions import Interval +from harvest.enum import Interval from harvest.plugin._base import Plugin -from harvest.util.date import datetime_utc_to_local +from harvest.util.date import convert_input_to_datetime, datetime_utc_to_local, pandas_timestamp_to_local from harvest.util.helper import ( - convert_input_to_datetime, debugger, interval_string_to_enum, mark_up, - pandas_timestamp_to_local, symbol_type, ) @@ -48,7 +46,7 @@ def config(self): - aggregations: A List of strings specifying the intervals to aggregate data. Choose from "1MIN", "5MIN", "15MIN", "30MIN", "1HR", "1DAY". - watchlist: A List of strings specifying the stock/crypto assets this algorithm tracks. Crypto assets must be prepended with a '@' symbol. - Any parameters set to None or an empty List will fall back to respective paramters set in the Trader class. + Any parameters set to None or an empty List will fall back to respective parameters set in the Trader class. Example ```python diff --git a/harvest/storage/csv_storage.py b/harvest/storage/csv_storage.py index 6dd28e4..065cd8a 100644 --- a/harvest/storage/csv_storage.py +++ b/harvest/storage/csv_storage.py @@ -4,7 +4,7 @@ import pandas as pd -from harvest.definitions import Interval +from harvest.enum import Interval from harvest.storage import BaseStorage from harvest.util.helper import debugger, interval_enum_to_string, interval_string_to_enum diff --git a/harvest/storage/pickle_storage.py b/harvest/storage/pickle_storage.py index e7bc88e..8ee18f5 100644 --- a/harvest/storage/pickle_storage.py +++ b/harvest/storage/pickle_storage.py @@ -3,7 +3,7 @@ import pandas as pd -from harvest.definitions import Interval +from harvest.enum import Interval from harvest.storage import BaseStorage from harvest.util.helper import interval_enum_to_string, interval_string_to_enum