Skip to content

Instantly share code, notes, and snippets.

@yadav26
Created April 9, 2020 02:27
Show Gist options
  • Save yadav26/8cf8ae74b5b47bb87e59408815bd7124 to your computer and use it in GitHub Desktop.
Save yadav26/8cf8ae74b5b47bb87e59408815bd7124 to your computer and use it in GitHub Desktop.
const fs = require('fs');
var express = require('express')
const app = express()
var rp = require('request-promise');
app.listen(process.env.PORT || 3000)
Pools = [];
SRPool = [];
Selections = [];
intCounter = 0;
// dates = [["2020-03-16"],["2020-03-19"], ["2020-02-28"],["2020-03-05"],["2020-02-25"],["2020-03-13"],["2020-02-20"],["2020-03-19"] ];
class ValidationInputClass {
constructor(counter, input) {
// console.log("Constructor : ", input );
this.id = counter;
this.inselec = input[0];
this.num_combinations_invested = input[1];
this.assignee = input[2];
this.cashout_amount = input[3];
this.decided_sales_amount = input[4]
}
}
function getDatePrefixZero (s){
var newstr = s.toString().length < 2 ? '0'+s : s;
return newstr;
}
async function CallRequestApi(val_data) {
qs = 'http://internal-cca-green-loadbala-6rcp2ko77xxo-1577499540.ap-southeast-2.elb.amazonaws.com:7001/test/offer';
var s = val_data.inselec;
var myselections = s.split('/');
var intarr = [];
myselections.forEach(row => {
tmpint = [];
var cols = row.split(",");
cols.forEach(col => {
if(col.search('-') != -1 )
{//its a range
var start = parseInt( col.split('-')[0]);
var end = parseInt(col.split('-')[1]);
for(let i = start; i <= end; ++i)
{
tmpint.push(i);
}
}
else{
tmpint.push(parseInt(col));
}
});
intarr.push(tmpint);
});
//console.log (intarr);
var dt = val_data.assignee.split('(');
dt = dt[1].split(')')[0];
var calenderdate = dt.split('-');
var dt = val_data.assignee.split('(');
var formatdate = calenderdate[2] + '-'+ getDatePrefixZero(calenderdate[1]) + '-' + getDatePrefixZero(calenderdate[0]) ;
var options = {
method: 'POST',
uri: qs,
body: {
meetingDate: formatdate,
meetingMnemonic: "BR",
poolType: "QUADDIE",
hostSystem: "VIC",
firstLegOfPool: 6,
amount: val_data.decided_sales_amount,
selections: intarr,
fieldLegs: [
false,
false,
false,
false
]
},
json: true // Automatically stringifies the body to JSON
};
let parsedBody = await rp(options);
var result = parsedBody.toString();
if(result.search('Error calculating offer') != -1)
{
console.log("Error - ", val_data.assignee);
return;
}
var combcnt = result.split("combinationCount=");
var combinations = combcnt[1].split("}");
var res = result.split("Total Value: ");
var trueValue = res[1].split("\n")[0];
var prtstr = '\n Resulted[' +val_data.id+']' + ' Combinations = ' + combinations[0] + ', True Value = ' + trueValue ;
console.log(prtstr);
var inputstr = ' Input #[' +val_data.id+']' + ' selections = [' + intarr[0] +'],['+ intarr[1]+'],['+ intarr[2]+'],['+ intarr[3]+'] num_combinations_invested = ' + val_data.num_combinations_invested + ' Amount invested = ' + val_data.decided_sales_amount;
// console.log(val_data.id, combinations[0], trueValue, intarr[0], intarr[1], intarr[2], intarr[3], val_data.decided_sales_amount, val_data.num_combinations_invested, val_data.cashout_amount);
console.log(inputstr);
}
(async function () {
let data = fs.readFileSync('./../selections_br_nsw.txt');
const content = data.toString();
// Invoke the next step here however you like
//console.log(content); // Put all of the code here (not the best solution)
var lines = content.split('\r\n');
intCounter = 0;
lines.forEach(element => {
//do stuff
//console.log(element);
var cols = element.split(';');
if (cols.length == 5) {
var vo = new ValidationInputClass(intCounter++, cols);
Selections.push(vo);
}
});
for (item of Selections) {
await CallRequestApi(item);
}
})();
@yadav26
Copy link
Author

yadav26 commented Apr 9, 2020

