-
-
Notifications
You must be signed in to change notification settings - Fork 340
Postman Collection
Download postman here : https://www.postman.com/downloads/
Postman Collection : https://huyzey-public-junk-bucket.s3.us-east-2.amazonaws.com/tdameritrade-api.postman_collection.json
Postman Env : https://huyzey-public-junk-bucket.s3.us-east-2.amazonaws.com/tdameritrade-public-example.postman_environment.json
Import tdameritrade-api.postman_collection.json
to your postman using the import feature.
Example SS:
Now you should see the collection in your left navigation, expand the collection for further details.
Example :
Import tdameritrade-public-example.postman_environment.json
to postman.
- Navigate to top right for
Manage Environment
-
Bottom right should have an import button
-
Select tdameritrade-public and make a copy for your personal settings and set the envs. More information on the envs can be found in the collection description.
-
Navigate to
Get Access Token
requests and use the OAuth2Get New Access Token
. This will take you through the OAuth2 flow and upon successful login should retrieve the access token and refresh token. -
Navigate to
Manage Token
to see your refresh_token
- Set TD_REFRESH_TOKEN env by right clicking on the refresh_token selection from your Manage Token drop-down
Navigate to stock orders and Open Long Stock Limit
and hit send. Request will send an order of single share at .01 limit price for TEST_SYMBOL