Documentation ¶
Index ¶
- Variables
- func Kdj(rPeriod, kPeriod, dPeriod int, high, low, closing []float64) (k, d, j []float64)
- func Rma(period int, values []float64) []float64
- func RsiPeriod(period int, closing []float64) ([]float64, []float64)
- func Sma(period int, values []float64) []float64
- func Sum(period int, values []float64) []float64
- func Vwap(period int, values []float64, volume []float64) []float64
- type ActionType
- type Indicator
- type Kline
- type Ticker
Constants ¶
This section is empty.
Variables ¶
View Source
var RefreshTime = map[string]int64{"4h": 14404000, "2h": 7204000, "1h": 3604000, "30m": 1804000, "15m": 904000, "5m": 304000, "1m": 64000}
Functions ¶
Types ¶
type ActionType ¶
type ActionType string
const ( ActionBuy ActionType = "BUY" ActionSell ActionType = "SELL" )
type Indicator ¶
type Indicator struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.