Hi All,
I'm testing some methods at the moment and as part of that I wish to  program betangel to place bets at random on events of my choosing.
I selected the "any selection" option from within the "Selection" option on the "general" tab. Yet when I select this one would think that it would select "ANY" selection at random but it does not. Instead selecting the very first selection available every time.
Can someone tell me if there is an option to select a totally random selection?
Thanks in Advance
            
			
									
									
						How to get Betangel to place random bets
there's not a single setting that will do this for you. however, with a bit of lateral thinking you could create a psuedo random generator. In psuedo code this might do the following:
1. At 300 seconds pre race, take a stored values snapshot of all the runners' book%
2. At 90 seconds take a second snapshot
3. at 30 seconds place a bet on the runner whose difference between bookPercentage1 and bookPercentage2 is the greatest (or least -or between a range of numbers etc)
As i said, it's a way to get a random selection each time -it may however have a bias twds the runner that has had the most movement, so may always end up picking the same type of runner. Experimantation required to find some sort of stored value pairs that would give you a broad range of *random* picks
            
			
									
									
						1. At 300 seconds pre race, take a stored values snapshot of all the runners' book%
2. At 90 seconds take a second snapshot
3. at 30 seconds place a bet on the runner whose difference between bookPercentage1 and bookPercentage2 is the greatest (or least -or between a range of numbers etc)
As i said, it's a way to get a random selection each time -it may however have a bias twds the runner that has had the most movement, so may always end up picking the same type of runner. Experimantation required to find some sort of stored value pairs that would give you a broad range of *random* picks
So looking deeper into this I think i understand setting up the excel RAND sheet but where would I program the "IF between 0 and 3 place bet"? This could be done from within betangel?
Or is this done in Excel also?
Sean.
Download one of the excel templates from (https://www.betangel.com/download/) or from the many on the forum. Then check one of the tutorial videos on how to integrate with Bet Angel.
What you could do is have a servant running on each runner you wish to place a bet on. This could contain all your betting logic such as odds, stake, fill or kill etc. Then within the servant have a shared stored value in the conditions that needs to be set in order for the bet to be triggered.
From within Excel you could then use some VBA i.e. Sheets("Bet Angel").range("L" & <random runners row number>).value = "SET_SV FOR:SELECTION NAME:PlaceBet VALUE:1"
This would then cause the relevant servant to go ahead and place the bet for you.
            
			
									
									
						From within Excel you could then use some VBA i.e. Sheets("Bet Angel").range("L" & <random runners row number>).value = "SET_SV FOR:SELECTION NAME:PlaceBet VALUE:1"
This would then cause the relevant servant to go ahead and place the bet for you.
