Documentation ¶
Index ¶
Constants ¶
View Source
const ( IntervalOneMinute = "1m" IntervalTwoMinutes = "2m" IntervalFiveMinutes = "5m" IntervalFifteenMinutes = "15m" IntervalThirtyMinutes = "30m" IntervalSixtyMinutes = "60m" IntervalNintyMinutes = "90m" IntervalOneHour = "1h" IntervalOneDay = "1d" IntervalFiveDays = "5d" IntervalOneWeek = "1w" IntervalOneMonth = "1mo" IntervalThreeMonths = "3mo" )
View Source
const ( RangeOneDay = "1d" RangeFiveDays = "5d" RangeOneMonth = "1mo" RangeThreeMonths = "3mo" RangeSixMonths = "6mo" RangeOneYear = "1y" RangeTwoYears = "2y" RangeFiveYears = "5y" RangeTenYears = "10y" RangeYTD = "ytd" RangeMax = "max" )
Variables ¶
View Source
var ( // DebugLogging enables verbose output from the yf package when set to true. DebugLogging = false )
Functions ¶
This section is empty.
Types ¶
type Stock ¶
type Stock struct { Meta struct { Currency string Symbol string ExchangeName string InstrumentType string FirstTradeDate int64 GmtOffset int64 `json:"gmtoffset"` Timezone string ExchangeTimezoneName string CurrentTradingPeriod struct { Pre TradingPeriod Regular TradingPeriod Post TradingPeriod } DataGranularity string ValidRanges []string } Timestamp []int64 Indicators struct { Quote []struct { Low []float64 Volume []float64 High []float64 Open []float64 Close []float64 } Unadjclose []struct { Unadjclose []float64 } Adjclose []struct { Adjclose []float64 } } }
Click to show internal directories.
Click to hide internal directories.