Welcome, Guest. Please login or register.
June 03, 2023, 10:12:17 PM
Home Help Login Register
News:
Shanky Technologies: The poker bot that works!

Shanky Technologies Poker Bot Support Forum  |  General Category  |  PPL Support (Moderator: sngbot)  |  Topic: Betting Based on stacksize 0 Members and 1 Guest are viewing this topic.
Pages: [1] Print
Author Topic: Betting Based on stacksize  (Read 278 times)
tapthatace
Botter
***

Karma: 9
Posts: 233


« on: February 14, 2023, 02:57:51 AM »

If I wanted to code the following what would be the best method?  I cannot get my brain around this and I am sure it is super easy!!!  banghead

I am going to 3bet 3x the bet via Raise 3 Force -- but I want to jam my stack if doing Raise 3 leaves me with Less than a pot sized bet.  How would that line of code look?

I am looking to do the following:
All in when any action would leave us with less than a pot sized bet
« Last Edit: February 14, 2023, 08:51:32 PM by tapthatace » Logged
tapthatace
Botter
***

Karma: 9
Posts: 233


« Reply #1 on: February 14, 2023, 09:40:02 PM »

Am I figuring this correctly?

If I know my RaiseBy is going to be 3 BB

I can take the AmountToCall > 16% StackSize (then that means I would be investing more than 50% of my stack with a RaiseBy 3)

ex)
StackSize = 25 BB
AmountToCall = 4 == my RaiseBy 3 now makes this 12BB in this case that leaves me with 50% of my StackSize
If AmountToCall = 3 == my RaiseBy 3 now makes this 9BB in this case that less then 50% of my StackSize

so my code would be ....

//All in when any action would leave us with less than a pot sized bet
When AmountToCall > 16% StackSize and HaveSet RaiseMax Force  
When HaveSet Raise 3 Force                                                              

Logged
Egor
Forum Admin
Extreme Botter
*****

Karma: 377
Posts: 34965



WWW
« Reply #2 on: February 14, 2023, 10:18:10 PM »

Yes that is the easiest way to do it and it looks good to me  thumbsup
Logged

Please do not PM me about license issues or help stuff - email me or use the Help board. Thanks! -Egor
Pages: [1] Print 
Shanky Technologies Poker Bot Support Forum  |  General Category  |  PPL Support (Moderator: sngbot)  |  Topic: Betting Based on stacksize
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!