analysis

package
v1.63.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2025 License: AGPL-3.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIntensity

func GetIntensity(m MarkedHawkesProcess, t int64, params []TimedTuple) float64

Types

type MarkedHawkesProcess

type MarkedHawkesProcess interface {
	MarkFunction(params any) float64
	GetAlpha() float64
	GetBeta() float64
	GetMu() float64
	GetTimeScale() float64
}

type MarkedHawkesProcessVP

type MarkedHawkesProcessVP struct {
	// contains filtered or unexported fields
}

Implementation of MarkedHawkesProcess for volume and price data

func NewMarkedHawkesProcessVP

func NewMarkedHawkesProcessVP(mu, alpha, beta, timeScale float64) *MarkedHawkesProcessVP

func (*MarkedHawkesProcessVP) GetAlpha

func (m *MarkedHawkesProcessVP) GetAlpha() float64

func (*MarkedHawkesProcessVP) GetBeta

func (m *MarkedHawkesProcessVP) GetBeta() float64

func (*MarkedHawkesProcessVP) GetMu

func (m *MarkedHawkesProcessVP) GetMu() float64

func (*MarkedHawkesProcessVP) GetTimeScale

func (m *MarkedHawkesProcessVP) GetTimeScale() float64

func (*MarkedHawkesProcessVP) MarkFunction

func (m *MarkedHawkesProcessVP) MarkFunction(params any) float64

type TimedTuple

type TimedTuple struct {
	Time   int64 // Time of the event
	Params any
}

type VolumePriceData

type VolumePriceData struct {
	Volume float64
	Price  float64
}

Jump to

Keyboard shortcuts

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