Add 1 Criteria to a Nodejs crypto bot etherium / bnb -- 2

Job ID: 35133242

Budget: $30 – $250 USD

I have a fully functional nodejs bot that buys and sells tokens based on set criteria.
It's working on Etherium and Binance blockchains and runs on a linux server. Standard stuff.

I want you to add the following criteria;

"right now if the dev removes liquidity of any amount the bot will frontrun that transaction.
add a variable Min_liquidity_remove_percent. if bot detects that dev has removed x%
of current liquidity in the token, then frontrun and sell, else no action. "
Related categories: Node.js Ethereum Smart Contracts