{"repo":"studerw/td-ameritrade-client","free":true,"listed":false,"github":"https://github.com/studerw/td-ameritrade-client","clone":"git clone https://github.com/studerw/td-ameritrade-client.git","description":"TD Ameritrade Java Client","language":"Java","stars":69,"topics":["tda","ameritrade","td-ameritrade-client","stock-market","stocks","stock-trading","stock-analyzer","options","option-trading","forex"],"license":"Apache-2.0","category":"trading","readme_excerpt":"TD Ameritrade Java Client Note this library will likely not work for your TDA accounts since the merger with Schwab ---- Java rest client for OAuth2 TD Ameritrade Api. Uses OKHttp 3 under the hood. Javadoc API How-To on the Wiki shows how to use this Java API. TDA-Client-Example - Simple Java and Maven example project. Required TDA Properties The client only requires a TDA client ID ( consumer key ) and current OAuth refresh token. The refresh token expires every 90 days. Note that the client id should not have appended the @AMER.OAUTHAP which is used only when refreshing your OAuth token. See the Getting Started to set up the developer account itself. and the wiki has directions on how to generate a refresh token. Usage Add the following to your Maven build file: Or for Gradle: ---- You need to obtain a valid TDA Developer refresh token every 90 days. See TDA's Simple Auth for Local Apps. Build To build the jar, check out the source and run: You do not need to build the project to use it. The latest release is available on Maven Central, so just include the dependency in your Maven pom or Gradle build file. Integration Tests Integration tests do require a client app ID and refresh token to run. To run integration tests, you will need create the file src/test/resources/com/studerw/tda/my-test.properties and fill in the necessary TDA properties: Then run the following command. POJO otherfields Property The TDA API seems to be in a constant state of change, and some documentati","default_branch":null,"files":null,"tree":[],"storefront":"/r/studerw","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/studerw/td-ameritrade-client/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}