Help with dextrades sell orders not showing tradeAmount

I am making a page that displays a trading volume leaderboard for a specified time frame and specific tokens. Basically I want it to show highest trading volume by wallet for the specific timeframe to include all buy and sell orders for two specific tokens. I have my query set up and it works great, but it is only showing buy orders. My query: ITM/RITM Trading Volume
I know why it is only showing the buying trade volume, it is because of the way the tokens function on sell orders. When a wallet places a sell order it is not actually performing a swap function as it does for a buy order, instead the wallet transfers the tokens to the token contract and the token contract interacts with the pancakeswap router to perform the necessary sell orders. So when I run my query any sell volume is not associated with the users wallet that sold the tokens but instead with the pancakeswap router. I am looking to see if anyone had any insight as to how i might be able to tweak my query to associate the sell order volume with the appropriate wallet that actually placed the sell order.
Any help would be greatly appreciated!

There is an interpretation of trade with maker=taker: Pancake case maker=taker

From events seen that it swaps internally:

“arguments”: [
{
“argument”: “sender”,
“index”: “0”,
“value”: “0x10ed43c718714eb63d5aa57b78b54704e256024e”
},
{
“argument”: “amount0In”,
“index”: “0”,
“value”: “0”
},
{
“argument”: “amount1In”,
“index”: “0”,
“value”: “46000000000000000000000000”
},
{
“argument”: “amount0Out”,
“index”: “0”,
“value”: “2476531479492517432”
},
{
“argument”: “amount1Out”,
“index”: “0”,
“value”: “0”
},
{
“argument”: “to”,
“index”: “0”,
“value”: “0x10ed43c718714eb63d5aa57b78b54704e256024e”
}
]