Need code for this condition

hello sir , plz can u give me any code for zerodha pie scnner which tell me

tottal bid quantity > total ask quantity

hello trader,

Tradescript for Pi accepts only the OHLC values of a candle.

BID and ASK qty conditions are not compatible with Tradescript.