stackfuncs

package
v0.0.0-...-74f9a32 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Abs

type Abs struct {
}

func NewAbs

func NewAbs() *Abs

func (*Abs) Arguments

func (l *Abs) Arguments() []*engine.Argument

func (*Abs) BaseType

func (l *Abs) BaseType() string

func (*Abs) Name

func (l *Abs) Name() string

func (*Abs) Run

func (l *Abs) Run(options *engine.Options, now time.Time, accountId string, isTest bool) (interface{}, error)

type ActionBuyMarket

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

func (*ActionBuyMarket) Arguments

func (a *ActionBuyMarket) Arguments() []*engine.Argument

func (*ActionBuyMarket) BaseType

func (a *ActionBuyMarket) BaseType() string

func (*ActionBuyMarket) Name

func (a *ActionBuyMarket) Name() string

func (*ActionBuyMarket) Run

func (a *ActionBuyMarket) Run(options *engine.Options, now time.Time, accountId string, isTest bool) (interface{}, error)

type ActionSellMarket

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

func (*ActionSellMarket) Arguments

func (a *ActionSellMarket) Arguments() []*engine.Argument

func (*ActionSellMarket) BaseType

func (a *ActionSellMarket) BaseType() string

func (*ActionSellMarket) Name

func (a *ActionSellMarket) Name() string

func (*ActionSellMarket) Run

func (a *ActionSellMarket) Run(options *engine.Options, now time.Time, accountId string, isTest bool) (interface{}, error)

type ActionStopLoss

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

func (*ActionStopLoss) Arguments

func (a *ActionStopLoss) Arguments() []*engine.Argument

func (*ActionStopLoss) BaseType

func (a *ActionStopLoss) BaseType() string

func (*ActionStopLoss) Name

func (a *ActionStopLoss) Name() string

func (*ActionStopLoss) Run

func (a *ActionStopLoss) Run(options *engine.Options, now time.Time, accountId string, isTest bool) (interface{}, error)

type ActionTakeProfit

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

func (*ActionTakeProfit) Arguments

func (a *ActionTakeProfit) Arguments() []*engine.Argument

func (*ActionTakeProfit) BaseType

func (a *ActionTakeProfit) BaseType() string

func (*ActionTakeProfit) Name

func (a *ActionTakeProfit) Name() string

func (*ActionTakeProfit) Run

func (a *ActionTakeProfit) Run(options *engine.Options, now time.Time, accountId string, isTest bool) (interface{}, error)

type Add

type Add struct {
}

func NewAdd

func NewAdd() *Add

func (*Add) Arguments

func (l *Add) Arguments() []*engine.Argument

func (*Add) BaseType

func (l *Add) BaseType() string

func (*Add) Name

func (l *Add) Name() string

func (*Add) Run

func (l *Add) Run(options *engine.Options, now time.Time, accountId string, isTest bool) (interface{}, error)

type Boolean

type Boolean struct {
}

func NewBoolean

func NewBoolean() *Boolean

func (*Boolean) Arguments

func (b *Boolean) Arguments() []*engine.Argument

func (*Boolean) BaseType

func (b *Boolean) BaseType() string

func (*Boolean) Name

func (b *Boolean) Name() string

func (*Boolean) Run

func (b *Boolean) Run(options *engine.Options, now time.Time, accountId string, isTest bool) (interface{}, error)

type Decimal

type Decimal struct {
}

func NewDecimal

func NewDecimal() *Decimal

func (*Decimal) Arguments

func (b *Decimal) Arguments() []*engine.Argument

func (*Decimal) BaseType

func (b *Decimal) BaseType() string

func (*Decimal) Name

func (b *Decimal) Name() string

func (*Decimal) Run

func (b *Decimal) Run(options *engine.Options, now time.Time, accountId string, isTest bool) (interface{}, error)

type Div

type Div struct {
}

func NewDiv

func NewDiv() *Div

func (*Div) Arguments

func (l *Div) Arguments() []*engine.Argument

func (*Div) BaseType

func (l *Div) BaseType() string

func (*Div) Name

func (l *Div) Name() string

func (*Div) Run

func (l *Div) Run(options *engine.Options, now time.Time, accountId string, isTest bool) (interface{}, error)

type Eq

type Eq struct {
}

func NewEq

func NewEq() *Eq

func (*Eq) Arguments

func (l *Eq) Arguments() []*engine.Argument

func (*Eq) BaseType

func (l *Eq) BaseType() string

func (*Eq) Name

func (l *Eq) Name() string

func (*Eq) Run

func (l *Eq) Run(options *engine.Options, now time.Time, accountId string, isTest bool) (interface{}, error)

type FigiByTicker

type FigiByTicker struct {
}

func NewFigiByTicker

func NewFigiByTicker() *FigiByTicker

func (*FigiByTicker) Arguments

func (f *FigiByTicker) Arguments() []*engine.Argument

func (*FigiByTicker) BaseType

func (f *FigiByTicker) BaseType() string

func (*FigiByTicker) Name

func (f *FigiByTicker) Name() string

func (*FigiByTicker) Run

func (f *FigiByTicker) Run(options *engine.Options, now time.Time, accountId string, isTest bool) (interface{}, error)

type Ge

type Ge struct {
}

func NewGe

func NewGe() *Ge

func (*Ge) Arguments

func (g *Ge) Arguments() []*engine.Argument

func (*Ge) BaseType

func (g *Ge) BaseType() string

func (*Ge) Name

func (g *Ge) Name() string

func (*Ge) Run

func (g *Ge) Run(options *engine.Options, now time.Time, accountId string, isTest bool) (interface{}, error)

type InOrdersBuyMarketLots

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

func NewInOrdersBuyMarketLots

func NewInOrdersBuyMarketLots(api apiclient.ApiClient) *InOrdersBuyMarketLots

func (*InOrdersBuyMarketLots) Arguments

func (a *InOrdersBuyMarketLots) Arguments() []*engine.Argument

func (*InOrdersBuyMarketLots) BaseType

func (a *InOrdersBuyMarketLots) BaseType() string

func (*InOrdersBuyMarketLots) Name

func (a *InOrdersBuyMarketLots) Name() string

func (*InOrdersBuyMarketLots) Run

func (a *InOrdersBuyMarketLots) Run(options *engine.Options, now time.Time, accountId string, isTest bool) (interface{}, error)

type InOrdersSellMarketLots

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

func NewInOrdersSellMarketLots

func NewInOrdersSellMarketLots(api apiclient.ApiClient) *InOrdersSellMarketLots

func (*InOrdersSellMarketLots) Arguments

func (a *InOrdersSellMarketLots) Arguments() []*engine.Argument

func (*InOrdersSellMarketLots) BaseType

func (a *InOrdersSellMarketLots) BaseType() string

func (*InOrdersSellMarketLots) Name

func (a *InOrdersSellMarketLots) Name() string

func (*InOrdersSellMarketLots) Run

func (a *InOrdersSellMarketLots) Run(options *engine.Options, now time.Time, accountId string, isTest bool) (interface{}, error)

type Integer

type Integer struct {
}

func NewInteger

func NewInteger() *Integer

func (*Integer) Arguments

func (i *Integer) Arguments() []*engine.Argument

func (*Integer) BaseType

func (i *Integer) BaseType() string

func (*Integer) Name

func (i *Integer) Name() string

func (*Integer) Run

func (i *Integer) Run(options *engine.Options, now time.Time, accountId string, isTest bool) (interface{}, error)

type Le

type Le struct {
}

func NewLe

func NewLe() *Le

func (*Le) Arguments

func (l *Le) Arguments() []*engine.Argument

func (*Le) BaseType

func (l *Le) BaseType() string

func (*Le) Name

func (l *Le) Name() string

func (*Le) Run

func (l *Le) Run(options *engine.Options, now time.Time, accountId string, isTest bool) (interface{}, error)

type Mod

type Mod struct {
}

func NewMod

func NewMod() *Mod

func (*Mod) Arguments

func (l *Mod) Arguments() []*engine.Argument

func (*Mod) BaseType

func (l *Mod) BaseType() string

func (*Mod) Name

func (l *Mod) Name() string

func (*Mod) Run

func (l *Mod) Run(options *engine.Options, now time.Time, accountId string, isTest bool) (interface{}, error)

type Mul

type Mul struct {
}

func NewMul

func NewMul() *Mul

func (*Mul) Arguments

func (l *Mul) Arguments() []*engine.Argument

func (*Mul) BaseType

func (l *Mul) BaseType() string

func (*Mul) Name

func (l *Mul) Name() string

func (*Mul) Run

func (l *Mul) Run(options *engine.Options, now time.Time, accountId string, isTest bool) (interface{}, error)

type Ne

type Ne struct {
}

func NewNe

func NewNe() *Ne

func (*Ne) Arguments

func (l *Ne) Arguments() []*engine.Argument

func (*Ne) BaseType

func (l *Ne) BaseType() string

func (*Ne) Name

func (l *Ne) Name() string

func (*Ne) Run

func (l *Ne) Run(options *engine.Options, now time.Time, accountId string, isTest bool) (interface{}, error)

type PortfolioLots

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

func NewPortfolioLots

func NewPortfolioLots(api apiclient.ApiClient) *PortfolioLots

func (*PortfolioLots) Arguments

func (a *PortfolioLots) Arguments() []*engine.Argument

func (*PortfolioLots) BaseType

func (a *PortfolioLots) BaseType() string

func (*PortfolioLots) Name

func (a *PortfolioLots) Name() string

func (*PortfolioLots) Run

func (a *PortfolioLots) Run(options *engine.Options, now time.Time, accountId string, isTest bool) (interface{}, error)

type Round

type Round struct {
}

func NewRound

func NewRound() *Round

func (*Round) Arguments

func (l *Round) Arguments() []*engine.Argument

func (*Round) BaseType

func (l *Round) BaseType() string

func (*Round) Name

func (l *Round) Name() string

func (*Round) Run

func (l *Round) Run(options *engine.Options, now time.Time, accountId string, isTest bool) (interface{}, error)

type Rsi

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

func NewRsi

func NewRsi(marketData *datamanager.MarketData) *Rsi

func (*Rsi) Arguments

func (r *Rsi) Arguments() []*engine.Argument

func (*Rsi) BaseType

func (r *Rsi) BaseType() string

func (*Rsi) Name

func (r *Rsi) Name() string

func (*Rsi) Run

func (r *Rsi) Run(options *engine.Options, now time.Time, accountId string, isTest bool) (interface{}, error)

type String

type String struct {
}

func NewString

func NewString() *String

func (*String) Arguments

func (s *String) Arguments() []*engine.Argument

func (*String) BaseType

func (s *String) BaseType() string

func (*String) Name

func (s *String) Name() string

func (*String) Run

func (s *String) Run(options *engine.Options, now time.Time, accountId string, isTest bool) (interface{}, error)

type Sub

type Sub struct {
}

func NewSub

func NewSub() *Sub

func (*Sub) Arguments

func (l *Sub) Arguments() []*engine.Argument

func (*Sub) BaseType

func (l *Sub) BaseType() string

func (*Sub) Name

func (l *Sub) Name() string

func (*Sub) Run

func (l *Sub) Run(options *engine.Options, now time.Time, accountId string, isTest bool) (interface{}, error)

Jump to

Keyboard shortcuts

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