curl --request GET \
--url https://api.coinbase.com/api/v3/brokerage/intx/positions/{portfolio_uuid}/{symbol}
{
"position": {
"product_id": "<string>",
"product_uuid": "<string>",
"portfolio_uuid": "<string>",
"symbol": "<string>",
"vwap": {
"value": "<string>",
"currency": "<string>"
},
"entry_vwap": {
"value": "<string>",
"currency": "<string>"
},
"position_side": "<any>",
"margin_type": "<any>",
"net_size": "<string>",
"buy_order_size": "<string>",
"sell_order_size": "<string>",
"im_contribution": "<string>",
"unrealized_pnl": {
"value": "<string>",
"currency": "<string>"
},
"mark_price": {
"value": "<string>",
"currency": "<string>"
},
"liquidation_price": {
"value": "<string>",
"currency": "<string>"
},
"leverage": "<string>",
"im_notional": {
"value": "<string>",
"currency": "<string>"
},
"mm_notional": {
"value": "<string>",
"currency": "<string>"
},
"position_notional": {
"value": "<string>",
"currency": "<string>"
},
"aggregated_pnl": {
"value": "<string>",
"currency": "<string>"
}
}
}
Get a specific open position on Intx
curl --request GET \
--url https://api.coinbase.com/api/v3/brokerage/intx/positions/{portfolio_uuid}/{symbol}
{
"position": {
"product_id": "<string>",
"product_uuid": "<string>",
"portfolio_uuid": "<string>",
"symbol": "<string>",
"vwap": {
"value": "<string>",
"currency": "<string>"
},
"entry_vwap": {
"value": "<string>",
"currency": "<string>"
},
"position_side": "<any>",
"margin_type": "<any>",
"net_size": "<string>",
"buy_order_size": "<string>",
"sell_order_size": "<string>",
"im_contribution": "<string>",
"unrealized_pnl": {
"value": "<string>",
"currency": "<string>"
},
"mark_price": {
"value": "<string>",
"currency": "<string>"
},
"liquidation_price": {
"value": "<string>",
"currency": "<string>"
},
"leverage": "<string>",
"im_notional": {
"value": "<string>",
"currency": "<string>"
},
"mm_notional": {
"value": "<string>",
"currency": "<string>"
},
"position_notional": {
"value": "<string>",
"currency": "<string>"
},
"aggregated_pnl": {
"value": "<string>",
"currency": "<string>"
}
}
}
The portfolio UUID.
The trading pair (e.g. 'BTC-PERP-INTX').
A successful response.
The response is of type object
.
Was this page helpful?