Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chadc1050/tdaclient
https://github.com/chadc1050/tdaclient
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/chadc1050/tdaclient
- Owner: chadc1050
- License: mit
- Created: 2022-12-08T23:48:24.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-12T04:24:18.000Z (almost 2 years ago)
- Last Synced: 2024-06-20T03:48:01.197Z (5 months ago)
- Language: Go
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TD Ameritrade API Go Client
![TDA Client Release](https://img.shields.io/github/v/release/chadc1050/TDAClient)
[![Go Source Version](https://img.shields.io/github/go-mod/go-version/chadc1050/TDAClient/master)](https://go.dev/doc/devel/release#go1.19)An unofficial TD Ameritrade Go Client for TD Ameritrade's Trading API.
### [TD Ameritrade Docs](https://developer.tdameritrade.com/)
## Authentication
TDA Ameritrade uses OAuth with a brokerage accounts credentials to generate the code needed to make requests on behalf
of that account to do this you will need to set up a callback url in
your [TD Ameritrade Developer Portal](https://developer.tdameritrade.com/user/me/apps)
so that TD Ameritrade can send you a refresh token when Authentication is completed using their web-based form.
Details on to do this can be found in their [Authentication FAQ Page](https://developer.tdameritrade.com/content/authentication-faq).## Usage
To add TDAClient module to your project, add the following to your ```go.mod``` file:```
require github.com/chadc1050/TDAClient latest
```Then run ```github.com/chadc1050/TDAClient@latest``` command to pull the module into your project.