Set market refresh rates automatically through a trigger

Description

This is a "How-to" example with two simple triggers to set market refresh rates programmatically. Sometimes it is important to speed up or slow down a market's refresh rate. E.g. you might want to make it refresh faster towards the start of event. There are special settings in the program for defining the refresh rate of In-Play and non-In-Play markets, but they don't cover all possible cases.

The first trigger in the file will set the refresh rate for each market according to the values you will specify in the constants. Read below how to adjust the constants.

The second trigger checks the number of monitored markets in My Markets every 30 seconds, then sets the refresh rate to the number of markets being monitored multiplied by a given multiplier.

For example:

 

The refresh rates are automatically adjusted according to the number of markets.

Another reason why you might want to regulate the refresh rate is the data request limit imposed on all BetFaur users. If you are refreshing many markets at the same time, it makes sense to reduce individual refresh rates to prevent huge queues for market data, as MarketFeeder Pro will automatically limit your requests to prevent charges.

Triggers

Download the trigger file.

Setting the refresh rate of markets based on the number of monitored markets

One of the triggers is disabled - choose the one you want to use and disable the other.

Use the following constants to adjust your triggers:

If you have not heard of BetFair yet or do not have an account, register today and get £20 free. Use the link below:
New customers only, bet up to €/£20 on the Exchange and if your first bet loses, we’ll refund you €/£20 in Cash. Bet must be placed in first 7 days of account opening. T&Cs apply.
Gamble responsibly! Always be aware that betting is NOT risk-free. You must be 18+ years old before you try gambling, but even as an adult, withhold from spending money in an ill-judged manner. Our company does not encourage you to prefer gambling over other meaningful activities. If gambling is affecting your life or the lives of people close to you, please contact GamCare
 
© 2005-2024 WellDone Creative Software. All rights reserved. Terms and conditions.
BetFair® and the BetFair Logo are registered trade marks of Flutter Entertainment plc. Gamble responsibly.