z-Wind / gotd

TD Ameritrade API in GO

Home Page:https://developer.tdameritrade.com/apis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

TD Ameritrade API in GO

https://developer.tdameritrade.com/apis

License:MIT License


Languages

Language:Go 100.0%