10,11/1,5,7,11/2,4/1,5,10;48;TomDick (16-3-2020);0.00;20.00
10/1,2,4,5,7/2,4/1,4,10;30;TomDick (16-3-2020);0.00;2.00
4,6,8,10,16/3,7,11/3,4,9/4,10,13;135;TomDick (16-3-2020);0.00;6.00
4,10/1-5,7-9,11,12/2-4,6-10/1,2,4-6,8,10,13;1280;TomDick (16-3-2020);0.00;90.00
4,10/1-9,11,12/2-10/10;198;HarrySu (19-3-2020);0.00;16.00
1,4,10,11/1,3,5,7,11/2,4,9/1,4,8,10;240;HarrySu (19-3-2020);0.00;23.00
1,3,4,6,8,10-16/1-9,11,12/2,4/10;264;HarrySu (19-3-2020);0.00;17.00
4,10,11/4,7,9/4,6/4,10;36;HarrySu (19-3-2020);0.00;5.00
10/1-3,5,7,11/2,4,9/1,4,10;54;HarrySu (19-3-2020);0.00;6.00
10/5,7,11,12/4,7,9/1,4,10;36;HarrySu (19-3-2020);0.00;13.00
10/1,2,5,7/4,6,9/4,8,10;36;HarrySu (19-3-2020);0.00;30.00
3,4,10,11/2-4,7/2,4,8,10/1,2,4,8,10;320;HarrySu (19-3-2020);0.00;7.00
1,3,4,6,8,10-15/1-5,7-9,11/2,4,8,9/1,4,10;1188;HarrySu (19-3-2020);0.00;30.00
4,10,11,13/1,7,8,11/4,7,9/2,8,10;144;HarrySu (19-3-2020);0.00;15.00
1,4,10/1,3,5,7/2-4,9/10;48;HarrySu (19-3-2020);0.00;10.00
4,10/1,7/4,9/1,10;16;HarrySu (19-3-2020);0.00;5.00
3,10,11/3,5,7/4,6,7/4,10,13;81;HarrySu (19-3-2020);0.00;10.00
4,10,11/3,5,7,9,11/2,4,9/1,10,13;135;HarrySu (19-3-2020);0.00;25.00
1,3,4,6,8,10-16/1-9,11,12/2-10/10;1188;HarrySu (19-3-2020);0.00;40.00
4,10,11,15/1,4,5,7,11/4,6,9/4,10;120;HarrySu (19-3-2020);0.00;1.50
3,4,10/1,3,7,11,12/4,5,9,10/1,10,13;180;HarrySu (19-3-2020);0.00;18.00
1,3,4,10,11,13/1-3,5-9,11/2,4,6,7,9/1,2,4,8,10,13;1620;HarrySu (19-3-2020);0.00;35.00
1,3,4,10-13/1-5,7-9,11/2-5,7-9/1,2,4,5,8,10,13;3087;HarrySu (19-3-2020);0.00;52.50
3,4,10/5,7/4,7/4,10;24;HarrySu (19-3-2020);0.00;10.00
10/1-5,7,11/2,4,6,7,9/1,4,10;105;HarrySu (19-3-2020);0.00;14.00
3,10-12/1,2,5,7,11/2,4,6,7,9/1,2,4,5,10,13;600;HarrySu (19-3-2020);0.00;60.00
3,10-12/1,2,7,11/2,4,6,9/1,4,10,13;256;MaryJane (20-2-2020);0.00;22.00
10/1-3,5,7,8,11/2,4,6/1,4,5,8,10,13;126;MaryJane (20-2-2020);0.00;14.00
3,10/1,2,7,12/4,6,7,10/4,8,10;96;MaryJane (20-2-2020);0.00;20.00
10/2,5,7/4,7,9/2,4,7,10;36;MaryJane (20-2-2020);0.00;8.00
3,10-12/2,7,9/2,4,9/1,10;72;MaryJane (20-2-2020);0.00;20.00
1,3,4,10,11/1-9,11,12/2,4,6,7,9/1,2,4,10,13;1375;MaryJane (20-2-2020);0.00;138.00
3,4,10/2-4,7/4,6,7/10;36;MaryJane (20-2-2020);0.00;15.00
3,4,10,11/1-9,11,12/2,4,6,7,9/1,4,10;660;MaryJane (20-2-2020);0.00;20.00
10,13/7,11/2,4,10/1,8,10;36;MaryJane (20-2-2020);0.00;2.50
10,13/4,7/4,7,9/7,8,13;36;MaryJane (20-2-2020);0.00;2.50
1,4,10,14/1-3,5-8,11/2,4-6,8/1,2,4,8,10,13;960;MaryJane (20-2-2020);0.00;50.00
1,3,4,10-12/3-5,7,9,11/2,4,7,9,10/2,5,8,10,13;900;MaryJane (20-2-2020);0.00;30.00
4,10/1,2,7/4,7,9/1,2,10;54;MaryJane (20-2-2020);0.00;10.00
10,11/5,7-9,11/2,4,6,9/1,2,7,10,13;200;MaryJane (20-2-2020);0.00;5.00
1,3,10,11/5,7-9,11/2,4,6,9/1,2,7,10,13;400;MaryJane (20-2-2020);0.00;7.00
4,10,11/1-3,5,7,11/2-4,9/1,2,4,10,13;360;MaryJane (20-2-2020);0.00;50.00
10/7,11/4,9/1,4,10;12;MaryJane (20-2-2020);0.00;8.00
10/1,7,11/4,9/1,10,13;18;MaryJane (20-2-2020);0.00;5.00
1,4,10,11/1,5,7,9,11/2,4,5,7,9/1,5,7,10;400;MaryJane (20-2-2020);0.00;16.00
4,10,11/1-3,7,11/2,4/1,4,8,10;120;LewisHamil (25-2-2020);0.00;40.00
10/1-3,5,7,11/2,4,6,7,9/1,2,4,5,8,10;180;LewisHamil (25-2-2020);0.00;30.00
4,10-12/1,3,5,7/2,4,9/1,4,10,13;192;LewisHamil (25-2-2020);0.00;10.00
4,10,11/4,5,7,11/3,4,9/4,5,10;108;LewisHamil (25-2-2020);0.00;55.00
4,10,11/5,7,11/2,4,9/1,4,10;81;LewisHamil (25-2-2020);0.00;3.50
1,3,4,7,10/1-12/2,4,9/10;180;LewisHamil (25-2-2020);0.00;15.00
10,11/1-9,11,12/3,4,6-9/1,2,10;396;LewisHamil (25-2-2020);0.00;20.00
4,10,11,14/1-9,11,12/2,4,9/1,2,4,5,10;660;LewisHamil (25-2-2020);0.00;14.00
1,3,4,6,8,10-16/1-3,5,7,11/2-7,9/10;504;LewisHamil (25-2-2020);0.00;25.00
3,4,10,11,13/1-3,5,7,11/2,4/1,10;120;LewisHamil (25-2-2020);0.00;10.00
4,10/1-3,5-7,9,11,12/2,4,7-10/1,4,10,13;432;LewisHamil (25-2-2020);0.00;5.00
10/1-9,11,12/3,4,9/1,4,6,10;132;LewisHamil (25-2-2020);0.00;10.00
3,10,11,13/3,7-9/4,6,9/2,4,8,10;192;LewisHamil (25-2-2020);0.00;19.50
10-12/1,4,5,7,11/2,4,9/1,2,4-6,8,10;315;LewisHamil (25-2-2020);0.00;20.00
10,11/1-3,7,11/4,9,10/4,10;60;LewisHamil (25-2-2020);0.00;50.00
10/3,5,7,9/4,7,9/2,4,10,13;48;LewisHamil (25-2-2020);0.00;26.00
10/1-9,11,12/2-10/1,2,4-8,10,13;891;LewisHamil (25-2-2020);0.00;19.00
1,3,4,8,10-14,16/1-9,11,12/2-10/10;990;LewisHamil (25-2-2020);0.00;20.00
10/1,2,4,5,7,11/2,4/2,4,7,8,10,13;72;LewisHamil (25-2-2020);0.00;20.00
1,3,4,8,10,11/1-3,5,7,8,11/2-4,6,7,9/1,2,4,6,8,10,12,13;2016;LewisHamil (25-2-2020);0.00;25.00
10,11/1-3,5,7,11/2,4,9/1,4,5,10;144;RogerFed (28-2-2020);0.00;7.00
4,10/3,7,11/2,4,6,9,10/4,10,13;90;RogerFed (28-2-2020);0.00;5.00
10/4,7/4,9/10,13;8;RogerFed (28-2-2020);0.00;15.00
4,10,11,16/1,2,5,7,11,12/2,4,5,7-9/1,4,10;432;RogerFed (28-2-2020);0.00;43.50
4,10,11/1,5,7,11/4,9/1,4,10;72;RogerFed (28-2-2020);0.00;10.00
10,11,13/3,7,8/4,5,9/1,10,13;81;RogerFed (28-2-2020);0.00;1.00
10,11/1,3,5,7,11/2,4,10/1,4,8;90;RogerFed (28-2-2020);0.00;20.00
3,10/1,5,7/4,9/2,4,10;36;RogerFed (28-2-2020);0.00;10.00
3,4,10/1-3,5,7,9,12/4,5,7,9/1,8,10;252;RogerFed (28-2-2020);0.00;10.00
3,4,10,11,13/1-3,5,7-9,12/4,5,7,9/1,5,8,10;640;RogerFed (28-2-2020);0.00;20.00
4,10,11/1-3,5,7,11/4,9/1,4,8,10;144;RogerFed (28-2-2020);0.00;7.00
10-12/3,7,11/4,6,7/1,10;54;RogerFed (28-2-2020);0.00;10.00
10/1,3,5,7,11/4,9/10;10;RogerFed (28-2-2020);0.00;2.00
10,12/1,7,11/4,10/1,4,6,10;48;RogerFed (28-2-2020);0.00;20.00
10,11/1,5,7,11/4,7,9/2,4,10;72;RogerFed (28-2-2020);0.00;10.00
1,4,10,11/3,5,7,11/2,4,6,9/1,4,10,13;256;RogerFed (28-2-2020);0.00;30.00
1,3,4,10,11/1-3,5,7,11/2-5,7,8/1,2,8,10;720;RogerFed (28-2-2020);0.00;20.00
10/1-5,7,9,11,12/2,4,6,8,9/1,2,4,5,8,10,13;315;RogerFed (28-2-2020);0.00;19.00
10,11/1,2,4,7,9,11,12/2,4,9/2,4,5,8,10,13;252;RogerFed (28-2-2020);0.00;20.00
4,10,11/1,3,5,7,11/2,4,7,9/2,4,8,10;240;RogerFed (28-2-2020);0.00;20.00
10/1,7,9/4,9/10;6;Baichung (5-3-2020);0.00;15.00
1,3,4,10,11/1-9,11,12/4,9/10;110;Baichung (5-3-2020);0.00;10.00
1,3,4,10,11,13,14/1-5,7,11,12/2,4,6,7/1,2,4,8,10,13;1344;Baichung (5-3-2020);0.00;100.00
10/1-3,5,7,11/2,4,9/1,4,10;54;Baichung (5-3-2020);0.00;10.00
4,10,13/1,7,11/4,6,9/1,4,10;81;Baichung (5-3-2020);0.00;20.00
1,3,4,10-12/1-5,7,9,11,12/2-7,9,10/4;432;Baichung (5-3-2020);0.00;4.50
10-12/7/4,9/1,2,4,10;24;Baichung (5-3-2020);0.00;2.00
3,4,10/5-7/4-6/1,10;54;Baichung (5-3-2020);0.00;5.00
1,3,7,8,10/3,5,7,10,12/2,4-6/1;100;Baichung (5-3-2020);0.00;25.00
4,8,10/1-5,7,9,11/2-7,9/1,2,4-6,10;1008;Baichung (5-3-2020);0.00;25.00
4,10,13/2,3,7/2-4/1,10;54;Baichung (5-3-2020);0.00;10.00
10/1,5-7,11/4,9/1,2,4,10;40;Baichung (5-3-2020);0.00;15.00
10/1-3,5,7/2,4/1,4,10;30;Baichung (5-3-2020);0.00;15.00
10/5,7/4,9/1,4,5;12;Baichung (5-3-2020);0.00;20.00
4,10,12/4,7,12/4,9/10;18;Baichung (5-3-2020);0.00;0.50
10-13/1,2,5,7,11/3,4,6,9/1,2,4,10;320;Baichung (5-3-2020);0.00;20.00
10/1-9,11,12/2-10/1,2,4-8,10,12,13);990;Baichung (5-3-2020);0.00;50.00
10,12/5,7,12/4,9/10;12;Baichung (5-3-2020);0.00;5.00
1,10,11/3,5,7/4,6,9/1,4,10;81;Baichung (5-3-2020);0.00;13.00
10/3,7/2,4/1,10;8;Baichung (5-3-2020);0.00;1.00
10/1,5,7,11/4,6,9/1,2,4,5,10,13;72;Liane (13-3-2020);0.00;10.00
1,4,10,11/5,7,8,11/2,4,6,9/1,4,10,13;256;Liane (13-3-2020);0.00;4.00
10/7-9,12/4,7,9,10/1,5,8,10,13;80;Liane (13-3-2020);0.00;6.00
3,10/1,2,7,9/2,4/1,5,8,10;64;Liane (13-3-2020);0.00;40.00
10/1,5,7,11/2,4,7,9/1,2,4,10;64;Liane (13-3-2020);0.00;20.00
3,4,10,11,13/1-3,5-7,9,11/4,6,7/10;120;Liane (13-3-2020);0.00;4.00
10,11/3-5,7,11/4,6/2,4,10;60;Liane (13-3-2020);0.00;10.00
4,10/2,3,5-9,11,12/3,4,8-10/10,13;180;Liane (13-3-2020);0.00;2.00
1,4,10,11/2,3,5,7/2,4,6,9/1,4,10;192;Liane (13-3-2020);0.00;60.00
10/1-3,5,7,11/2-10/1,4,10;162;Liane (13-3-2020);0.00;11.00
4,10-12/1-5,7,9/2-4,6,9/1,2,4,8,10;700;Liane (13-3-2020);0.00;20.00
10,11,14/2,7,9/4,6,9/1,6,10;81;Liane (13-3-2020);0.00;10.00
10/1,7/4,7/1,4,10;12;Liane (13-3-2020);0.00;20.00
6,10/1,5-7/4,6,9/1,6,10;72;Liane (13-3-2020);0.00;15.00
1,3,10,11/1-3,7,11/2,4,7,9/1,2,4;240;Liane (13-3-2020);0.00;100.00
10/1-3,5,7,11/4/10;6;Liane (13-3-2020);0.00;6.00
1,4,10,11/5,7/3,4/1,10,13;48;Liane (13-3-2020);0.00;3.00
1,4,10,11/1,4,5,7,11/2,4,6-8/1,2,5,7,10;500;Liane (13-3-2020);0.00;6.00
10,11/1,5-7,11/4,9/1,2,4,10;80;Liane (13-3-2020);0.00;25.00
1,4,10,11/3,4,7/2,4,6,10/1,4,12;144;Liane (13-3-2020);0.00;20.00
10,12/1-3,5,7,11/2,4/1,10;48;Liane (13-3-2020);0.00;20.00
3,4,10,11/2,5,7,8/4,8,9/1,10,13;144;TomDick (16-3-2020);0.00;5.00
10,13/2,3,7/4,8/10;12;TomDick (16-3-2020);0.00;1.00
4,10/3,5,7,11/4,7,9,10/1,4,10;96;TomDick (16-3-2020);0.00;20.00
1,4,10,11,13/1,3,5,7/2,4,9/10;60;TomDick (16-3-2020);0.00;10.00
1,3,4,6,8,10-16/1-9,11,12/2-10/10;1188;TomDick (16-3-2020);0.00;12.00
3,10,14/3,7,9,11/4,6,9/1,8,10;108;TomDick (16-3-2020);0.00;25.00
10/1-5,7-9,11,12/2-10/1,2,4-6,8,10,12,13;810;TomDick (16-3-2020);0.00;60.00
1,3,4,8,10-12,14/1-5,7-9,11,12/2-10/10;720;TomDick (16-3-2020);0.00;50.00
3,4,10,13/1,2,5,7/2-4,9/1,2,4,10;256;TomDick (16-3-2020);0.00;100.00
1,3,4,10,11/1-3,5,7,8,11/2,4/1,2,4,5,8,10,13;490;TomDick (16-3-2020);0.00;20.00
3,10/1,3,5,7,9,11/3,4/4,10;48;TomDick (16-3-2020);0.00;10.00
4,10,11/1,3,5,7/4,9/10,13;48;TomDick (16-3-2020);0.00;10.00
3,4,10,11,14/1-3,5,7,11/2,4,6,9/1,2,4,10;480;TomDick (16-3-2020);0.00;15.00
10/1-3,5,7,11/4,9/10;12;TomDick (16-3-2020);0.00;50.00
4,10/1,5,7,11/4,9/10;16;TomDick (16-3-2020);0.00;4.00
10/1-3,5,7/4,9/10;10;TomDick (16-3-2020);0.00;20.00
10,11/7,8/4,9/8,10;16;TomDick (16-3-2020);0.00;2.00
10/1,5,7/4,9/10;6;TomDick (16-3-2020);0.00;12.00
1,4,10,11/2,3,5,7,11/2,4,7,9/1,4,5,8,10;400;TomDick (16-3-2020);0.00;60.00
3,4,10,11/2,3,7,11,12/2-4,6,9/1,2,4,8,10;500;HarrySu (19-3-2020);0.00;7.50
3,10/2,3,7,11,12/3,4,6,9/10;40;HarrySu (19-3-2020);0.00;1.50
3,10,11,13/2,5,7,8,11/2,4,6,9/1,4,5,8,10;400;LewisHamil (25-2-2020);0.00;20.00
4,10,13/1,3,7/2,4,9/1,2,10;81;LewisHamil (25-2-2020);0.00;3.00
1,4,10,11/1,3,6,7/2,4,7/1,10;96;LewisHamil (25-2-2020);0.00;25.00
8,10/7-9,11/4,6,7/4,5,10;72;LewisHamil (25-2-2020);0.00;5.50
1,3,4,10/1-3,7,11/2,4,6,9/1,2,4,10;320;LewisHamil (25-2-2020);0.00;75.00
10/1-9,11,12/2-4,6-9/1,2,4,5,7,10,13;539;LewisHamil (25-2-2020);0.00;5.50
1,3,4,6,8,10-16/1-9,11,12/4,9/4,10;528;LewisHamil (25-2-2020);0.00;5.50
10,11/1,2,5,7,11/2,4,9/1,4,10,13;120;LewisHamil (25-2-2020);0.00;50.00
1,4,10,11/1,3,5,7/2,4,7/1,4,10;144;LewisHamil (25-2-2020);0.00;15.00
3,4,10,11/1-5,7,9,11/2-4,7-9/1,2,4,7,10;960;LewisHamil (25-2-2020);0.00;37.00
10/1-3,5,7,9,11/4,9/1,10;28;LewisHamil (25-2-2020);0.00;15.00
10/1-3,7,11/2,4,7,9/1,4,10;60;LewisHamil (25-2-2020);0.00;10.00
4,8,10,11,15/1,3,7-9/2,4,7,8/4,7,8,10;400;LewisHamil (25-2-2020);0.00;4.00
10/2,3,7,11/4,9,10/1,10;24;LewisHamil (25-2-2020);0.00;5.00
10/1,2,5,7,11/2,4,6,7,9/1,2,4,5,10,13;150;LewisHamil (25-2-2020);0.00;20.00
3,4,10,11/2,3,5,7,11,12/2,4,7,9/1,4,10,13;384;LewisHamil (25-2-2020);0.00;40.00
3,4,10,11/1-3,5,7,9,11/3,4,6,9/1,4,8,10,13;560;LewisHamil (25-2-2020);0.00;10.00

@yadav26
Copy link
Author

yadav26 commented Apr 9, 2020

----OUTPUT ----
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...
[nodemon] starting node start index.js

Found id[0] num_combinations_invested = 48 True Value = 47.4524
Input id[0] Selections = [10,11],[1,5,7,11],[2,4],[1,5,10] Combinations = 48 Amount invested = 20.00

Found id[1] num_combinations_invested = 30 True Value = 6.9541
Input id[1] Selections = [10],[1,2,4,5,7],[2,4],[1,4,10] Combinations = 30 Amount invested = 2.00

Found id[2] num_combinations_invested = 135 True Value = 451.5173
Input id[2] Selections = [4,6,8,10,16],[3,7,11],[3,4,9],[4,10,13] Combinations = 135 Amount invested = 6.00

Found id[3] num_combinations_invested = 1280 True Value = 729.7077
Input id[3] Selections = [4,10],[1,2,3,4,5,7,8,9,11,12],[2,3,4,6,7,8,9,10],[1,2,4,5,6,8,10,13] Combinations = 1280 Amount invested = 90.00

Found id[4] num_combinations_invested = 198 True Value = 2.5705
Input id[4] Selections = [4,10],[1,2,3,4,5,6,7,8,9,11,12],[2,3,4,5,6,7,8,9,10],[10] Combinations = 198 Amount invested = 16.00

Found id[5] num_combinations_invested = 240 True Value = 15.0752
Input id[5] Selections = [1,4,10,11],[1,3,5,7,11],[2,4,9],[1,4,8,10] Combinations = 240 Amount invested = 23.00

Found id[6] num_combinations_invested = 264 True Value = 2.0456
Input id[6] Selections = [1,3,4,6,8,10,11,12,13,14,15,16],[1,2,3,4,5,6,7,8,9,11,12],[2,4],[10] Combinations = 264 Amount invested = 17.00

Found id[7] num_combinations_invested = 36 True Value = 9.6082
Input id[7] Selections = [4,10,11],[4,7,9],[4,6],[4,10] Combinations = 36 Amount invested = 5.00

Found id[8] num_combinations_invested = 54 True Value = 11.6007
Input id[8] Selections = [10],[1,2,3,5,7,11],[2,4,9],[1,4,10] Combinations = 54 Amount invested = 6.00

Found id[9] num_combinations_invested = 36 True Value = 37.7052
Input id[9] Selections = [10],[5,7,11,12],[4,7,9],[1,4,10] Combinations = 36 Amount invested = 13.00

Found id[10] num_combinations_invested = 36 True Value = 101.8041
Input id[10] Selections = [10],[1,2,5,7],[4,6,9],[4,8,10] Combinations = 36 Amount invested = 30.00

Found id[11] num_combinations_invested = 320 True Value = 4.4304
Input id[11] Selections = [3,4,10,11],[2,3,4,7],[2,4,8,10],[1,2,4,8,10] Combinations = 320 Amount invested = 7.00

Found id[12] num_combinations_invested = 1188 True Value = 2.6312
Input id[12] Selections = [1,3,4,6,8,10,11,12,13,14,15],[1,2,3,4,5,7,8,9,11],[2,4,8,9],[1,4,10] Combinations = 1188 Amount invested = 30.00

Found id[13] num_combinations_invested = 144 True Value = 13.5990
Input id[13] Selections = [4,10,11,13],[1,7,8,11],[4,7,9],[2,8,10] Combinations = 144 Amount invested = 15.00

Found id[14] num_combinations_invested = 48 True Value = 6.6268
Input id[14] Selections = [1,4,10],[1,3,5,7],[2,3,4,9],[10] Combinations = 48 Amount invested = 10.00

Found id[15] num_combinations_invested = 16 True Value = 20.9398
Input id[15] Selections = [4,10],[1,7],[4,9],[1,10] Combinations = 16 Amount invested = 5.00

Found id[16] num_combinations_invested = 81 True Value = 1254.8929
Input id[16] Selections = [3,10,11],[3,5,7],[4,6,7],[4,10,13] Combinations = 81 Amount invested = 10.00

Found id[17] num_combinations_invested = 135 True Value = 1881.9291
Input id[17] Selections = [4,10,11],[3,5,7,9,11],[2,4,9],[1,10,13] Combinations = 135 Amount invested = 25.00

Found id[18] num_combinations_invested = 1188 True Value = 1.0689
Input id[18] Selections = [1,3,4,6,8,10,11,12,13,14,15,16],[1,2,3,4,5,6,7,8,9,11,12],[2,3,4,5,6,7,8,9,10],[10] Combinations = 1188 Amount invested = 40.00

Found id[19] num_combinations_invested = 120 True Value = 0.8652
Input id[19] Selections = [4,10,11,15],[1,4,5,7,11],[4,6,9],[4,10] Combinations = 120 Amount invested = 1.50

Found id[20] num_combinations_invested = 180 True Value = 1016.7092
Input id[20] Selections = [3,4,10],[1,3,7,11,12],[4,5,9,10],[1,10,13] Combinations = 180 Amount invested = 18.00

Found id[21] num_combinations_invested = 1620 True Value = 222.5515
Input id[21] Selections = [1,3,4,10,11,13],[1,2,3,5,6,7,8,9,11],[2,4,6,7,9],[1,2,4,8,10,13] Combinations = 1620 Amount invested = 35.00

Found id[22] num_combinations_invested = 3087 True Value = 175.9533
Input id[22] Selections = [1,3,4,10,11,12,13],[1,2,3,4,5,7,8,9,11],[2,3,4,5,7,8,9],[1,2,4,5,8,10,13] Combinations = 3087 Amount invested = 52.50

Found id[23] num_combinations_invested = 24 True Value = 28.8387
Input id[23] Selections = [3,4,10],[5,7],[4,7],[4,10] Combinations = 24 Amount invested = 10.00

Found id[24] num_combinations_invested = 105 True Value = 13.9188
Input id[24] Selections = [10],[1,2,3,4,5,7,11],[2,4,6,7,9],[1,4,10] Combinations = 105 Amount invested = 14.00

Found id[25] num_combinations_invested = 600 True Value = 1029.7273
Input id[25] Selections = [3,10,11,12],[1,2,5,7,11],[2,4,6,7,9],[1,2,4,5,10,13] Combinations = 600 Amount invested = 60.00

Found id[26] num_combinations_invested = 256 True Value = 876.5668
Input id[26] Selections = [3,10,11,12],[1,2,7,11],[2,4,6,9],[1,4,10,13] Combinations = 256 Amount invested = 22.00

Found id[27] num_combinations_invested = 126 True Value = 1144.8127
Input id[27] Selections = [10],[1,2,3,5,7,8,11],[2,4,6],[1,4,5,8,10,13] Combinations = 126 Amount invested = 14.00

Found id[28] num_combinations_invested = 96 True Value = 25.4478
Input id[28] Selections = [3,10],[1,2,7,12],[4,6,7,10],[4,8,10] Combinations = 96 Amount invested = 20.00

Found id[29] num_combinations_invested = 36 True Value = 32.6439
Input id[29] Selections = [10],[2,5,7],[4,7,9],[2,4,7,10] Combinations = 36 Amount invested = 8.00

Found id[30] num_combinations_invested = 72 True Value = 18.6079
Input id[30] Selections = [3,10,11,12],[2,7,9],[2,4,9],[1,10] Combinations = 72 Amount invested = 20.00

Found id[31] num_combinations_invested = 1375 True Value = 1028.1129
Input id[31] Selections = [1,3,4,10,11],[1,2,3,4,5,6,7,8,9,11,12],[2,4,6,7,9],[1,2,4,10,13] Combinations = 1375 Amount invested = 138.00

Found id[32] num_combinations_invested = 36 True Value = 13.2536
Input id[32] Selections = [3,4,10],[2,3,4,7],[4,6,7],[10] Combinations = 36 Amount invested = 15.00

Found id[33] num_combinations_invested = 660 True Value = 3.1637
Input id[33] Selections = [3,4,10,11],[1,2,3,4,5,6,7,8,9,11,12],[2,4,6,7,9],[1,4,10] Combinations = 660 Amount invested = 20.00

Found id[34] num_combinations_invested = 36 True Value = 8.3246
Input id[34] Selections = [10,13],[7,11],[2,4,10],[1,8,10] Combinations = 36 Amount invested = 2.50

Found id[35] num_combinations_invested = 36 True Value = 706.8282
Input id[35] Selections = [10,13],[4,7],[4,7,9],[7,8,13] Combinations = 36 Amount invested = 2.50

Found id[36] num_combinations_invested = 960 True Value = 535.7727
Input id[36] Selections = [1,4,10,14],[1,2,3,5,6,7,8,11],[2,4,5,6,8],[1,2,4,8,10,13] Combinations = 960 Amount invested = 50.00

Found id[37] num_combinations_invested = 900 True Value = 342.2444
Input id[37] Selections = [1,3,4,10,11,12],[3,4,5,7,9,11],[2,4,7,9,10],[2,5,8,10,13] Combinations = 900 Amount invested = 30.00

Found id[38] num_combinations_invested = 54 True Value = 20.8945
Input id[38] Selections = [4,10],[1,2,7],[4,7,9],[1,2,10] Combinations = 54 Amount invested = 10.00

Found id[39] num_combinations_invested = 200 True Value = 256.1193
Input id[39] Selections = [10,11],[5,7,8,9,11],[2,4,6,9],[1,2,7,10,13] Combinations = 200 Amount invested = 5.00

Found id[40] num_combinations_invested = 400 True Value = 179.2835
Input id[40] Selections = [1,3,10,11],[5,7,8,9,11],[2,4,6,9],[1,2,7,10,13] Combinations = 400 Amount invested = 7.00

Found id[41] num_combinations_invested = 360 True Value = 1422.7524
Input id[41] Selections = [4,10,11],[1,2,3,5,7,11],[2,3,4,9],[1,2,4,10,13] Combinations = 360 Amount invested = 50.00

Found id[42] num_combinations_invested = 12 True Value = 69.6048
Input id[42] Selections = [10],[7,11],[4,9],[1,4,10] Combinations = 12 Amount invested = 8.00

Found id[43] num_combinations_invested = 18 True Value = 2823.4020
Input id[43] Selections = [10],[1,7,11],[4,9],[1,10,13] Combinations = 18 Amount invested = 5.00

Found id[44] num_combinations_invested = 400 True Value = 5.8285
Input id[44] Selections = [1,4,10,11],[1,5,7,9,11],[2,4,5,7,9],[1,5,7,10] Combinations = 400 Amount invested = 16.00

Found id[45] num_combinations_invested = 120 True Value = 52.4491
Input id[45] Selections = [4,10,11],[1,2,3,7,11],[2,4],[1,4,8,10] Combinations = 120 Amount invested = 40.00

Found id[46] num_combinations_invested = 180 True Value = 41.6724
Input id[46] Selections = [10],[1,2,3,5,7,11],[2,4,6,7,9],[1,2,4,5,8,10] Combinations = 180 Amount invested = 30.00

Found id[47] num_combinations_invested = 192 True Value = 530.6341
Input id[47] Selections = [4,10,11,12],[1,3,5,7],[2,4,9],[1,4,10,13] Combinations = 192 Amount invested = 10.00

Found id[48] num_combinations_invested = 108 True Value = 59.1287
Input id[48] Selections = [4,10,11],[4,5,7,11],[3,4,9],[4,5,10] Combinations = 108 Amount invested = 55.00

Found id[49] num_combinations_invested = 81 True Value = 4.5107
Input id[49] Selections = [4,10,11],[5,7,11],[2,4,9],[1,4,10] Combinations = 81 Amount invested = 3.50

Found id[50] num_combinations_invested = 180 True Value = 5.3002
Input id[50] Selections = [1,3,4,7,10],[1,2,3,4,5,6,7,8,9,10,11,12],[2,4,9],[10] Combinations = 180 Amount invested = 15.00

Found id[51] num_combinations_invested = 396 True Value = 5.7005
Input id[51] Selections = [10,11],[1,2,3,4,5,6,7,8,9,11,12],[3,4,6,7,8,9],[1,2,10] Combinations = 396 Amount invested = 20.00

Found id[52] num_combinations_invested = 660 True Value = 4.1803
Input id[52] Selections = [4,10,11,14],[1,2,3,4,5,6,7,8,9,11,12],[2,4,9],[1,2,4,5,10] Combinations = 660 Amount invested = 14.00

Found id[53] num_combinations_invested = 504 True Value = 1.5779
Input id[53] Selections = [1,3,4,6,8,10,11,12,13,14,15,16],[1,2,3,5,7,11],[2,3,4,5,6,7,9],[10] Combinations = 504 Amount invested = 25.00

Found id[54] num_combinations_invested = 120 True Value = 5.5817
Input id[54] Selections = [3,4,10,11,13],[1,2,3,5,7,11],[2,4],[1,10] Combinations = 120 Amount invested = 10.00

Found id[55] num_combinations_invested = 432 True Value = 117.3517
Input id[55] Selections = [4,10],[1,2,3,5,6,7,9,11,12],[2,4,7,8,9,10],[1,4,10,13] Combinations = 432 Amount invested = 5.00

Found id[56] num_combinations_invested = 132 True Value = 10.1519
Input id[56] Selections = [10],[1,2,3,4,5,6,7,8,9,11,12],[3,4,9],[1,4,6,10] Combinations = 132 Amount invested = 10.00

Found id[57] num_combinations_invested = 192 True Value = 17.0564
Input id[57] Selections = [3,10,11,13],[3,7,8,9],[4,6,9],[2,4,8,10] Combinations = 192 Amount invested = 19.50

Found id[58] num_combinations_invested = 315 True Value = 17.7407
Input id[58] Selections = [10,11,12],[1,4,5,7,11],[2,4,9],[1,2,4,5,6,8,10] Combinations = 315 Amount invested = 20.00

Found id[59] num_combinations_invested = 60 True Value = 57.6845
Input id[59] Selections = [10,11],[1,2,3,7,11],[4,9,10],[4,10] Combinations = 60 Amount invested = 50.00

Found id[60] num_combinations_invested = 48 True Value = 5532.5449
Input id[60] Selections = [10],[3,5,7,9],[4,7,9],[2,4,10,13] Combinations = 48 Amount invested = 26.00

Found id[61] num_combinations_invested = 891 True Value = 221.7695
Input id[61] Selections = [10],[1,2,3,4,5,6,7,8,9,11,12],[2,3,4,5,6,7,8,9,10],[1,2,4,5,6,7,8,10,13] Combinations = 891 Amount invested = 19.00

Found id[62] num_combinations_invested = 990 True Value = 0.6426
Input id[62] Selections = [1,3,4,8,10,11,12,13,14,16],[1,2,3,4,5,6,7,8,9,11,12],[2,3,4,5,6,7,8,9,10],[10] Combinations = 990 Amount invested = 20.00

Found id[63] num_combinations_invested = 72 True Value = 2860.2948
Input id[63] Selections = [10],[1,2,4,5,7,11],[2,4],[2,4,7,8,10,13] Combinations = 72 Amount invested = 20.00

Found id[64] num_combinations_invested = 2016 True Value = 128.1999
Input id[64] Selections = [1,3,4,8,10,11],[1,2,3,5,7,8,11],[2,3,4,6,7,9],[1,2,4,6,8,10,12,13] Combinations = 2016 Amount invested = 25.00

Found id[65] num_combinations_invested = 144 True Value = 7.3537
Input id[65] Selections = [10,11],[1,2,3,5,7,11],[2,4,9],[1,4,5,10] Combinations = 144 Amount invested = 7.00

Found id[66] num_combinations_invested = 90 True Value = 564.3966
Input id[66] Selections = [4,10],[3,7,11],[2,4,6,9,10],[4,10,13] Combinations = 90 Amount invested = 5.00

Found id[67] num_combinations_invested = 8 True Value = 18997.3142
Input id[67] Selections = [10],[4,7],[4,9],[10,13] Combinations = 8 Amount invested = 15.00

Found id[68] num_combinations_invested = 432 True Value = 10.5042
Input id[68] Selections = [4,10,11,16],[1,2,5,7,11,12],[2,4,5,7,8,9],[1,4,10] Combinations = 432 Amount invested = 43.50

Found id[69] num_combinations_invested = 72 True Value = 14.4930
Input id[69] Selections = [4,10,11],[1,5,7,11],[4,9],[1,4,10] Combinations = 72 Amount invested = 10.00

Found id[70] num_combinations_invested = 81 True Value = 125.0551
Input id[70] Selections = [10,11,13],[3,7,8],[4,5,9],[1,10,13] Combinations = 81 Amount invested = 1.00

Found id[71] num_combinations_invested = 90 True Value = 27.8970
Input id[71] Selections = [10,11],[1,3,5,7,11],[2,4,10],[1,4,8] Combinations = 90 Amount invested = 20.00

Found id[72] num_combinations_invested = 36 True Value = 31.9630
Input id[72] Selections = [3,10],[1,5,7],[4,9],[2,4,10] Combinations = 36 Amount invested = 10.00

Found id[73] num_combinations_invested = 252 True Value = 4.7500
Input id[73] Selections = [3,4,10],[1,2,3,5,7,9,12],[4,5,7,9],[1,8,10] Combinations = 252 Amount invested = 10.00

Found id[74] num_combinations_invested = 640 True Value = 5.2055
Input id[74] Selections = [3,4,10,11,13],[1,2,3,5,7,8,9,12],[4,5,7,9],[1,5,8,10] Combinations = 640 Amount invested = 20.00

Found id[75] num_combinations_invested = 144 True Value = 7.6477
Input id[75] Selections = [4,10,11],[1,2,3,5,7,11],[4,9],[1,4,8,10] Combinations = 144 Amount invested = 7.00

Found id[76] num_combinations_invested = 54 True Value = 12.4030
Input id[76] Selections = [10,11,12],[3,7,11],[4,6,7],[1,10] Combinations = 54 Amount invested = 10.00

Found id[77] num_combinations_invested = 10 True Value = 6.3627
Input id[77] Selections = [10],[1,3,5,7,11],[4,9],[10] Combinations = 10 Amount invested = 2.00

Found id[78] num_combinations_invested = 48 True Value = 55.8699
Input id[78] Selections = [10,12],[1,7,11],[4,10],[1,4,6,10] Combinations = 48 Amount invested = 20.00

Found id[79] num_combinations_invested = 72 True Value = 15.9756
Input id[79] Selections = [10,11],[1,5,7,11],[4,7,9],[2,4,10] Combinations = 72 Amount invested = 10.00

Found id[80] num_combinations_invested = 256 True Value = 1194.9473
Input id[80] Selections = [1,4,10,11],[3,5,7,11],[2,4,6,9],[1,4,10,13] Combinations = 256 Amount invested = 30.00

Found id[81] num_combinations_invested = 720 True Value = 4.5932
Input id[81] Selections = [1,3,4,10,11],[1,2,3,5,7,11],[2,3,4,5,7,8],[1,2,8,10] Combinations = 720 Amount invested = 20.00

Found id[82] num_combinations_invested = 315 True Value = 624.1180
Input id[82] Selections = [10],[1,2,3,4,5,7,9,11,12],[2,4,6,8,9],[1,2,4,5,8,10,13] Combinations = 315 Amount invested = 19.00

Found id[83] num_combinations_invested = 252 True Value = 817.9815
Input id[83] Selections = [10,11],[1,2,4,7,9,11,12],[2,4,9],[2,4,5,8,10,13] Combinations = 252 Amount invested = 20.00

Found id[84] num_combinations_invested = 240 True Value = 13.9980
Input id[84] Selections = [4,10,11],[1,3,5,7,11],[2,4,7,9],[2,4,8,10] Combinations = 240 Amount invested = 20.00
Found id[105] num_combinations_invested = 72 True Value = 1429.2616
Input id[105] Selections = [10],[1,5,7,11],[4,6,9],[1,2,4,5,10,13] Combinations = 72 Amount invested = 10.00

Found id[106] num_combinations_invested = 256 True Value = 159.1901
Input id[106] Selections = [1,4,10,11],[5,7,8,11],[2,4,6,9],[1,4,10,13] Combinations = 256 Amount invested = 4.00

Found id[107] num_combinations_invested = 80 True Value = 770.0201
Input id[107] Selections = [10],[7,8,9,12],[4,7,9,10],[1,5,8,10,13] Combinations = 80 Amount invested = 6.00

Found id[108] num_combinations_invested = 64 True Value = 104.2812
Input id[108] Selections = [3,10],[1,2,7,9],[2,4],[1,5,8,10] Combinations = 64 Amount invested = 40.00

Found id[109] num_combinations_invested = 64 True Value = 46.9665
Input id[109] Selections = [10],[1,5,7,11],[2,4,7,9],[1,2,4,10] Combinations = 64 Amount invested = 20.00

Found id[110] num_combinations_invested = 120 True Value = 1.0594
Input id[110] Selections = [3,4,10,11,13],[1,2,3,5,6,7,9,11],[4,6,7],[10] Combinations = 120 Amount invested = 4.00

Found id[111] num_combinations_invested = 60 True Value = 19.1755
Input id[111] Selections = [10,11],[3,4,5,7,11],[4,6],[2,4,10] Combinations = 60 Amount invested = 10.00

Found id[112] num_combinations_invested = 180 True Value = 112.4640
Input id[112] Selections = [4,10],[2,3,5,6,7,8,9,11,12],[3,4,8,9,10],[10,13] Combinations = 180 Amount invested = 2.00

Found id[113] num_combinations_invested = 192 True Value = 32.6305
Input id[113] Selections = [1,4,10,11],[2,3,5,7],[2,4,6,9],[1,4,10] Combinations = 192 Amount invested = 60.00

Found id[114] num_combinations_invested = 162 True Value = 7.0898
Input id[114] Selections = [10],[1,2,3,5,7,11],[2,3,4,5,6,7,8,9,10],[1,4,10] Combinations = 162 Amount invested = 11.00

Found id[115] num_combinations_invested = 700 True Value = 5.7920
Input id[115] Selections = [4,10,11,12],[1,2,3,4,5,7,9],[2,3,4,6,9],[1,2,4,8,10] Combinations = 700 Amount invested = 20.00

Found id[116] num_combinations_invested = 81 True Value = 11.9325
Input id[116] Selections = [10,11,14],[2,7,9],[4,6,9],[1,6,10] Combinations = 81 Amount invested = 10.00

Found id[117] num_combinations_invested = 12 True Value = 174.0228
Input id[117] Selections = [10],[1,7],[4,7],[1,4,10] Combinations = 12 Amount invested = 20.00

Found id[118] num_combinations_invested = 72 True Value = 20.1424
Input id[118] Selections = [6,10],[1,5,6,7],[4,6,9],[1,6,10] Combinations = 72 Amount invested = 15.00

Found id[119] num_combinations_invested = 240 True Value = 49.3583
Input id[119] Selections = [1,3,10,11],[1,2,3,7,11],[2,4,7,9],[1,2,4] Combinations = 240 Amount invested = 100.00

Found id[120] num_combinations_invested = 6 True Value = 31.8139
Input id[120] Selections = [10],[1,2,3,5,7,11],[4],[10] Combinations = 6 Amount invested = 6.00

Found id[121] num_combinations_invested = 48 True Value = 635.4433
Input id[121] Selections = [1,4,10,11],[5,7],[3,4],[1,10,13] Combinations = 48 Amount invested = 3.00

Found id[122] num_combinations_invested = 500 True Value = 2.2989
Input id[122] Selections = [1,4,10,11],[1,4,5,7,11],[2,4,6,7,8],[1,2,5,7,10] Combinations = 500 Amount invested = 6.00

Found id[123] num_combinations_invested = 80 True Value = 46.9665
Input id[123] Selections = [10,11],[1,5,6,7,11],[4,9],[1,2,4,10] Combinations = 80 Amount invested = 25.00

Found id[124] num_combinations_invested = 144 True Value = 10.8712
Input id[124] Selections = [1,4,10,11],[3,4,7],[2,4,6,10],[1,4,12] Combinations = 144 Amount invested = 20.00

Found id[125] num_combinations_invested = 48 True Value = 27.9152
Input id[125] Selections = [10,12],[1,2,3,5,7,11],[2,4],[1,10] Combinations = 48 Amount invested = 20.00

Found id[126] num_combinations_invested = 144 True Value = 352.7981
Input id[126] Selections = [3,4,10,11],[2,5,7,8],[4,8,9],[1,10,13] Combinations = 144 Amount invested = 5.00

Found id[127] num_combinations_invested = 12 True Value = 2.6501
Input id[127] Selections = [10,13],[2,3,7],[4,8],[10] Combinations = 12 Amount invested = 1.00

Found id[128] num_combinations_invested = 96 True Value = 21.7501
Input id[128] Selections = [4,10],[3,5,7,11],[4,7,9,10],[1,4,10] Combinations = 96 Amount invested = 20.00

Found id[129] num_combinations_invested = 60 True Value = 5.3002
Input id[129] Selections = [1,4,10,11,13],[1,3,5,7],[2,4,9],[10] Combinations = 60 Amount invested = 10.00

Found id[130] num_combinations_invested = 1188 True Value = 0.3213
Input id[130] Selections = [1,3,4,6,8,10,11,12,13,14,15,16],[1,2,3,4,5,6,7,8,9,11,12],[2,3,4,5,6,7,8,9,10],[10] Combinations = 1188 Amount invested = 12.00

Found id[131] num_combinations_invested = 108 True Value = 27.7571
Input id[131] Selections = [3,10,14],[3,7,9,11],[4,6,9],[1,8,10] Combinations = 108 Amount invested = 25.00

Found id[132] num_combinations_invested = 810 True Value = 768.5366
Input id[132] Selections = [10],[1,2,3,4,5,7,8,9,11,12],[2,3,4,5,6,7,8,9,10],[1,2,4,5,6,8,10,12,13] Combinations = 810 Amount invested = 60.00

Found id[133] num_combinations_invested = 720 True Value = 2.2078
Input id[133] Selections = [1,3,4,8,10,11,12,14],[1,2,3,4,5,7,8,9,11,12],[2,3,4,5,6,7,8,9,10],[10] Combinations = 720 Amount invested = 50.00

Found id[134] num_combinations_invested = 256 True Value = 58.7044
Input id[134] Selections = [3,4,10,13],[1,2,5,7],[2,3,4,9],[1,2,4,10] Combinations = 256 Amount invested = 100.00

Found id[135] num_combinations_invested = 490 True Value = 422.2887
Input id[135] Selections = [1,3,4,10,11],[1,2,3,5,7,8,11],[2,4],[1,2,4,5,8,10,13] Combinations = 490 Amount invested = 20.00

Found id[136] num_combinations_invested = 48 True Value = 14.4193
Input id[136] Selections = [3,10],[1,3,5,7,9,11],[3,4],[4,10] Combinations = 48 Amount invested = 10.00

Found id[137] num_combinations_invested = 48 True Value = 2110.4749
Input id[137] Selections = [4,10,11],[1,3,5,7],[4,9],[10,13] Combinations = 48 Amount invested = 10.00

Found id[138] num_combinations_invested = 480 True Value = 4.6890
Input id[138] Selections = [3,4,10,11,14],[1,2,3,5,7,11],[2,4,6,9],[1,2,4,10] Combinations = 480 Amount invested = 15.00

Found id[139] num_combinations_invested = 12 True Value = 132.5559
Input id[139] Selections = [10],[1,2,3,5,7,11],[4,9],[10] Combinations = 12 Amount invested = 50.00

Found id[140] num_combinations_invested = 16 True Value = 7.9534
Input id[140] Selections = [4,10],[1,5,7,11],[4,9],[10] Combinations = 16 Amount invested = 4.00

Found id[141] num_combinations_invested = 10 True Value = 63.6278
Input id[141] Selections = [10],[1,2,3,5,7],[4,9],[10] Combinations = 10 Amount invested = 20.00

Found id[142] num_combinations_invested = 16 True Value = 10.5949
Input id[142] Selections = [10,11],[7,8],[4,9],[8,10] Combinations = 16 Amount invested = 2.00

Found id[143] num_combinations_invested = 6 True Value = 63.6278
Input id[143] Selections = [10],[1,5,7],[4,9],[10] Combinations = 6 Amount invested = 12.00

