The only very annoying problem with MFP in version 6 is a delayed display of unmatched bets and funds. When I write a trigger which relies on an up to date list of bets, the trigger works fine with a few monitored markets. But when I add some more markets, or make the refresh rates of triggers and updates low, the updates of list of bets becomes too slow, 2 subsequent trigger runs have the same list of bets, the trigger does not see the new bets it sent to the market in previous run.
I tried very hard to find a value of markets and refresh rates to avoid this problem, but failed.
What do you think about the idea of 3 new variables for refresh rates?
last_fund_refresh: a general variable for time of last fund refresh
last_market_refresh: a market variable for time of market refresh
last_bet_refresh: a market variable for time of bet refresh
The time in this variables is when data was visible for triggers.
Then I can build a block at the end of trigger file, setting user variables
i.e. previous_fund_refresh, previous_market_refresh und previous_bet_refresh
and use a condition like
and not previous_bet_refresh=last_bet_refresh to avoid trigger operation on an old list of bets.
Or simply use a condition like
and now_time - last_bet_refresh = idle_rate
I promise: I will buy a second MFP licence if the delay problem is fixed!!!