Pages:
Actions
  • #1 by londolozi on 21 Dec 2017
  • The trigger is a arbitrage concept.
    I place a back bet with a specific stake of $20.4 (bm_backa)

    1. Lay at 'x' ticks lower {eg r_ticks(bm_backp,-20)} than bm_backp, identify selection by bm_backa = 20.4
    2. Wait 3 refreshes
    3. If unmatched Cancel Lay, go to '5.'
    4. If matched, stop
    5. Go back to '1.' except now 'x' = 'x' -1 {if x = -3 therefore plus 3 or 3 ticks > bm_backp} leave Lay bet in market as 'Keep'

    where x = (time until event_start/5 refreshes)
    once per market
    once per selection
    idle rate = 2 secs
    Market = is idle or Suspended

    Thank you 
  • #2 by Oxa (WellDoneSoft) on 02 Jan 2018
  • Hello!

    Quote
    identify selection by bm_backa = 20.4

    What if only a part of your bet is matched, so bm_backa will be different? Should the laying trigger wait until the entire bet is matched?
  • #3 by londolozi on 04 Jan 2018
  • Yes, leave it yo wait for entire amount to match.
    I want to use the total amount as the identfier
  • #4 by Oxa (WellDoneSoft) on 08 Jan 2018
  • Hello!

    Please see your triggers attached.

    Use the constants to set the size of the back bet, the number of ticks and the waiting time.

    You did not specify the size of the lay bet, so I assumed you need to green up/distribute loss.

    There is one comment to your trigger conditions, correct me if I am wrong:

    Quote
    5. Go back to '1.' except now 'x' = 'x' -1 {if x = -3 therefore plus 3 or 3 ticks > bm_backp} leave Lay bet in market as 'Keep'

    Since x =  (time until event_start/5 refreshes), it will be getting lesser and lesser as the time to the start approaches. Are you sure you want to accelerate its decrease by deducting another 1 point from this number? I did not implement this condition so far, try the attached triggers and let me know if you want to pursue the original condition.

    Make sure you have tested the triggers in Test Mode.

  • #5 by londolozi on 08 Jan 2018
  • Quote
    Are you sure you want to accelerate its decrease by deducting another 1 point from this number?
    Yes, that is correct.
    Thus, if there is 1 minute to go until event_start the frequency of offers will be quick. (More volatility closer to the 'off', if the horse is being steamed it's price will collapse quickly, in my opinion)
    Compared to say 5 minutes to go, its price may trend down but there will be opposing fluctuations.

    Thank you Oxa. I will report back soon.
Pages:
Actions