Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
MAX_RELATIVE_CAP float64 = 0.3
)
Functions ¶
func CalculateWeights ¶
func CalculateWeights(indexSymbol string, constituents *[]models.CryptoIndexConstituent) error
func GetIndexBasket ¶
func GetIndexBasket(assets []dia.Asset) ([]models.CryptoIndexConstituent, error)
Get supply and price information for the index constituents
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.