Skip to content

openwonk/yafin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

Yahoo Finance API Portfolio Generator

The following code wil generate a "portfolio" (e.g. "folio.smith.json") for an array of given stocks (e.g. "YHOO", "AAPL", and "GOOG").

package main

import "github.com/openwonk/yafin"

func main() {
	symbols := []string{"YHOO", "AAPL", "GOOG"}
	name := "Smith" // name of the portfolio (no spaces) 
	
	yafin.CreatePortfolio(symbols, name)
}



OpenWonk © 2015 MIT License

About

Yahoo Finance API Portfolio Generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages