Categorygithub.com/z-Wind/gotd
repositorypackage
0.0.0-20201009091323-bd8a4c613cf4
Repository: https://github.com/z-wind/gotd.git
Documentation: pkg.go.dev

# README

gotd - TD Ameritrade API in Go

GoDoc

Table of Contents

Apply

Installation

$ go get github.com/z-Wind/gotd

Examples

HTTP

auth := NewAuth()
client := auth.GetClient(clientsecretPath, "TDAmeritrade-go.json")
td, err := New(client)

HTTPS

auth := NewAuth()
auth.SetTLS(TLSCertPath, TLSKeyPath)
client := auth.GetClient(clientsecretPath, "TDAmeritrade-go.json")
td, err := New(client)

Quotes

call := td.Quotes.GetQuote("VTI")
quote, err := call.Do()

Reference