Hi
Betfair live data has some extended volume and price information which is not available in time machine (variables return zero in TM)
In the settings make sure load traded volume for all prices is ticked.
In your write to file trigger add this condition at the top of your conditions:
selections trigger expression traded_last is greater than 0