Pages:
Actions
  • #1 by ifyesthenno on 03 Oct 2013
  • I want to trade only certain races, so I am searching the trigger condition/s for:

    1) till inclusive scheduled time 5:00 pm (the real-event-off or delays are non-relevant)
    2) only race distances less than 1.3m

    1) selections trigger expression event_start is equal or less than 17:00
    2) selections trigger expression market_length is less than 2212,848

    1) doesnt work !
    and the event_start is problematical in: what time I have to take, my german local time or bf-england-time?
    2) is that correct ?

    thx for your help.
    • ifyesthenno
  • #2 by MarkV on 03 Oct 2013
  • Hi
    1)   Global Current Time is equal or less than 17:00
    2)   I make it: 1 mile = 1609.344 metres. 1609.344 x 1.3 = 2092.1472
  • #3 by ifyesthenno on 03 Oct 2013
  • hi,

    thx for your very quick replay.

    1) global current time is not exactly what I want: if there is a race with scheduled time 17:00 (5 pm) but has a delay of 20 minutes, my trigger wouldnt trade it.
    if I set the trigger to 17:20, it would trade also races with start-event-time later than 17:00 what I dont want.
    so: event-scheduled-time is important for me. is there any possibilty?

    2) oh, my fault: I wanted to say 1m3f, so should be 11f, so 2212,848
    • ifyesthenno
  • #4 by MarkV on 03 Oct 2013
  • Hi again

    1) Took a little while to figure it out, but I think I have it:
        selections trigger expression event_start is equal or less than INTEGER(event_start)+0.7083333
        Explanation:
        17:00 event_start today       = 41550.7083333
        17:00 event_start tomorrow = 41551.7083333
        17:00 event_start any day   =  INTEGER(event_start)+0.7083333

    2) correct
  • #5 by ifyesthenno on 03 Oct 2013
  • mark, thank you very much, very appreciated. I will try your solution immediatly.
    • ifyesthenno
  • #6 by ifyesthenno on 06 Oct 2013
  • it works perfectly, thx again.
    • ifyesthenno
Pages:
Actions