Documentation
¶
Index ¶
- Constants
- func NewExponentialMovingAverage(span, interval time.Duration, points int) utils.QueryFillerMaker
- func NewLastPrice(core utils.QueryGenerator) utils.QueryFiller
- func NewMACD(span, interval time.Duration, firstPoints, secondPoints, signalPoints int) utils.QueryFillerMaker
- func NewMovingAverage(span, interval time.Duration, points int) utils.QueryFillerMaker
- func NewRSI(span, interval time.Duration, points int) utils.QueryFillerMaker
- func NewStochasticOscillator(span, interval time.Duration, points int) utils.QueryFillerMaker
- func NewTopPercentChange(span, interval time.Duration) utils.QueryFillerMaker
- type Core
- type ExponentialMovingAverage
- type ExponentialMovingAverageFiller
- type LastPrice
- type LastPriceFiller
- type MACD
- type MACDFiller
- type MovingAverage
- type MovingAverageFiller
- type RSI
- type RSIFiller
- type StochasticOscillator
- type StochasticOscillatorFiller
- type TopPercentChange
- type TopPercentChangeFiller
Constants ¶
View Source
const ( LabelLastPrice = "last-price" LabelMovingAverage = "moving-average" LabelExponentialMovingAverage = "exponential-moving-average" LabelRSI = "rsi" LabelMACD = "macd" LabelStochasticOscillator = "stochastic-oscillator" LabelTopPercentChange = "top-percent-change" )
Variables ¶
This section is empty.
Functions ¶
func NewExponentialMovingAverage ¶
func NewExponentialMovingAverage(span, interval time.Duration, points int) utils.QueryFillerMaker
func NewLastPrice ¶
func NewLastPrice(core utils.QueryGenerator) utils.QueryFiller
func NewMACD ¶
func NewMACD(span, interval time.Duration, firstPoints, secondPoints, signalPoints int) utils.QueryFillerMaker
func NewMovingAverage ¶
func NewMovingAverage(span, interval time.Duration, points int) utils.QueryFillerMaker
func NewStochasticOscillator ¶
func NewStochasticOscillator(span, interval time.Duration, points int) utils.QueryFillerMaker
func NewTopPercentChange ¶
func NewTopPercentChange(span, interval time.Duration) utils.QueryFillerMaker
Types ¶
type ExponentialMovingAverage ¶
type ExponentialMovingAverage struct {
// contains filtered or unexported fields
}
type LastPriceFiller ¶
type MACDFiller ¶
type MovingAverage ¶
type MovingAverage struct {
// contains filtered or unexported fields
}
type MovingAverageFiller ¶
type StochasticOscillator ¶
type StochasticOscillator struct {
// contains filtered or unexported fields
}
type TopPercentChange ¶
type TopPercentChange struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.