strategy

package
v0.0.0-...-9e6d8ee Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2021 License: MIT Imports: 2 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrokersRegister

type BrokersRegister struct {
	ID       string   `json:"id"`
	Strategy []string `json:"strategy"`
}

BrokersRegister -

type CompleteCalculation

type CompleteCalculation struct {
	ServerTime time.Time `json:"serverTime"`
	AssetID    string    `json:"assetId"`
	StrategyID string    `json:"strategyId"`
}

CompleteCalculation -

type SendingSignal

type SendingSignal struct {
	Signal           indicator.Signal                       `json:"signal"`
	ServerTime       time.Time                              `json:"serverTime"`
	AssetID          string                                 `json:"assetId"`
	StrategyID       string                                 `json:"strategyId"`
	ResultsIndicator map[string]map[string]indicator.Result `json:"resultsIndicator"`
}

SendingSignal -

type Strategy

type Strategy struct {
	UserID    string                `json:"userId"`
	CreatedAt int64                 `json:"createdAt"`
	UpdatedAt int64                 `json:"updatedAt"`
	Hash      string                `json:"hash"`
	Name      string                `json:"name"`
	Indicator []indicator.Indicator `json:"indicator"`
	Group     []indicator.Group
	Assets    []string `json:"assets"`
	Active    bool     `json:"active"`
}

Strategy -

type UpdateRatesTimeSync

type UpdateRatesTimeSync struct {
	ProviderID string
	Time       int64
}

UpdateRatesTimeSync -

Jump to

Keyboard shortcuts

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