Author

Topic: Coinroll.it Martingale script (Read 7974 times)

sr. member
Activity: 350
Merit: 250
September 21, 2013, 03:12:05 PM
#23
I got a question if it was possible to make a martingale python script for coinroll.it
I 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.


Hello

How may I run the script "run.py"? What I need to do to run it?
hero member
Activity: 686
Merit: 500
May 29, 2013, 12:42:26 AM
#22
user 0001sonkit posted the martingale javascript from the coinroll thread tho

Quote
javascript:if($("#bets .item:first-child .lucky").hasClass('win')){$('#betamount').val('0.00001');roll()}else{setDouble();roll()}


And the modification of it by me, if you wished you want to set the max bet amount before reverting back to 0.0001
Quote
javascript:var betmount = $("#betamount").val(); if(betmount == '0.00032') { $('#betamount').val('0.00001') } else { if($("#bets .item:first-child .lucky").hasClass('win')) { $('#betamount').val('0.00001');roll()} else { setDouble();roll() } }

Use it at chrome as a bookmarked url, and clicky clicky clicky the button  Grin
sr. member
Activity: 336
Merit: 250
May 29, 2013, 12:03:32 AM
#21
I want definitely try your script but how to run a python script ? Cheesy
I'm noob with dev etc...

nobody can help me ?
sr. member
Activity: 336
Merit: 250
May 27, 2013, 04:56:20 AM
#20
I want definitely try your script but how to run a python script ? Cheesy
I'm noob with dev etc...
sr. member
Activity: 285
Merit: 262
May 25, 2013, 11:57:01 AM
#19
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.
hero member
Activity: 686
Merit: 500
May 25, 2013, 06:37:57 AM
#18
Python is one of those programming languages i've never learned before so kinda blur what to do here  Roll Eyes

please feel free to show me the way  Tongue
legendary
Activity: 2940
Merit: 1333
May 24, 2013, 11:05:59 PM
#17
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!  Smiley
hero member
Activity: 504
Merit: 500
May 24, 2013, 10:41:10 PM
#16
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.  Smiley

You should do that then, doubt it'd take you more than 30 - 60 minutes right?
legendary
Activity: 2940
Merit: 1333
May 24, 2013, 10:37:28 PM
#15
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.  Smiley
hero member
Activity: 504
Merit: 500
May 24, 2013, 10:34:32 PM
#14
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.
legendary
Activity: 2940
Merit: 1333
May 24, 2013, 10:32:51 PM
#13
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.
newbie
Activity: 29
Merit: 0
newbie
Activity: 29
Merit: 0
May 24, 2013, 02:34:02 PM
#11
I got a question if it was possible to make a martingale python script for coinroll.it

I 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.
sr. member
Activity: 322
Merit: 250
May 20, 2013, 02:17:33 PM
#10
Nice script.
legendary
Activity: 2940
Merit: 1333
May 20, 2013, 12:48:13 AM
#9
I got a question if it was possible to make a martingale python script for coinroll.it

I 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.
newbie
Activity: 29
Merit: 0
May 13, 2013, 02:22:53 PM
#8
Yeah you might want to go ahead and remove that line for your version of Python, or update to Python 2.7.
member
Activity: 102
Merit: 10
May 12, 2013, 06:00:20 PM
#7
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
 
newbie
Activity: 29
Merit: 0
May 11, 2013, 09:08:09 PM
#6
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.
member
Activity: 102
Merit: 10
May 11, 2013, 12:55:19 AM
#5
Can you make one for Satoshi Circle ?
full member
Activity: 173
Merit: 102
May 09, 2013, 04:43:14 PM
#4
Nice, Works great Smiley
hero member
Activity: 504
Merit: 500
May 08, 2013, 06:15:38 AM
#3
Botting gambling & sticking to repetitive patterns feels as if you're taking away the enjoyment Sad

After all, that's all you get from gambling in the long run Tongue
sr. member
Activity: 337
Merit: 250
May 08, 2013, 01:19:30 AM
#2
Don't do this unless you have an infinite amount of money, or are in it for the very short term.
newbie
Activity: 29
Merit: 0
May 07, 2013, 10:43:27 PM
#1
I got a question if it was possible to make a martingale python script for coinroll.it
I 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.
Jump to: