Author Topic: Doing something after Half Time has finished  (Read 7295 times)

Tags:
  • Administrator
  • Posts: 8821
  • Gender: Female
*
Doing something after Half Time has finished
« on: 08 Apr 2013, 10:36 »
Attaching the triggers (for English, Portuguese and Russian locales) that check if the Half Time market has finished, then placing a bet in a different market of the same event.

For it to function correctly, you need to add the Half Time market to "My Markets" even if you are not going to trade in it. In the latter case you might need to add conditions to your betting triggers that avoid this market.

So when the Half Time is settled, the trigger "remembering that a Half Time market has finished" remembers the market's selections under the name of htfinished_market_parent_id. The _market_parent_id bit makes this variable unique for each football event, so it gets recognized only by the markets that are related to the same match.

All the other trigger then has to do to place a bet is to check whether the variable htfinished_market_parent_id is set.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • All members
  • Posts: 9
Re: Doing something after Half Time has finished
« Reply #1 on: 01 Dec 2017, 21:00 »
Obviously i can't delete finished market.
When do you think is best to delete the ht market?
An how do you do it?

 

Please note, BetFair is seems to be currently OFFLINE