Tkd-Alex / Twitch-Channel-Points-Miner-v2

A simple script that will watch a stream for you and earn the channel points.
GNU General Public License v3.0
1.22k stars 679 forks source link

Betting strategy: Smart money #331

Closed chrswt closed 2 years ago

chrswt commented 3 years ago

Allow a betting strategy that follows the side with the largest individual bet placed

Tkd-Alex commented 2 years ago

Can you explain better?

chrswt commented 2 years ago

When a prediction is live, Twitch shows the following information: total amount placed on each side (giving the odds), number of bettors on each side, and the largest bet placed on each side. The largest bet placed on each side can usually give a clue as to where the smart money is betting on because the people with the most channel points have usually watched the channel for the longest amount of time (have the most knowledge) and/or have won the most bets (are good at predictions). This strategy would bet on the side that has the largest individual bet placed.

Tkd-Alex commented 2 years ago

Are you sure that this strategy doesn't already exist? https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2#bet-strategy

chrswt commented 2 years ago

It's not MOST_VOTED or LEAST_VOTED because that is determined by the majority, not where the largest bet is placed. It is not PERCENTAGE because that is determined by the odds, not where the largest bet is placed. It is not SMART because that is determined by the majority, not where the largest bet is placed.

As far as I can tell, this strategy does not already exist. The strategy is using the information provided in the 4th row, the largest bet, and seeing which side the largest bet is placed on.

Rakambda commented 2 years ago

In a more "technical way", what is being mentioned here to is basically to take the outcome which has the max value in the field event.outcomes[].top_predictors[].points of an eventCreated/Updated ws message.

Tkd-Alex commented 2 years ago

@chrswt have you the time to test smart-money branch? https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2/tree/smart-money

chrswt commented 2 years ago

Let me test it out over the next couple of days, tried today but there were no predictions running

chrswt commented 2 years ago

@Tkd-Alex As far as I can tell this works perfectly after having tested it the last couple of days, thank you so much! Feel free to merge into the main branch.