Found id[144] num_combinations_invested = 400 True Value = 30.6388
Input id[144] Selections = [1,4,10,11],[2,3,5,7,11],[2,4,7,9],[1,4,5,8,10] Combinations = 400 Amount invested = 60.00

Found id[145] num_combinations_invested = 500 True Value = 3.0484
Input id[145] Selections = [3,4,10,11],[2,3,7,11,12],[2,3,4,6,9],[1,2,4,8,10] Combinations = 500 Amount invested = 7.50

Found id[146] num_combinations_invested = 40 True Value = 1.1930
Input id[146] Selections = [3,10],[2,3,7,11,12],[3,4,6,9],[10] Combinations = 40 Amount invested = 1.50

Found id[147] num_combinations_invested = 400 True Value = 10.2127
Input id[147] Selections = [3,10,11,13],[2,5,7,8,11],[2,4,6,9],[1,4,5,8,10] Combinations = 400 Amount invested = 20.00

Found id[148] num_combinations_invested = 81 True Value = 4.1765
Input id[148] Selections = [4,10,13],[1,3,7],[2,4,9],[1,2,10] Combinations = 81 Amount invested = 3.00

Found id[149] num_combinations_invested = 96 True Value = 17.4487
Input id[149] Selections = [1,4,10,11],[1,3,6,7],[2,4,7],[1,10] Combinations = 96 Amount invested = 25.00

Found id[150] num_combinations_invested = 72 True Value = 8.8600
Input id[150] Selections = [8,10],[7,8,9,11],[4,6,7],[4,5,10] Combinations = 72 Amount invested = 5.50

Found id[151] num_combinations_invested = 320 True Value = 35.2135
Input id[151] Selections = [1,3,4,10],[1,2,3,7,11],[2,4,6,9],[1,2,4,10] Combinations = 320 Amount invested = 75.00

Found id[152] num_combinations_invested = 539 True Value = 105.3564
Input id[152] Selections = [10],[1,2,3,4,5,6,7,8,9,11,12],[2,3,4,6,7,8,9],[1,2,4,5,7,10,13] Combinations = 539 Amount invested = 5.50

Found id[153] num_combinations_invested = 528 True Value = 0.7198
Input id[153] Selections = [1,3,4,6,8,10,11,12,13,14,15,16],[1,2,3,4,5,6,7,8,9,11,12],[4,9],[4,10] Combinations = 528 Amount invested = 5.50

Found id[154] num_combinations_invested = 120 True Value = 4251.1965
Input id[154] Selections = [10,11],[1,2,5,7,11],[2,4,9],[1,4,10,13] Combinations = 120 Amount invested = 50.00

Found id[155] num_combinations_invested = 144 True Value = 10.8698
Input id[155] Selections = [1,4,10,11],[1,3,5,7],[2,4,7],[1,4,10] Combinations = 144 Amount invested = 15.00

Found id[156] num_combinations_invested = 960 True Value = 7.0109
Input id[156] Selections = [3,4,10,11],[1,2,3,4,5,7,9,11],[2,3,4,7,8,9],[1,2,4,7,10] Combinations = 960 Amount invested = 37.00

Found id[157] num_combinations_invested = 28 True Value = 35.8959
Input id[157] Selections = [10],[1,2,3,5,7,9,11],[4,9],[1,10] Combinations = 28 Amount invested = 15.00

Found id[158] num_combinations_invested = 60 True Value = 17.3959
Input id[158] Selections = [10],[1,2,3,7,11],[2,4,7,9],[1,4,10] Combinations = 60 Amount invested = 10.00

Found id[159] num_combinations_invested = 400 True Value = 1.5397
Input id[159] Selections = [4,8,10,11,15],[1,3,7,8,9],[2,4,7,8],[4,7,8,10] Combinations = 400 Amount invested = 4.00

Found id[160] num_combinations_invested = 24 True Value = 13.9576
Input id[160] Selections = [10],[2,3,7,11],[4,9,10],[1,10] Combinations = 24 Amount invested = 5.00

Found id[161] num_combinations_invested = 150 True Value = 1372.6267
Input id[161] Selections = [10],[1,2,5,7,11],[2,4,6,7,9],[1,2,4,5,10,13] Combinations = 150 Amount invested = 20.00

Found id[162] num_combinations_invested = 384 True Value = 1062.2888
Input id[162] Selections = [3,4,10,11],[2,3,5,7,11,12],[2,4,7,9],[1,4,10,13] Combinations = 384 Amount invested = 40.00

Found id[163] num_combinations_invested = 560 True Value = 182.5824
Input id[163] Selections = [3,4,10,11],[1,2,3,5,7,9,11],[3,4,6,9],[1,4,8,10,13] Combinations = 560 Amount invested = 10.00

@yadav26
Copy link
Author

yadav26 commented Apr 9, 2020

2020-04-08 13:19:12,515 INFO [http-nio-7001-exec-10] a.c.c.q.c.c.CashOutCalculator [CashOutCalculator.java:27] Starting Offer Calculation
2020-04-08 13:19:12,517 INFO [http-nio-7001-exec-10] a.c.c.q.c.c.CashOutCalculator [CashOutCalculator.java:41] Punter Selections: FlexiSelections{selectionList=[[1, 2, 3, 4, 6, 7], [1, 2, 7, 9, 13], [1, 2, 4, 5, 8, 9, 10, 12, 13, 17, 18, 19, 20], [2]], combinationCount=390}
2020-04-08 13:19:12,517 INFO [http-nio-7001-exec-10] a.c.c.q.c.c.CashOutCalculator [CashOutCalculator.java:42] Paid-for Selections: FlexiSelections{selectionList=[[1, 2, 3, 4, 6, 7], [1, 2, 7, 9, 13], [1, 2, 4, 5, 8, 9, 10, 12, 13, 17, 18, 19, 20], [2]], combinationCount=390}
2020-04-08 13:19:12,517 INFO [http-nio-7001-exec-10] a.c.c.q.c.c.CashOutCalculator [CashOutCalculator.java:43] Live Selections: FlexiSelections{selectionList=[[6], [1], [18], [2]], combinationCount=1}
2020-04-08 13:19:12,518 INFO [http-nio-7001-exec-10] a.c.c.q.c.c.CashOutCalculator [CashOutCalculator.java:44] Effective pool total: 873594.488000
2020-04-08 13:19:12,518 INFO [http-nio-7001-exec-10] a.c.c.q.c.c.CashOutCalculator [CashOutCalculator.java:45] Functioning pool total: 873594.488000
2020-04-08 13:19:12,518 INFO [http-nio-7001-exec-10] a.c.c.q.c.c.CashOutCalculator [CashOutCalculator.java:46] Flexi Investment: 0.1282
2020-04-08 13:19:12,518 DEBUG [http-nio-7001-exec-10] a.c.c.q.c.c.CashOutCalculator [CashOutCalculator.java:169] Extrapolating stored collation of 170.606026 to 170.6060260000
2020-04-08 13:19:12,518 INFO [http-nio-7001-exec-10] a.c.c.q.c.c.CashOutCalculator [CashOutCalculator.java:200] True probability for Leg 4 runner 2 are: 0.41322312
2020-04-08 13:19:12,518 INFO [http-nio-7001-exec-10] a.c.c.q.c.c.CashOutCalculator [CashOutCalculator.java:98] Combo: 6 1 18 2, Collation : 170.6060260000, Potential Div: 5120.5, Potential Return: 656.44810, Probability: 0.413223, True Value: 271.2594
2020-04-08 13:19:12,519 INFO [http-nio-7001-exec-10] a.c.c.q.c.c.CashOutCalculator [CashOutCalculator.java:58] Total Value: 271.2594

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment