Average buy price for a wallet
Returns prediction trades on Polygon, where outcome trade buyer is 0x101f…8e1a: average of trade outcome trade price in USD.
What it returns
- average of trade outcome trade price in USD
Filters
- outcome trade buyer is 0x101f…8e1a
The query
query MyQuery($trader: String, $days_ago: Int!) {
EVM(network: matic) {
PredictionTrades(
where: {TransactionStatus: {Success: true}, Trade: {OutcomeTrade: {Buyer: {is: $trader}}}, Block: {Time: {since_relative: {days_ago: $days_ago}}}}
) {
buy_average_price: average(of: Trade_OutcomeTrade_PriceInUSD)
}
}
}
Variables
{
"trader": "0x101f2f96db1e39a9f36a1fa067751d541fd38e1a",
"days_ago": "1"
}
Similar queries
- Polymarket Volume by Exchange Contract and Collateral · Polygon · PredictionTrades
- latest prediction market trades · Polygon · PredictionTrades
- activity of user · Polygon · PredictionTrades
- Polymarket Notional Volume, Taker Volume,Maker Volume · Polygon · PredictionTrades
- buys and sells of a wallet on polymarket · Polygon · PredictionTrades