stocks icon indicating copy to clipboard operation
stocks copied to clipboard

Nothing works except for Getquote()

Open reteps opened this issue 9 years ago • 9 comments

reteps avatar May 15 '16 15:05 reteps

Can you elaborate?

vic3lord avatar May 18 '16 20:05 vic3lord

Sorry about that, but you need to explain that you need to 'get' the object, then call methods off of it. I got it to work, though.

reteps avatar May 18 '16 20:05 reteps

Didn’t want to break API compat for people but I’ve been meaning to rename GetQuote to NewQuote to make it clear that you are getting a new Stock object and you have methods for this specific object…

Let me know what isn’t clear to you and I’ll add it to the docs

On 18 May 2016, at 11:53 PM, Peter Stenger [email protected] wrote:

Sorry about that, but you need to explain that you need to 'get' the object, then call methods off of it. I got it to work, though.

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/vic3lord/stocks/issues/4#issuecomment-220154672

vic3lord avatar May 18 '16 20:05 vic3lord

Alright. I think you need to add more functions, like GetVolume, GetChangeToday, GetChange1Month, 3Month, 1Year. You need to explain that GetQuote() creates the object, and you call methods off of it.

reteps avatar May 18 '16 21:05 reteps

Are you allowed to get parts of a stock quote without creating a function for it?

reteps avatar May 18 '16 21:05 reteps

Listed your notes for a free weekend 👍

What do you mean by

Are you allowed to get parts of a stock quote without creating a function for it?

vic3lord avatar May 18 '16 21:05 vic3lord

call for example stock.Query.Results.Quote.Price?

reteps avatar May 18 '16 21:05 reteps

Never mind. Is there a way to access a price at a specific time?

reteps avatar May 28 '16 00:05 reteps

Is there a way to get a price of a stock at a certain time? ex. 9:31AM or something?

reteps avatar Jul 17 '16 00:07 reteps