mbithy / Trevel

The smartest Bitcoin Gambling bot for freebitco.in.
88 stars 56 forks source link

Confused about script execution #10

Closed knoxcard closed 6 years ago

knoxcard commented 6 years ago

So I copied and pasted this script and start gambling, when does the bot take over? All I see is this for the output.

(unknown) Winrate: 0.00 Bets: 1 (unknown) Winrate: 49.90 Bets: 10000 (unknown) Winrate: 50.39 Bets: 20000 (unknown) Winrate: 50.10 Bets: 30000 (unknown) Winrate: 49.89 Bets: 40000

ThomazPom commented 6 years ago

Hey, I'm experiencing the same thing.

I also tried this part of the readme without success

env.stop=true;
var netString='copy paste the network model below here';
var netObject=JSON.parse(netString);
agent.fromJSON(netObject);
env.stop=false;

with the trainned network

{"nh":24,"ns":8,"na":2,"net":{"W1":{"n":24,"d":8,"w":{"0":-0.017399793203670605,"1":0.0009236431029044627,"2":-0.005968528264538526,"3":-0.0007782187801951021,"4":0.001627697063448531,"5":-0.0031920050177863613,"6":-0.011129572772316772,"7":0.00865880783344323,"8":-0.03622857043184155,"9":-0.04044490640631096,"10":-0.08397697457587469,"11":0.00022199031068095325,"12":-0.002170090921481117,"13":0.011595787139350942,"14":-0.023400471005497473,"15":0.00041107742085307725,"16":-0.03307662115911106,"17":-0.01298401897414995,"18":-0.07879085040693963,"19":0.00017155141862132802,"20":0.028329546904834434,"21":-0.03871209466152695,"22":-0.0225337877432874,"23":0.011662052301546847,"24":-0.004773400377957983,"25":-0.0007427618142385246,"26":-0.022016889424233868,"27":-0.004057296513216198,"28":0.024920940938547766,"29":-0.026965153854845055,"30":-0.018859464480815488,"31":0.008536074272080129,"32":0.0022881148751951077,"33":0.01871657779072938,"34":0.029510680707117695,"35":0.020866600373799466,"36":-0.006345532886283622,"37":0.0015239464426914766,"38":-0.002511674242869906,"39":-0.0020321182176013773,"40":0.002465695449141773,"41":-0.040791489241967606,"42":-0.0060560497401125,"43":-0.006814735218736218,"44":-0.0012342307340620854,"45":0.036507035296648456,"46":0.015274704092091135,"47":-0.030890617897829976,"48":0.010278270432895753,"49":0.014446428675438609,"50":0.016809812021309076,"51":-0.006860221579712721,"52":0.010003105767943268,"53":-0.003323474816241694,"54":0.015365351324416436,"55":0.0022167496601936893,"56":-0.012872668251337194,"57":0.018078269143191505,"58":-0.06384429697998704,"59":0.004298886849180362,"60":0.0036811242693438337,"61":-0.035757618319498495,"62":-0.048409116174540724,"63":0.019888196989930114,"64":0.010118965581421783,"65":-0.011012327385655891,"66":-0.004935089994851824,"67":-0.00758167299617604,"68":-0.014056495145152335,"69":0.0019415843917103227,"70":0.008178027682043785,"71":-0.0030903257805584856,"72":-0.0038276829053749016,"73":-0.012508371479774946,"74":0.031993705456746145,"75":-0.002660725290473083,"76":0.0001621467937049658,"77":0.020820860130065778,"78":0.012170697247807614,"79":0.0030479424828603833,"80":-0.03986580516468113,"81":-0.020553802953815908,"82":-0.07784332188625577,"83":0.005860419303285502,"84":0.0298085541459067,"85":-0.0035393996022648703,"86":-0.03206169356319187,"87":0.014289937598270512,"88":-0.009190907365347214,"89":0.02327392280706956,"90":-0.001641145833687332,"91":0.02731534094405865,"92":0.019908952745278274,"93":-0.018147821550781564,"94":-0.03342430055950833,"95":0.016269178447762336,"96":-0.019901962509479548,"97":-0.024851521951021426,"98":-0.018522194758854374,"99":-0.020734515850301168,"100":0.0024113690490724492,"101":-0.007328463272251556,"102":-0.00843686123052214,"103":-0.015845743662088616,"104":0.0035703966741554628,"105":-0.01570406409107663,"106":0.017114182292798805,"107":-0.013629815712045731,"108":-0.01076255933445376,"109":0.02750015379245824,"110":-0.0009441954052887739,"111":-0.021058797574085235,"112":-0.009332638917395135,"113":-0.006646482201715635,"114":-0.012066958259763139,"115":0.005405382693882621,"116":0.004949719370292656,"117":0.007071764306104743,"118":0.0031474299124805015,"119":-0.013925080096561402,"120":-0.004433184945505492,"121":0.007651470146907258,"122":0.009422966199584234,"123":0.007128580199202995,"124":-0.019285180974854283,"125":0.03915992380847774,"126":0.008936662795078067,"127":0.012655233939123791,"128":0.01231574483384927,"129":0.011090180634734405,"130":-0.022220641320751206,"131":-0.004666522023695908,"132":0.0027203852847635067,"133":-0.024687391399766816,"134":-0.019163459199371426,"135":0.0002920527786413905,"136":-0.00947082605975357,"137":-0.041799521689390697,"138":0.0017587476982174625,"139":0.0076207956754699765,"140":-0.028558655424124366,"141":0.047503493916642256,"142":0.015604866067408317,"143":-0.03603466638645183,"144":-0.005681020479309138,"145":-0.058621544218852066,"146":0.008867573076022608,"147":-0.0018178322821130462,"148":-0.007248961259748821,"149":0.020939362411511057,"150":0.025184335071627796,"151":-0.018192375801796383,"152":0.017332120188701013,"153":0.0033130484655614313,"154":0.01738447729077163,"155":0.006019799413572575,"156":-0.0009584546237653225,"157":0.00012971933486055943,"158":-0.010030657048641572,"159":-0.004389608952610978,"160":0.013441697342224007,"161":-0.0019872283923634193,"162":0.02647759881412949,"163":0.0014793225392193366,"164":0.0037707615629378045,"165":0.012162194274630297,"166":0.013913740979587988,"167":-0.00785629017650829,"168":0.005414617942060028,"169":0.032731474736781715,"170":-0.005074317306813589,"171":0.011523284668989558,"172":0.009379916271471766,"173":-0.021376986907284415,"174":-0.00547798371280849,"175":0.01339996712114318,"176":0.012588271038592131,"177":-0.02961655888282886,"178":0.027754275670949447,"179":0.004792179657473027,"180":-0.009417500083632433,"181":0.015376898736001158,"182":0.030390278751814166,"183":-0.028964581743604334,"184":-0.0009982239184665451,"185":0.004635280371199865,"186":0.021721667451560005,"187":-0.006037219109131347,"188":-0.005404153762394345,"189":0.023798289304443988,"190":0.02725823847407367,"191":-0.00988814833117309}},"b1":{"n":24,"d":1,"w":{"0":-0.002314282295717364,"1":-0.026215979389614563,"2":-0.004604395094637932,"3":0.00040336269639472893,"4":0.007284557696512226,"5":-0.01151454323329636,"6":0.008533409192420134,"7":-0.003222625483428707,"8":-0.002695284213231336,"9":0.0034451585619477594,"10":-0.013838754296993997,"11":0.007210606019706841,"12":-0.011095879448809477,"13":-0.0032307104621487025,"14":-0.007411853795347892,"15":-0.0012454742895092177,"16":0.0017052559620620734,"17":-0.016323380753278126,"18":-0.01086161627310642,"19":0.0049343740276044795,"20":0.0032036973114032414,"21":0.006148201032685978,"22":-0.002874774572411997,"23":0.0019025199768465371}},"W2":{"n":2,"d":24,"w":{"0":0.015594820571471399,"1":0.1043616578048777,"2":0.07450584766119127,"3":0.023102036945468606,"4":-0.04475815943589536,"5":0.02869574835401427,"6":-0.027998895349154007,"7":0.04606848363071033,"8":0.005873397383467482,"9":-0.024159359961947457,"10":0.08666279635688483,"11":-0.013082709124853896,"12":0.04685643958401008,"13":-0.003478440546988424,"14":0.01804276221943554,"15":-0.021109277728545442,"16":0.01104599671454185,"17":0.02448184003206712,"18":0.03285537529059326,"19":-0.019313830198522196,"20":-0.02092184295616251,"21":-0.015188957610056028,"22":-0.009574361070784182,"23":-0.022202915939795325,"24":-0.013226928876319604,"25":-0.005680324057258423,"26":-0.06625853107099242,"27":-0.03523508273040358,"28":-0.00036493853526292565,"29":0.0556249870773435,"30":0.00006616891380077716,"31":-0.0767602938535708,"32":0.015059399136708628,"33":0.032260595611215005,"34":-0.0455798949682936,"35":-0.05186866573390671,"36":0.010319625967308786,"37":0.041160572285686294,"38":0.008559841143004197,"39":0.023219103699890407,"40":-0.03274257940498095,"41":0.07003546588455825,"42":0.05873685865659914,"43":0.00045839589959539596,"44":0.022607430889553675,"45":-0.04039701493299241,"46":0.054798841000324214,"47":0.03185788795629892}},"b2":{"n":2,"d":1,"w":{"0":-0.2803622262859642,"1":-0.3503682763371269}}}}
zippynl commented 6 years ago

I figured it out yesterday. There is a line that says isTesting: true,

change that to isTesting: false,

Then it starts.

But the trained network and the trainedNet.json and free-simulator.js i cant get to work

zippynl commented 6 years ago

and what about the refresh of the website? every hour

ThomazPom commented 6 years ago

@zippynl You need to redefine the RefreshPageAfterFreePlayTimerEnds function

RefreshPageAfterFreePlayTimerEnds = function() {}

zippynl commented 6 years ago

@ThomazPom i'm looking true the code but i can't find it in the DQ-Trevel.js. Do i need to add it? of so where?

ThomazPom commented 6 years ago

@zippynl You have to add it on first or last Line of the script, or simply type it : it only need to be executed

knoxcard commented 6 years ago

Got it to execute after changing isTesting: false, then lost all my Bitcoin lol. I will try the other variations and more Bitcoin as well to see what kind of success I get. The Bitcoin I am spending too is small, I can run quite a bit of tests for $10. :-) Doubting any of this will work, their 1% edge is enough to override any of this.

ThomazPom commented 6 years ago

@osavigne recently i got 80 000 satoshi and i had 23 consécutives looses with a simple 2x martingale

mbithy commented 6 years ago

@ThomazPom 23 consecutive!! Wow, max I got from training was 17 and on live never got past 8. You should train network first just to be safe using free simulator

mbithy commented 6 years ago

@knoxcard avoid risking too much btc before you completely get used to using Trevel... Also the AI is not plug n' play n' win Learning is a process but the start is the riskiest, after a few hundred bets you can increase bet size based on winrate if you don't load a pre-trainned network, more info on this soon

knoxcard commented 6 years ago

@mbithy - Cool, I will keep trying it out. I know what I said may have been harsh..." Doubting any of this will work...", it's just that I have seen consecutive losses as @osavigne has mentioned. They cheat sooo hard. Thanks for publishing your work!

zippynl commented 6 years ago

@mbithy so the best way is to let the isTesting: true, for training? how do i change that one to false while the script is running?

mbithy commented 6 years ago

WIKI has now the most important information you need to get started