Hi
There was a similar topic recently related to traded volume in racing markets, here is the link:
https://community.welldonesoft.com/marketfeeder-troubleshooting/market-activity-checker/msg56639/#msg56639perhaps you could adapt something similar.
If you are asking about detecting specific bets (not yours) in the market, I don't think that is possible, but you can monitor the money offered and waiting to be matched, at the best three back and lay prices. This is done per selection:
s_1_back_amount <--- amount offered at best back price on selection index 1
s_1_back_amount2 <--- amount offered at second best back price on selection index 1
s_1_back_amount3 <--- amount offered at third best back price on selection index 1
s_2_lay_amount <--- amount offered at best lay price on selection index 2
s_2_lay_amount2 <--- amount offered at second best lay price on selection index 2
s_2_lay_amount3 <--- amount offered at third best lay price on selection index 2
etc...
for example you could check the best back price for the away team (index 2 in MO markets) for a spike which would indicate lots of lay money coming in on that selection: s_2_back_amount is greater than x