Author Topic: Trigger error?!  (Read 8710 times)

Tags:
  • All members
  • Posts: 32
Trigger error?!
« on: 08 Oct 2013, 09:17 »
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?

  • Moderator
  • Posts: 3654
*
Re: Trigger error?!
« Reply #1 on: 08 Oct 2013, 10:26 »
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
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 32
Re: Trigger error?!
« Reply #2 on: 08 Oct 2013, 10:31 »
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.

  • Moderator
  • Posts: 3654
*
Re: Trigger error?!
« Reply #3 on: 08 Oct 2013, 10:40 »
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.
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 32
Re: Trigger error?!
« Reply #4 on: 08 Oct 2013, 10:46 »
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.

  • Moderator
  • Posts: 3654
*
Re: Trigger error?!
« Reply #5 on: 08 Oct 2013, 10:48 »
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.
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

 

Please note, BetFair is seems to be currently OFFLINE