Pages:
Actions
  • #1 by Oxa (WellDoneSoft) on 04 Feb 2014
  • Copied from the support:

    Quote
    I wondered if you could help with a tennis trigger idea i have. I've put it
    up in the forum but doesn't seem to be of much interest.

    What I'm wanting, if possible, is to have a lay bet put into the market
    dependent on what price the player started at in a certain price range and
    to have triggers set for these price ranges.



    Eg if starting price for Player A is between 1.50 I want a lay bet to be put
    into the market at 1.20 and then be able to replicate this trigger across
    different price ranges.



    I would need these also to be relational to the two players in that if the
    favourite (Player A) starts off at 1.50 then a trigger will place a lay bet
    at 1.20 (if the price gets there) and if Player B starts at 2.90 then a
    trigger will place a lay bet at 1.50 (if the price gets there). I only need
    these triggers to work in the first set. So which ever player's trigger is
    activated that is it for the match. No more lay bets to be placed.

    Now comes the important bit.

    I need a stop on these lay bets to be exactly 5 ticks. When the lay bet
    trigger is activated on whichever player hits their range I need the loss to
    be hedged if it hits 5 ticks lower.


    Another important bit!

    I need to be able to set a target price for each price range in terms of a
    green up point. Eg if Player A lay bet trigger was activated and a lay bet
    went in at 1.20 I would want a trigger to activate a hedge back bet at 1.50.
    Again I need to be able to have different hedge triggers available for
    different price ranges. Eg if Player B started at 2.90 and their lay bet was
    activated at 1.50 I would want a back hedge bet setting for 2.30.

    All help gratefully received
  • #2 by MarkV on 05 Feb 2014
  • Hi
    This trigger will be feasible because you only want to have one bet / green / stoploss per market and not concurrent bets over multiple ranges.

    Please provide the following info:
     
    What would be the maximum number of price ranges you require?

    Will these price ranges and target greenups need to be editable? I would prefer to "hard code" the ranges into the conditions rather than use many constants, but if you specify they must be editable, I will do it with constants.

    If the answer to the last is hard code, please provide the start and end prices for the ranges you require, as well as the related target prices e.g.

    Player 1 start price between 1.50 and 1.59
    lay at 1.20
    target greenup at 1.50
    stoploss at 1.15

    Player 1 start price between 1.60 and 1.80
    lay at 1.42
    target greenup at 1.65
    stoploss at 1.37

    ...etc.
    ...same for player 2

    thanks
Pages:
Actions