Skip to content

jpm63/go-allyinvest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summary

Basic wrapper for the Ally Invest API. WARNING - SOME OF THE APIS IN THIS MODULE LET YOU MAKE REAL TRADES WITH REAL MONEY. USE AT YOUR DISCRETION.

Usage

  1. Register your OAUTH application with Ally and obtain the following keys:

    • Consumer Key
    • Consumer Secret
    • Access Token
    • Access Token Secret
  2. Initialize the client and invoke endpoint:

import "github.com/jpm63/go-allyinvest"

func main() {
    k := allyinvest.ApplicationKeys{
		ConsumerKey:    "CONSUMER_KEY",
		ConsumerSecret: "CONSUMER_SECRET",
		AccessToken:    "ACCESS_TOKEN",
		AccessSecret:   "ACCESS_SECRET",
	}

	api := allyinvest.New(k)

    // Invoke endpoint
    // out, err := api.SearchOptions(allyinvest.SearchOptionsInput{ ... })
}

Completed APIS

  • Account
  • Order/Trade
  • Market (In Progress)
  • Member
  • Utility
  • Watchlist
  • Streaming

About

Simple wrapper for the Ally Invest API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages