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

Update Bandtastic.py #309

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

contributorINF113
Copy link

@contributorINF113 contributorINF113 commented Apr 21, 2024

Updated populate_entry_trend and populate_exit_trend to follow new practices

Updated populate_entry_trend and populate_exit_trend to follow new practices
@@ -129,7 +129,7 @@ def populate_buy_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame:

return dataframe

def populate_sell_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
def populate_exit_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
Copy link
Member

@xmatthias xmatthias Apr 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well if we do update this part - then we should follow through with all of the strategy migration guide - which doesn't just include this change - but also others (for example updating the dataframe columns to enter_long instead of buy - just to name one without checking for other points).

Otherwise, it'll become some odd middle-state - which is not guaranteed to work in all instances

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants