Pages:
Actions
  • #1 by alamatos on 25 Nov 2013
  • Good evening,

    I'm trying to make a trigger that makes a dutching bet between the draw and the 0-0 of the same soccer game.

    Well it goes wrong when it has to make a bet (having more than one game starting at the same time), cause it puts the valeu from different soccer games. How can i make it doing just from one match?

    Imagine having ten games starting at the same time, how can i make it doing the dutching with the correct values from the different games. 0-0 of tha game 1 and the draw value from the game 1, 0-0 of the game 2 and the draw value from the game 2.

    Thank you for any help.

    Best regards.
  • #2 by mcbee on 25 Nov 2013
  • hi
    i have added a new trigger to zero the variables at the start of every match.
    this way every matche will start with 0, then the new value will be recorded.


    mcbee
  • #3 by alamatos on 25 Nov 2013
  • Mcbee thank you very much for your reply.

    i already tested the trigger but it doesnt work properly. It makes the same mistakes. It doesn't make the dutching properly.

    I thought that it could be possible to make some expression that consolidate the values of a certain market. For example:

    value of 0-0: 17 @ market _parent_id
    value of draw: 3.5 @ market_parent_id

    And then make a dutching formula only with the values that have the same market_parent_id.

    I send you this trigger cause i made some adjustments.

    best regards.
  • #4 by mcbee on 25 Nov 2013
  • hi
    i have made more alterations to your trigger
    you had no condition to stop multiple betting in your correct score trigger.
    and your condition for the selections name containg 0-0 , made bets on every selection with 0 in it because you used contains, it should have been equals.
    ALSO you had "0-0" in your condition, it should have been "0 - 0" ,ALWAYS use the spaces between letters/words and numbers , if there are any.


    mcbee
  • #5 by alamatos on 25 Nov 2013
  • Thank you for the alterations, i made some of them but i didnt save..

    I tested the trigger on the games, Ajax Vs Barcelona and Arsenal Vs Marselha, and it does the following dutching:

    Ajax Vs Barcelona cs @ 17 - stake of 0.4 €
    Ajax Vs Barcelona mo @ 4.3 - stake of 1.6 €

    (perfect dutching)

    Arsenal Vs Marselha cs @ 17 - stake of 0.4 €
    Arsenal Vs Marselha mo @ 6.8 - stake of 1.43 €

    (wrong dutching)

    I didnt made any alterations on the last trigger that you sent me.

    Best regards.
  • #6 by mcbee on 25 Nov 2013
  • hi
    your calculation for the dutching was totaly wrong.
    i have altered your mistake.

    mcbee
  • #7 by alamatos on 25 Nov 2013
  • Thank you for your help mcbee.. :)

    I tested the trigger, and it does the following dutching:

    Ajax Vs Barcelona cs @ 17 - stake of 1.52 €
    Ajax Vs Barcelona mo @ 4.3 - stake of 0.33 €

    (wrong dutching)

    Arsenal Vs Marselha cs @ 22 - stake of 1.67 €
    Arsenal Vs Marselha mo @ 7 - stake of 0.48 €

    (wrong dutching)

    With this stakes i see that the trigger is making bets on the wrong markets. For example, the stake of 1.52 € on the cs should have a bet of 0.48 € on the MO of the same game. The trigger it applying the bets to the worng markets.

    Best regards.
  • #8 by mcbee on 25 Nov 2013
  • hi
    that was the oder that you had in your triggers, all i did was corect the fomulas in the triggers.
    i have reversed the order


    mcbee
  • #9 by alamatos on 25 Nov 2013
  • Thank you for your update mcbee.

    The results were:

    Ajax Vs Barcelona cs @ 17 - stake of 0.4 €
    Ajax Vs Barcelona mo @ 4.3 - stake of 1.6 €

    (perfect dutching)

    Arsenal Vs Marselha cs @ 22 - stake of 0.58 € ((7)/((7+17))*2)
    Arsenal Vs Marselha mo @ 7 - stake of 1.42 € ((17)/((17+7))*2)

    (wrong dutching)

    Teh secound game is doing the calculations with the wrong game. I dont know how to solve it..

    Best regards
  • #10 by mcbee on 25 Nov 2013
  • hi
    i am still working/testing the triggers.
    i will post the new one when i have fully tested it.


    mcbee
  • #11 by alamatos on 25 Nov 2013
  • Thank you very much for your help mcbee..

    Best regards
  • #12 by mcbee on 25 Nov 2013
  • hi
    i hope that i have got it correct.
    in the constants you can set
    bet amount
    time to place the bet before the stat time in minutes
    minimum draw price
    maximum draw price

    the triggers will place the dutch bet on the draw first then on the correct score, if this is not what you wanted then let me know what you need.

    please use test mode until you are happy with your settings

    mcbee

    download the trigger below
  • #13 by alamatos on 02 Dec 2013
  • Thank you very much mcbee..

    Best regards.
Pages:
Actions