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

New FilterCondition ODDS_PERCENTAGE_DIFFERENCE #505

Open
ProjectBots opened this issue Apr 22, 2024 · 0 comments
Open

New FilterCondition ODDS_PERCENTAGE_DIFFERENCE #505

ProjectBots opened this issue Apr 22, 2024 · 0 comments

Comments

@ProjectBots
Copy link

Is your feature request related to a problem?

As of now, i have to either allow the miner place bets on 50/50 or disallow it from placing bets on 25/25/50 (strategy=Strategy.PERCENTAGE).

Proposed solution

Add a new FilterCondition (ODDS_PERCENTAGE_DIFFERENCE) which checks for the percentage gap of the choosen option and the closest option to it.

ex: FilterCondition(by=OutcomeKeys.ODDS_PERCENTAGE_DIFFERENCE, where=Condition.GTE, value=15)
allow to place on 50 in a 25/25/50 bet, but disallow 50/50.

Alternatives you've considered

No response

Additional context

No response

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