Do not bet in a match if some markets are missing | Automated Betfair Trading Software - MarketFeeder Pro - triggered automated betting bot

Do not bet in a match if some markets are missing Automated Betfair Trading Software - MarketFeeder Pro - triggered automated betting bot

Description

This example was suggested by a MF Pro user who likes to bet on Over/Under markets in Football. His triggers depend on loading an exact number of markets from each match, e.g. "Over/Under 0.5", "Over/Under 1.5" and "Over/Under 2.5". If at least one of these markets are missing in the list, the triggers don't make sense and may even lead to a loss. He says he usually adds his markets with the Market Locator tool using a set of conditions. If these conditions are not met, the market is not added to "My Markets".

Therefore, the task is to withhold betting in a particular match if at least one required market is missing.

Triggers

Download the trigger file

There are two blocks in the file: the first one actually does the job of counting the markets. It remembers one selection from each market in a list under the name of mkt_sels_market_parent_id. Another trigger counts the number of remembered selections and sets a special variable qualifies to 1 if this number is equal or less than the value you'll specify. All that is left is to check whether this variable is equal to 1. That's what the second block does: it places a sample bet on the favourite in each market if the condition is met. Replace it with your own block that does the betting or any other important thing.

The number of markets that must be present depends on your case. In this example we used 3, but it is really a matter of editing the value of the constant that you'll find in the file. Also, please note that you can use these triggers for Tennis, Basketball and other sports (not Horse Racing though, as the term "match" does not apply to it).



Automated Betfair Trading Software - MarketFeeder Pro - triggered automated betting bot.
© 2005-2014 WellDone Creative Software. All rights reserved. Terms and conditions.

BetFair® and the BetFair Logo are registered trade marks of The Sporting Exchange Limited.
SEE IT
screenshots and videos
of the software in action
TRY for FREE
we do not sell
a pig in a poke. Try then buy
FORUM
communicate with traders
like you

TRIGGERS
download to learn
how to win
TIME MACHINE
the unique way
to speed up your testing
LEARN MF PRO
Articles, tutorials
and how-to
SiteMap