i saw logs that miner put bet on win with 88.5% when it should have put bet to lose because of smart strategy.
INFO - TwitchChannelPointsMiner.classes.Twitch - [make_predictions]: Place 10k channel points on: Win (BLUE), Points: 47k, Users: 6 (85.71%), Odds: 1.13 (88.5%)
bet=BetSettings(
strategy=Strategy.SMART, # Choose you strategy!
percentage=25, # Place the x% of your channel points
percentage_gap=35, # Gap difference between outcomesA and outcomesB (for SMART strategy)
max_points=10000, # If the x percentage of your channel points is gt bet_max_points set this value
stealth_mode=True, # If the calculated amount of channel points is GT the highest bet, place the highest value minus 1-2 points Issue #33
delay_mode=DelayMode.FROM_END, # When placing a bet, we will wait until delay seconds before the end of the timer
delay=10,
minimum_points=10000, # Place the bet only if we have at least 20k points. Issue #113
filter_condition=FilterCondition(
by=OutcomeKeys.TOTAL_USERS, # Where apply the filter. Allowed [PERCENTAGE_USERS, ODDS_PERCENTAGE, ODDS, TOP_POINTS, TOTAL_USERS, TOTAL_POINTS]
where=Condition.GTE, # 'by' must be [GT, LT, GTE, LTE] than value
value=10
)
)
88.5 - 11.5 = 77 < 35 percentage gap so it should bet on the 11.5% lose but it didnt . is this because TOTAL_USERS was < 10 FOR THE 11.5% LOSE OPTION ?? but isnt total users total users making ANY bet? what went wrong here?
Steps to reproduce
bet=BetSettings(
strategy=Strategy.SMART, # Choose you strategy!
percentage=25, # Place the x% of your channel points
percentage_gap=35, # Gap difference between outcomesA and outcomesB (for SMART strategy)
max_points=10000, # If the x percentage of your channel points is gt bet_max_points set this value
stealth_mode=True, # If the calculated amount of channel points is GT the highest bet, place the highest value minus 1-2 points Issue #33
delay_mode=DelayMode.FROM_END, # When placing a bet, we will wait until delay seconds before the end of the timer
delay=10,
minimum_points=10000, # Place the bet only if we have at least 20k points. Issue #113
filter_condition=FilterCondition(
by=OutcomeKeys.TOTAL_USERS, # Where apply the filter. Allowed [PERCENTAGE_USERS, ODDS_PERCENTAGE, ODDS, TOP_POINTS, TOTAL_USERS, TOTAL_POINTS]
where=Condition.GTE, # 'by' must be [GT, LT, GTE, LTE] than value
value=10
)
)
and make channel prediction 88.5 win with some users and 11.5 lose with only 2 users
Expected behavior
88.5 - 11.5 = 77 < 35 percentage gap so it should bet on the 11.5% lose but it didnt
Operating system
Windows 11
Python version
3.12
Miner version
1.9.5
Other relevant software versions
No response
Logs
INFO - TwitchChannelPointsMiner.classes.Twitch - [make_predictions]: Going to complete bet for EventPrediction(event_id=, streamer=Streamer(username=streamer, channel_id=id, channel_points=points), title=WIN MATCH?)
INFO - TwitchChannelPointsMiner.classes.Twitch - [make_predictions]: Place 10k channel points on: Win (BLUE), Points: 47k, Users: 6 (85.71%), Odds: 1.13 (88.5%)
Describe the bug
i saw logs that miner put bet on win with 88.5% when it should have put bet to lose because of smart strategy. INFO - TwitchChannelPointsMiner.classes.Twitch - [make_predictions]: Place 10k channel points on: Win (BLUE), Points: 47k, Users: 6 (85.71%), Odds: 1.13 (88.5%)
bet=BetSettings( strategy=Strategy.SMART, # Choose you strategy! percentage=25, # Place the x% of your channel points percentage_gap=35, # Gap difference between outcomesA and outcomesB (for SMART strategy) max_points=10000, # If the x percentage of your channel points is gt bet_max_points set this value stealth_mode=True, # If the calculated amount of channel points is GT the highest bet, place the highest value minus 1-2 points Issue #33 delay_mode=DelayMode.FROM_END, # When placing a bet, we will wait until
delay
seconds before the end of the timer delay=10, minimum_points=10000, # Place the bet only if we have at least 20k points. Issue #113 filter_condition=FilterCondition( by=OutcomeKeys.TOTAL_USERS, # Where apply the filter. Allowed [PERCENTAGE_USERS, ODDS_PERCENTAGE, ODDS, TOP_POINTS, TOTAL_USERS, TOTAL_POINTS] where=Condition.GTE, # 'by' must be [GT, LT, GTE, LTE] than value value=10 ) )88.5 - 11.5 = 77 < 35 percentage gap so it should bet on the 11.5% lose but it didnt . is this because TOTAL_USERS was < 10 FOR THE 11.5% LOSE OPTION ?? but isnt total users total users making ANY bet? what went wrong here?
Steps to reproduce
bet=BetSettings( strategy=Strategy.SMART, # Choose you strategy! percentage=25, # Place the x% of your channel points percentage_gap=35, # Gap difference between outcomesA and outcomesB (for SMART strategy) max_points=10000, # If the x percentage of your channel points is gt bet_max_points set this value stealth_mode=True, # If the calculated amount of channel points is GT the highest bet, place the highest value minus 1-2 points Issue #33 delay_mode=DelayMode.FROM_END, # When placing a bet, we will wait until
delay
seconds before the end of the timer delay=10, minimum_points=10000, # Place the bet only if we have at least 20k points. Issue #113 filter_condition=FilterCondition( by=OutcomeKeys.TOTAL_USERS, # Where apply the filter. Allowed [PERCENTAGE_USERS, ODDS_PERCENTAGE, ODDS, TOP_POINTS, TOTAL_USERS, TOTAL_POINTS] where=Condition.GTE, # 'by' must be [GT, LT, GTE, LTE] than value value=10 ) )and make channel prediction 88.5 win with some users and 11.5 lose with only 2 users
Expected behavior
88.5 - 11.5 = 77 < 35 percentage gap so it should bet on the 11.5% lose but it didnt
Operating system
Windows 11
Python version
3.12
Miner version
1.9.5
Other relevant software versions
No response
Logs
INFO - TwitchChannelPointsMiner.classes.Twitch - [make_predictions]: Going to complete bet for EventPrediction(event_id=, streamer=Streamer(username=streamer, channel_id=id, channel_points=points), title=WIN MATCH?) INFO - TwitchChannelPointsMiner.classes.Twitch - [make_predictions]: Place 10k channel points on: Win (BLUE), Points: 47k, Users: 6 (85.71%), Odds: 1.13 (88.5%)
Additional context
No response