Files
eventbook-exchange/docs/examples/public-position-economics.json
T

48 lines
1.6 KiB
JSON

{
"position": {
"condition_id": "0xdc8c47c5b5d38a0da237b5a82f500ebc5cf5150de902962ac6ff76051ffe9159",
"token_id": "49932611791842248277648635261891267637049151266001723816279042019553905945029",
"proxy_wallet": "0xbc79e27f2c94124aeefb08d74b4e4fd3ac834e4d",
"current_size": 18.8333,
"total_size": 63.8333,
"avg_price": 0.0767,
"current_value": 0.9322,
"entry_cost_usdc": 1.4451,
"entry_fees_usdc": 0.066709,
"total_cost_usdc": 1.511809,
"realized_pnl": -2.7801,
"unrealized_pnl": -0.5129,
"total_pnl": -3.293
},
"trades": {
"url": "https://data-api.polymarket.com/v2/trades?user=0xbc79e27f2c94124aeefb08d74b4e4fd3ac834e4d&condition=0xdc8c47c5b5d38a0da237b5a82f500ebc5cf5150de902962ac6ff76051ffe9159&limit=50",
"status": 200,
"date": "Fri, 04 Dec 2026 20:53:08 GMT",
"body": {
"data": [
{
"token_id": "49932611791842248277648635261891267637049151266001723816279042019553905945029",
"side": "SELL",
"price": 0.0194444444,
"size": 45.0,
"timestamp": 1796380585
},
{
"token_id": "49932611791842248277648635261891267637049151266001723816279042019553905945029",
"side": "BUY",
"price": 0.077,
"size": 24.65,
"timestamp": 1796319905
},
{
"token_id": "49932611791842248277648635261891267637049151266001723816279042019553905945029",
"side": "BUY",
"price": 0.0765630793,
"size": 39.183377,
"timestamp": 1796319905
}
]
}
}
}