From 466b69d3a783b695fcacc55e94c88182c43b0a1b Mon Sep 17 00:00:00 2001 From: jaketothepast Date: Tue, 21 Jan 2020 19:14:37 -0500 Subject: [PATCH] Finishing Market News Get call --- client.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client.go b/client.go index 51623be..875c371 100644 --- a/client.go +++ b/client.go @@ -148,8 +148,9 @@ func (c *AllyApi) MarketNewsSearch(maxhits int, symbols ...string) (resp MarketN return } -func (c *AllyApi) MarketNewsGet(id string) { - +func (c *AllyApi) MarketNewsGet(id string) (resp MarketNewsGetResponse) { + c.marshalInterfaceResponse("market/news/#{id}", &resp) + return } func (c *AllyApi) marshalWithQuery(p string, v url.Values, i interface{}) {