Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introducing parallel variant of add_all_ta_features. #310

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ df = pd.read_csv('ta/tests/data/datas.csv', sep=',')
df = dropna(df)

# Add all ta features
df = add_all_ta_features(
df, open="Open", high="High", low="Low", close="Close", volume="Volume_BTC")
df = add_all_ta_features_parallel(
df, open="Open", high="High", low="Low", close="Close", volume="Volume_BTC", n_jobs=-1)
```


Expand Down
2 changes: 2 additions & 0 deletions ta/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

"""
from ta.wrapper import (
add_all_ta_features_parallel,
add_all_ta_features,
add_momentum_ta,
add_others_ta,
Expand All @@ -15,6 +16,7 @@
)

__all__ = [
"add_all_ta_features_parallel",
"add_all_ta_features",
"add_momentum_ta",
"add_others_ta",
Expand Down
Loading