Member Filters & Projects

71 Topics 1.2k Posts
  • 0 Votes
    4 Posts
    108 Views

    Script

    SOURCE_SPREADSHEET_ID = spreadsheet id

    Example: https://docs.google.com/spreadsheets/d/1fffffkLZZh8FtG6WCIQ--pmul4OWkWlSdevQDoBY1_I/edit#gid=345667

    Always save your script before running it after replacing the "Daily Qualifiers List" of the day.

    function customTrim(x) { return x.replace(/^\s+|\s+$/gm,''); } function importDataBasedOnRules() { // Get the source and target spreadsheets let sourceSpreadsheet = SpreadsheetApp.openById('SOURCE_SPREADSHEET_ID'); let targetSpreadsheet = SpreadsheetApp.getActiveSpreadsheet(); //assuming the script is bound to the target spreadsheet // Get the source sheet and its data let sourceSheet = sourceSpreadsheet.getSheets()[0]; // get the first sheet let sourceLastRow = sourceSheet.getLastRow(); let sourceLastCol = sourceSheet.getLastColumn(); // Fetch the displayed values from the source sheet let sourceRange = sourceSheet.getRange(2, 1, sourceLastRow-1, sourceLastCol); //get the range let rawValues = sourceRange.getDisplayValues(); //get displayed values including the format // Process the data: ignore certain columns and split race_date_time into race_date and race_time let values = rawValues.map(([strategyName, , , raceDateTime, courseName, raceType, going, horseName, selectionId]) => { let [raceDate, raceTime] = raceDateTime.split(' '); return [selectionId, raceDate, raceTime, courseName, horseName, raceType, going]; }); // Write the processed values into the target sheet for(let i = 0; i < values.length; i++) { let strategyName = customTrim(rawValues[i][0]); //fetch strategy name let targetSheet = targetSpreadsheet.getSheetByName(strategyName); //find the sheet with the same name if (targetSheet) { //if the sheet exists let targetLastRow = targetSheet.getLastRow(); let targetRange = targetSheet.getRange(targetLastRow+1, 1, 1, values[i].length); //set the range in the target sheet targetRange.setValues([values[i]]); //write the values } else { //if the sheet doesn't exist, handle the error (you can modify this part to fit your needs) Logger.log("The sheet for strategy " + strategyName + " does not exist in the target spreadsheet."); } } }
  • 1 Votes
    4 Posts
    205 Views

    @Paul-Foster

    Hi Paul - thanks for taking the time to reply.

    Dave P

  • 0 Votes
    2 Posts
    64 Views

    @Stephen-McIntyre hi mate select 'Betfair' 'Odds' then 'home' then choose your price 🙂

  • Potential Darts Strategy

    5 Votes
    32 Posts
    1k Views

    Night 16 results:

    Price threw first and won at 1.4 = -£1
    Aspinall threw first and won at 2.12 = £1.12
    Smith threw first and lost at 1.34 = £2.85
    MvG threw first and won at 1.4 = -£1

    Aspinall threw first and lost at 2.90 = -£1
    MvG v DvdB was a walkover, no bets.

    Price threw first and lost at 1.34 = £2.85

    Overall sixteenth night returns: £3.82

    League total return: £23.20

    And that's all folks! Only the playoffs to go which is a different format.

  • 1 Votes
    4 Posts
    267 Views

    @rachel-dawes Hi Rachel, ive only recently joined and just seen this post. If you haven't already worked it out this is how. On Guardian click list, then the page icon on the far left. you can add up to five automation rules columns and various others like nominations for multiple strategies. Hope this helps

  • 0 Votes
    3 Posts
    202 Views

    @darren-bennett probably worth putting in the bet Angel thread

  • Help to create a filter for Home Favorites

    0 Votes
    3 Posts
    334 Views

    I have tried to build this and can't find a way to get it the way exactly you want it.

    I see Adam has replied on this thread

    https://forum.betfairtradingcommunity.com/topic/222/football-software-and-ratings-support-thread

  • Full Time Trading-Income?

    0 Votes
    5 Posts
    655 Views

    @patrik-mellqvist I moved to quarterly - it was really good!!!

    I liked it

  • Ryans Split Stake O1.5 Strategy

    2 Votes
    2 Posts
    652 Views
  • 2 Votes
    3 Posts
    508 Views

    Yes I'd be very interested to know in more detail how your testing has gone on this and what it's revealed.

  • 0 Votes
    4 Posts
    543 Views

    @dan-peacey worth checking out the set and forget thread, I have some ELO stuff going on at the moment

  • Which Way Next??

    4 Votes
    30 Posts
    3k Views

    @paul-foster your work on this is really good. Superb strike rates on all three markets, especially the FHG. Hopefully your stats will withstand variance and remain more or less the same at 500/750 tested matches. You’ll have something nice and solid to really work with then.

  • Best Filter for finding Draws

    1 Votes
    3 Posts
    647 Views

    @eren-baris what is your strategy?

  • 1 Votes
    10 Posts
    1k Views

    @johnnys let me know how it goes I've never really had any success with BTTS, not that I've tried that hard to.

  • Anyone tried the Betfair API?

    1 Votes
    8 Posts
    860 Views

    @adam You might regret that offer 😂

  • Best filter for 1st half goals

  • John from the wirral

    1 Votes
    8 Posts
    987 Views

    @john-whitehead
    Hi still at very early start looking through everything

  • Filter help

    1 Votes
    3 Posts
    591 Views

    Hi Chris, that has done the trick, thank you.

  • 4 Votes
    13 Posts
    1k Views

    @darri Thanks for the pointers Darri. The O1.5 is an angle which I definitely want to improve on as I collect some more data. At present I'm using this as for SHG as long as the in play stats look good.

  • Filter use inplay stats

    1 Votes
    3 Posts
    559 Views

    @jez-rourke-pilott not live during the match but obviously we use inplay stats from previous games