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

auto bet (predictions) just won't place a bet in time #272

Closed
censfr opened this issue May 19, 2023 · 5 comments
Closed

auto bet (predictions) just won't place a bet in time #272

censfr opened this issue May 19, 2023 · 5 comments
Labels
❌ invalid This doesn't seem right

Comments

@censfr
Copy link

censfr commented May 19, 2023

Describe the bug

basically it printed into console that it will be placing a bet in 1793.98 seconds so i didnt bother betting myself and it just never placed the bet, it just spit out some errors and that was all.

Steps to reproduce

  1. open run.py
  2. wait for your streamer to start a prediction

Expected behavior

for it to bet properly?

Operating system

Windows 10 home

Python version

3.11.3

Miner version

1.8.1

Other relevant software versions

No response

Logs

cant provide a log.

Additional context

No response

@censfr
Copy link
Author

censfr commented May 19, 2023

also just signed up to github so idrk how this works lol sorry if i did something wrong

@rdavydov
Copy link
Owner

Nobody can help you if you can't provide a log. This issue will be closed as invalid w/o a proper log.

@rdavydov rdavydov added the ❌ invalid This doesn't seem right label May 19, 2023
@censfr
Copy link
Author

censfr commented May 19, 2023

Place the bet after: 1793.98s for: EventPrediction(event_id=127c3a63-12b9-479a-bc0b-36f6712d1d24, streamer=Streamer(username=redacted, channel_id=redacted, channel_points=1.97k), title=redacted

@rdavydov
Copy link
Owner

rdavydov commented May 19, 2023

Place the bet after: 1793.98s for: EventPrediction(event_id=127c3a63-12b9-479a-bc0b-36f6712d1d24, streamer=Streamer(username=redacted, channel_id=redacted, channel_points=1.97k), title=redacted

This line does not tell anything.
Only full DEBUG log and your betting config (in run.py) may help to find the reason.

@censfr
Copy link
Author

censfr commented May 19, 2023

i don't know if the debug log has sensitive info in it but it kinda looks like it so here is the config atleast, if this doesnt help then ill send the debug too but idk if thats safe to send out here in the public.

as u will see i changed the bet minimum simply cuz 20k is too much but thats the only thing i changed

bet=BetSettings(
            strategy=Strategy.SMART,            # Choose you strategy!
            percentage=5,                       # Place the x% of your channel points
            percentage_gap=20,                  # Gap difference between outcomesA and outcomesB (for SMART strategy)
            max_points=50000,                   # 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=6,
            minimum_points=1000,               # 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.LTE,            # 'by' must be [GT, LT, GTE, LTE] than value
                value=800
            )
        )
    )
)

@rdavydov rdavydov closed this as not planned Won't fix, can't repro, duplicate, stale May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❌ invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants