Recent Posts

Pages: « 1 2 3 4 5 6 7 8 9 10 »
11
Thx for taking the time to look at this - been away for a few days for work and only got to look at this again today. 

I'd checked the file for with and without <CR> and was sure it wasn't there. I've done a load of testing this evening and have finally nailed it down. It appears to be caused by a race condition with my Python script and the MF script trying to read the import file at exactly the same time. For normal Python on Windows, it *should* not create an exclusive lock that prevents another process from reading the file at the same time. Multiple processes can normally have the file open for reading concurrently. 

To test, I created another version of my code that does everything else exactly the same, but doesn't attempt to read the import file.... and everything stays perfectly live, nothing greys out. I am now working on a version that avoids the race condition! :)

I do therefore think though that if MF tries to read the import file at exactly the same moment another process is reading it, it silently fails and reads it as empty - and then everything greys out. I also believe that once this has happened, the file will no longer be correctly imported. (This is the part that is speculative, I would think that on the next successful / correct import, the markets would go green again but they don't seem to - once they go grey, that seems to be the permanent state until the markets are reloaded).

Would be good to understand what happens under the hood with the reimport function to be completely sure. 

Thanks again! 
12
Troubleshooting / Re: #all_active# import flag and automatic reimport
« Last post by MarkV on 30 Sep 2026, 10:48 »
Hi
Had a play with this and have replicated the issue. Actually came across it by chance. Did CTRL A on the text file and found some CR/LF after #all_active#.
I found if you correct the text file without reloading the markets, the selections will remain greyed out.
But if the text file is perfect on the first import, then all other selections will not be greyed and automatic re-import works fine
13
Troubleshooting / #all_active# import flag and automatic reimport
« Last post by David Pride on 29 Sep 2026, 14:14 »
Greetings. 

I’m trying to understand the interaction between the #all_active# import flag and automatic reimport.

I need to import changing trigger variables from a text file, so “Reimport every n seconds” is essential.

I also need all runners in all loaded markets to remain active, which appears to be exactly what #all_active# is intended to achieve. However, these two features appear to be incompatible. On an initial/manual import containing #all_active#  all selections remain active as expected. But as soon as “Reimport every 1 sec” is enabled, selections which aren't explicitly listed in the file become inactive/grey. This matters because although prices for grey selections continue to update in the MarketFeeder interface, triggers no longer operate on those inactive selections. That also prevents a file-writing trigger from continuously exporting the complete market data required by the external application.

I have reproduced this with a completely static file containing only #all_active# (no newline / CR) With automatic reimport disabled, the markets remain active. Enable automatic reimport and all markets grey out. So this behaviour isn't caused by another application rewriting or temporarily emptying the file.

My main question is: why do #all_active# and automatic reimport apparently not work together? Is this expected behaviour, a limitation, or a bug? If it is expected behaviour, is there another supported way of achieving the intended combination: periodically reimport changing values for particular selections, while keeping every selection active for triggered betting?

All help gratefully received at this point! 


14
Time Machine / Re: Time Machine - client identification error
« Last post by Richard Ch on 27 Sep 2026, 15:44 »
Hi joaofrancisco - I have the same problem as you - "Error with client identification" message when I try to buy market data in Time Machine.

Did you ever get a reply from support? I have emailed several times, with no response which is disappointing after I have paid for a subscription that won't do what I need it to.

Thanks for looking
Richard
15
Troubleshooting / Re: horse racing venues
« Last post by pjms on 21 Sep 2026, 19:36 »
Hi MarkV Thank you very much for your quick reply. I will proceed accordingly. Very grateful.
16
Troubleshooting / Re: horse racing venues
« Last post by MarkV on 21 Sep 2026, 13:44 »
Hi
Couple of ways:

markets name contains "Wolv"
you can use abbreviations with this because it looks for the partial string

the other way is:

selections trigger expression market_venue is equal to "Wolverhampton"
not sure if you need quotation marks but try either way

so you can use a list (or file) for the venues you want:

selections trigger expression market_venue is in list "Wolverhampton", "Leicester", "Lingfield" 

 



  
17
Troubleshooting / horse racing venues
« Last post by pjms on 21 Sep 2026, 11:23 »
Hi everyone, I am trying (without success) to create a trigger that will only fire at certain uk horse race tracks. Could someone please tell me the exact wording of a trigger expression that will enable me to do this? Thankyou. 
18
Troubleshooting / Re: Hedge - Don't work!!!
« Last post by joaofrancisco on 21 Sep 2026, 08:58 »
Hi MarkV...

Sorry to respond only today, but my weekend was very busy...

Yesterday I put your version running and worked like a charm... All the hedge bets (Lay bets) were placed with the right values, even if the same selection were selected by 2 triggers (Back bets)... And with the odds values a little bit strange ;);););)



Thank you very much for your help... :):):):)
19
Troubleshooting / Re: Hedge - Don't work!!!
« Last post by MarkV on 19 Sep 2026, 13:05 »
Hi
Please try attached modified trigger in test mode 
20
Triggered betting / Re: Improvements to the Excel add-in
« Last post by shirtless on 18 Sep 2026, 14:05 »
@MarkV Thanks for responding in my absence.

Yes that is essentially it, I find this approach gives you much more flexibility and as you construct the model on paper you realise how much you can do.

To give you an example referring to the above screenshot


I have many different systems/triggers, some  win, some ew and some lay, and give each a different system number, that is imported_15 in the above example., so I can have my triggers broken down into different blocks and just pick out the one I want to apply to each horse in the list by using imported_15, within those triggers I can have stake value imported_14 and max (or min) odds imported_13.

In my case, I have also created doubles and trebles which I can call, imported_1 shows which horse is in double1 11=first leg, 12=second leg and if there is a third leg its 13, then I just repeat that for other doubles and trebles. So all of these can run at the same time and just place single bets and/or parts of a multiple as and when the conditions apply.

This means on busy days you can insert a long list of horses - I paste from my excel into the notepad document, and if the bet alters I just paste from my excel into the notepad again, as the document auto updates, marketfeeder will just capture these changes at the next update.

referring back to your original statement, it is not clear why not all lay bets are being placed when you try this via excel, but if you try to recreate your approach via this method, it should be more clear, and if you are still hitting issues reviewing the program and trigger logs and checking the status of the various triggers involved should help identify any other issues you may have


Pages: « 1 2 3 4 5 6 7 8 9 10 »
Please note, BetFair is seems to be currently OFFLINE