Pages:
Actions
  • #1 by Fieldypt on 19 Jun 2013
  • What is the expression for I bet the same amount as the previous bet back plus I want to win. There should be something like: (init_bet + bm_backa)/(back_price-1)
  • #2 by mcbee on 19 Jun 2013
  • hi
    (init_bet+hist_1_backa)/(back_price-1)

    init_bet = your set bet amount
    hist_1_backa = the amount of the last settled back bet

    this needs the last bet to be settled


    mcbee
  • #3 by Fieldypt on 20 Jun 2013
  • Thanks, but what I want is to bet the same market without him even having settled
  • #4 by mcbee on 20 Jun 2013
  • are you betting on the same selection or a new selection


    mcbee
  • #5 by Fieldypt on 20 Jun 2013
  • are you betting on the same selection or a new selection


    mcbee

    Is a New selection
  • #6 by mcbee on 20 Jun 2013
  • with it been a new selection there is no variable for the amount that is bet on another selection.
    there are a few ways to work with it.
    you would have to put all the selections bm amounts,like this
    (init_bet+s_1_bm_backa+s_2_bm_backa+s_3_bm_backa+(up to the maximum number of selections))
    or you could use the balance and funds available, like this
    (init_bet+IF(test_mode=0,balance-total_funds,test_balance-test_funds))
    this will place your initial bet amount plus any other bet amount that has been placed.


    mcbee
  • #7 by Fieldypt on 21 Jun 2013
  • Thank you, it worked. Now one more question, is there any way to bet on the outcome following in CS? Example 2-1 is the game and I bet on 2-2 and 3-1.
  • #8 by mcbee on 21 Jun 2013
  • you would have to use market_score1 and market_score2 for the score 2-1, like this
    and selections trigger expression market_score1 is equal to 2
    and selections trigger expression market_score2 is equal to 1
     then for the selection you would use the index number like this
    and selections index is in list  11,14

    so if the score is 2-1 then place a bet on index 11 (2-2) and 14(3-1)


    mcbee
Pages:
Actions