Pages:
Actions
  • #1 by no44 on 21 Jan 2019
  • i'm in engineering mode and test mode is OFF!

    placed a £2.00 lay bet at 2.94:

    bm_lpricedat_2.94 - reads correct: £2,00

    s_3_bm_lpricedat_2.94 - returns correct £2.00

    last traded price = 2.94, s_3_bm_lpricedat_last_traded - returns correct £2.00

    so i ask:  s_3_bm_lpricedat_r_ticks(last_traded,-5) -
    returns:  s_3_bm_lpricedat_r_ticks(last_traded,-5) no values.

    ask:   bm_lpricedat_r_ticks(last_traded,-5)
    returns: bm_lpricedat_r_ticks(last_traded,-5) no values.

    what am i overlooking?
  • #2 by mcbee on 21 Jan 2019
  • hi
    h'mmm , ok
    Quote
    bm_lpricedat_2.94 - reads correct: £2,00

    so far so good , you PLACED a bet at 2.94 , no problem , mfp gives the correct value .
    and the other info etc is ok.

    Quote
    so i ask:  s_3_bm_lpricedat_r_ticks(last_traded,-5) -
    returns:  s_3_bm_lpricedat_r_ticks(last_traded,-5) no values.
    Now you want to know a value that has NO value.
    how can mfp KNOW what the price is of a PLACED bet that never happened , OK you placed a bet at 2.94 , it was matched , no problem , now you want to know a value that you did not place and that was not matched ?
    placed = bet at 2,94 = matched at 2.94
    NO bet placed at 2.94 minus 5 ticks
    tell me how mfp or you or anyone can give a value of a none placed/matched price.
    I am here to learn and to help.
    mcbee
  • #3 by no44 on 22 Jan 2019
  • agree with that, but bet was placed and matched, not test mode but real ££ mode.

    for that matter bu_lpricedat_{price} returned the same values / no values.


    writing a new trigger and always test the syntax in engineering mode.
  • #4 by no44 on 22 Jan 2019
  • forgot to mention that when i asked for the last_traded minus 5 ticks, because the price at that time was trading at the matched price PLUS 5 ticks, so ti should have returned £2.00?

    i understand that bets that haven't been placed cannot return a value.

Pages:
Actions