Effective positions

Retrieves subaccount's position in market

get
Path parameters
subaccount_idstringRequired
market_idstringRequired
Responses
200
A successful response.
application/json
get
GET /injective/exchange/v1beta1/effective_positions/{subaccount_id}/{market_id} HTTP/1.1
Host: inj.nownodes.io
Accept: */*
{
  "state": {
    "is_long": true,
    "quantity": "text",
    "entry_price": "text",
    "effective_margin": "text"
  }
}