Pages:
Actions
  • #1 by nicbot on 08 Oct 2013
  • Hi,

    Sometimes the triggers are not working correctly. I have seen it a few times before, but not reported it before now.

    Account statement
    BAGS cards / Swin 7th Oct/ 17:38 A8 480m - UK   60.21

    Trigger log
    17:36:00   Greyhound - Todays Card / 17:37 Swin: Inappropriate market status (Idle).
    17:38:41   Checking market "Greyhound - Todays Card / 17:37 Swin".
    17:38:41   Checking condition and Market's Settled P/L is greater than 0.
    17:38:41   Condition is: FALSE.
    17:38:41   Remaining conditions in the block will not be checked.
    P/L not greater than 0?


    Account statement
    BAGS cards / Monm 7th Oct/ 17:48 A2 480m - UK   60.27

    Trigger log
    17:46:00   Greyhound - Todays Card / 17:47 Monm: Inappropriate market status (Idle).
    Nothing more?!?!


    Account statement
    BAGS cards / Swin 7th Oct/ 17:58 A7 480m - UK   60.32

    Trigger log
    17:56:00   Greyhound - Todays Card / 17:57 Swin: Inappropriate market status (Idle).
    18:00:04   Checking market "Greyhound - Todays Card / 17:57 Swin".
    18:00:04   Checking condition and Market's Settled P/L is greater than 0.
    18:00:04   Condition is: TRUE. valid for 1 selections: 1. Prince Coco.
    Perfect!

    But why is the first two triggers failing?
  • #2 by MarkV on 08 Oct 2013
  • Hi
    This looks to be a timing issue with regards to market settlement.
    It is difficult to tell without the trigger, but I would say you need to add the following condition:
    and markets status is settled
    to the trigger which contains this condition:
    and markets settled P/L is greater than 0
  • #3 by nicbot on 08 Oct 2013
  • The trigger have "Market status: Settled". Do I also need to add it as an condition?

    My refresh rate is 2 sec. Is it to low maybe?

    Thanks.
  • #4 by MarkV on 08 Oct 2013
  • I think it is a good idea to put the condition in, because then you will have a timestamp in the log to see when the market status changes to settled.

    2 sec refresh rate should be OK, but I don't know what the trigger does.

    Try the condition, and if it is still a problem could you please post your trigger file and I will test it.
  • #5 by nicbot on 08 Oct 2013
  • I have tried to add it as a condition also.

    So now it is both on Market state: Settled and added as condition Market's status is settled.

    I also tried to disable auto-removing of finished markets. I had an idea that it maybe was removed before the trigger was activated?

    I will get back with the result.

    Thanks.
  • #6 by MarkV on 08 Oct 2013
  • I also tried to disable auto-removing of finished markets. I had an idea that it maybe was removed before the trigger was activated?
    I think you have it.
Pages:
Actions