diff --git a/client.go b/client.go index 3d6c8cc..4b1ec67 100644 --- a/client.go +++ b/client.go @@ -126,9 +126,9 @@ func (c *AllyApi) MarketClock() (resp MarketClockResponse) { return } -func (c *AllyApi) MarketQuotes() { +func (c *AllyApi) MarketQuotes(symbols ...string) { v := url.Values{ - "symbols": []string{"IBM"}, + "symbols": symbols, } fmt.Printf("%s\n", c.getWithParameters("market/ext/quotes", v)) } diff --git a/main.go b/main.go index c502d9e..d321f19 100644 --- a/main.go +++ b/main.go @@ -5,5 +5,5 @@ func main() { var api AllyApi api.Initialize() - api.MarketQuotes() + api.MarketQuotes("FEYE", "IBM") }