Documentation ¶
Index ¶
Constants ¶
View Source
const (
LayoutISO = "02/01/2006"
)
Variables ¶
View Source
var DefaultDurations = []string{"1M", "2M", "3M", "4M", "5M", "6M", "7M", "8M", "9M", "10M", "11M", "1Y", "2Y", "3Y"}
View Source
var DefaultPeriods = []string{"1", "7", "30", "365"}
Functions ¶
func UpdateEODTicks ¶
Types ¶
type Asset ¶
type Asset struct { Symbol string `json:"symbol"` Name string `json:"name"` LastPrice string `json:"last_price"` PriceVariation string `json:"price_variation"` }
func ScrapeSearchResult ¶
type EODTicksObject ¶
type EODTicksObject struct {
Content EODTicks `json:"d"`
}
func GetEODTicks ¶
func GetEODTicks(symbol string, days string) (*EODTicksObject, error)
Click to show internal directories.
Click to hide internal directories.