madberry (OP)
Newbie
Offline
Activity: 29
Merit: 0
|
|
May 08, 2013, 03:43:27 AM |
|
I got a question if it was possible to make a martingale python script for coinroll.itI kind of like messing with python so I came up with something. The requester gave me permission me to post it here. So the whole community can enjoy it. Here is a link to the github repo.Feel free to fork make changes and submit a pull request. The following people added a contribution to the script: d34th If you win some using this script you could always donate some won coin here: 1Q2QDC78uaGgkm4r3G5YzZSriPv7KMUuQU Please note: I am _not_ interested in your opinion on gambling. Other then that flame away.
|
|
|
|
Vince Torres
|
|
May 08, 2013, 06:19:30 AM |
|
Don't do this unless you have an infinite amount of money, or are in it for the very short term.
|
Namecoin.com .bit domain registrar. Register a new .bit domain for just $1! BTC: 1LpKzg24NHmrxLZbnVphcstV3s7uA8cSnT LTC: LWHswCFRPouCXTNiT8B9HUVnGrae9eojVg
|
|
|
Zaih
|
|
May 08, 2013, 11:15:38 AM |
|
Botting gambling & sticking to repetitive patterns feels as if you're taking away the enjoyment After all, that's all you get from gambling in the long run
|
|
|
|
arij
|
|
May 09, 2013, 09:43:14 PM |
|
Nice, Works great
|
|
|
|
syphen
Member
Offline
Activity: 102
Merit: 10
|
|
May 11, 2013, 05:55:19 AM |
|
Can you make one for Satoshi Circle ?
|
|
|
|
madberry (OP)
Newbie
Offline
Activity: 29
Merit: 0
|
|
May 12, 2013, 02:08:09 AM |
|
Can you make one for Satoshi Circle ?
I could tho it would be a lot harder. Coinroll.it has an actual API. Satoshi Circle doesn't have that, which means it would take longer to develop.
|
|
|
|
syphen
Member
Offline
Activity: 102
Merit: 10
|
|
May 12, 2013, 11:00:20 PM |
|
Oh, its cool. I tried to run your script with python 2.6.6 in IDLE and I get a invalid syntax error every time at
print "Start : %s" % time.ctime() at the quotation mark
|
|
|
|
madberry (OP)
Newbie
Offline
Activity: 29
Merit: 0
|
|
May 13, 2013, 07:22:53 PM |
|
Yeah you might want to go ahead and remove that line for your version of Python, or update to Python 2.7.
|
|
|
|
dooglus
Legendary
Offline
Activity: 2940
Merit: 1333
|
|
May 20, 2013, 05:48:13 AM |
|
I got a question if it was possible to make a martingale python script for coinroll.itI took a look at the code. It looks very much like it bets random amounts and doesn't seem to use the martingale strategy at all. Is that true? See wikipedia for a description of martingale betting.
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
Mooshire
|
|
May 20, 2013, 07:17:33 PM |
|
Nice script.
|
|
|
|
madberry (OP)
Newbie
Offline
Activity: 29
Merit: 0
|
|
May 24, 2013, 07:34:02 PM |
|
I got a question if it was possible to make a martingale python script for coinroll.itI took a look at the code. It looks very much like it bets random amounts and doesn't seem to use the martingale strategy at all. Is that true? See wikipedia for a description of martingale betting. Very true, version 2.0 will have an actual martingale algo. This version is more a simple betting script then an actual martingale system.(that was the assignment from the person who wanted it) I just need some free time to finish up version 2.0 and start testing.
|
|
|
|
madberry (OP)
Newbie
Offline
Activity: 29
Merit: 0
|
|
May 24, 2013, 07:36:53 PM |
|
|
|
|
|
dooglus
Legendary
Offline
Activity: 2940
Merit: 1333
|
|
May 25, 2013, 03:32:51 AM |
|
It would be cool if there was a betting script where you could chose the betting logic (martingale, random, reverse martingale, whatever) and the site (coinroll, satoshidice, primedice, etc) at run time.
If each betting strategy and each site was separated out into separate functions then it would be relatively easy to add new sites, and new strategies, without having to reinvent the wheel each time.
The only thing that puts me off is that running a bot against sites with negative expectation is kind of a silly thing to do, and writing such a bot could make it look as if you were encouraging people to partake in such silly activities.
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
Zaih
|
|
May 25, 2013, 03:34:32 AM |
|
It would be cool if there was a betting script where you could chose the betting logic (martingale, random, reverse martingale, whatever) and the site (coinroll, satoshidice, primedice, etc) at run time.
If each betting strategy and each site was separated out into separate functions then it would be relatively easy to add new sites, and new strategies, without having to reinvent the wheel each time.
The only thing that puts me off is that running a bot against sites with negative expectation is kind of a silly thing to do, and writing such a bot could make it look as if you were encouraging people to partake in such silly activities.
Yeh as I said running bots makes no sense.. Why would you bot something that gives you constant -EV. Gambling's for fun.. Botting is done to get rid of monotonous processes. If you find gambling boring, then don't do it haha.
|
|
|
|
dooglus
Legendary
Offline
Activity: 2940
Merit: 1333
|
|
May 25, 2013, 03:37:28 AM |
|
Yeh as I said running bots makes no sense.. Why would you bot something that gives you constant -EV. Gambling's for fun.. Botting is done to get rid of monotonous processes. If you find gambling boring, then don't do it haha.
But what makes less sense than writing a general dice-botting program is to keep writing new ones each time a new dice site appears.
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
Zaih
|
|
May 25, 2013, 03:41:10 AM |
|
Yeh as I said running bots makes no sense.. Why would you bot something that gives you constant -EV. Gambling's for fun.. Botting is done to get rid of monotonous processes. If you find gambling boring, then don't do it haha.
But what makes less sense than writing a general dice-botting program is to keep writing new ones each time a new dice site appears. You should do that then, doubt it'd take you more than 30 - 60 minutes right?
|
|
|
|
dooglus
Legendary
Offline
Activity: 2940
Merit: 1333
|
|
May 25, 2013, 04:05:59 AM |
|
You should do that then, doubt it'd take you more than 30 - 60 minutes right?
It always surprises me how long these things take to do. Then there's the testing. None of the games have a testnet mode, so I end up risking real money, which wouldn't be so bad if I wasn't martingale betting, but as I've discovered first hand martingale can very quickly get out of hand. And you know what sucks more than wasting your time writing a script that automatically plays a game where you're guaranteed to lose in the long run? Losing all your coins while testing it!
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
hasher87
|
|
May 25, 2013, 11:37:57 AM |
|
Python is one of those programming languages i've never learned before so kinda blur what to do here please feel free to show me the way
|
|
|
|
cwil
|
|
May 25, 2013, 04:57:01 PM |
|
It would be cool if there was a betting script where you could chose the betting logic (martingale, random, reverse martingale, whatever) and the site (coinroll, satoshidice, primedice, etc) at run time.
If each betting strategy and each site was separated out into separate functions then it would be relatively easy to add new sites, and new strategies, without having to reinvent the wheel each time.
The only thing that puts me off is that running a bot against sites with negative expectation is kind of a silly thing to do, and writing such a bot could make it look as if you were encouraging people to partake in such silly activities.
I think the biggest problem is that there is no general protocol these sites use for their various functions. Coinroll.it does it the best from what I've seen. They deliver account creation, deposit, withdrawal, and betting functions with output in an easy to use json format. Other sites may require people to parse the sites response for things like a deposit address. Not hard to do for an individual site, but certainly annoying for multiple sites. I think a decent approach to this would be utilizing a language that supports interfaces like C#. We could design a communication interface that handles actually sending information to the site, meaning things like withdraw and bet, and a logic interface that determines how much to bet and when to withdraw. Implementation would be an exercise for the user or general community. If there's interest I could write that up fairly quickly with a coinroll.it example.
|
|
|
|
dermo
|
|
May 27, 2013, 09:56:20 AM |
|
I want definitely try your script but how to run a python script ? I'm noob with dev etc...
|
|
|
|
|