Stocks
Endpoints
Get

Function: Get

This should be your main entry point into get 1min & 5min aggregate data for any given stock.

get(stock)

Parameters

stock (str) - Ticker symbol

Returns

ggStock - A goldengoose stock object

Example

import goldengoose
msft = goldengoose.stocks.get("MSFT")
 
# Now get a datapoint
epoch = goldengoose.get_current_epoch()
candle = msft[epoch]