hurst

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 2 Imported by: 0

README

hurst

Hurst exponent estimation in Go

Installation

go get -u github.com/rodrigo-brito/hurst

Usage

package main

import (
    "fmt"
    "github.com/rodrigo-brito/hurst"
)

func main() {
    data := []float64{
		// your data here....
    }
    fmt.Println(hurst.Estimate(data, 2, 100)) // where 2 is the min lag, and 100 max lag
}

References

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Estimate

func Estimate(price []float64, minLag, maxLag int) float64

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL