title: TD Ameritrade API Get Positions
body: <p>I'm testing out the TD Ameritrade API. I'm attempting to retrieve a given user's positions (open and closed).</p>
  
  <p>I'm successfully authenticating and retrieving my <code>accountId</code> from a front-end+server I've set up. </p>
  
  <p>I use my <code>accountId</code> and make a GET request to this url: 
  <code>https://api.tdameritrade.com/v1/accounts/{acountId}</code> as described in the docs here: <a href="https://developer.tdameritrade.com/account-access/apis/get/accounts/%7BaccountId%7D-0" rel="nofollow noreferrer">https://developer.tdameritrade.com/account-access/apis/get/accounts/%7BaccountId%7D-0</a></p>
  
  <p>This GET request is successful however there is no <code>positions</code> object returned by the response within the parent data object as outlined in the API docs.</p>
  
  <p>Does anyone know if the positions object only applies to closed positions, or does it include open ones as well? Any clarity appreciated. I have one open position, and none closed. </p>
  
  <p>I'm not including code as the GET requests work, this is a question of why the TD Ameritrade API data coming back does not contain an object that the documentation says it should. </p>