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

Hold to buy #1

Open
Anosen opened this issue Apr 29, 2024 · 0 comments
Open

Hold to buy #1

Anosen opened this issue Apr 29, 2024 · 0 comments
Assignees

Comments

@Anosen
Copy link
Owner

Anosen commented Apr 29, 2024

Currently, the algo buys if any return will be positive in the future.

Implement checking now is the best time to buy:
i.e., no future time is more profitable to buy given the current prediction

Pseudocode:
Iterate over the predictions
Apply should_buy at each step
Compare the max_returns
Choose the highest
Output the best predicted time of buy

@Anosen Anosen self-assigned this Apr 29, 2024
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

No branches or pull requests

1 participant