Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tfukaza committed May 22, 2024
1 parent fe91001 commit 71fee41
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
8 changes: 3 additions & 5 deletions harvest/algo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion harvest/storage/csv_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion harvest/storage/pickle_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 71fee41

Please sign in to comment.