live

package
v0.2.32 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: AGPL-3.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CronBacktestInLive added in v0.2.18

func CronBacktestInLive()

func CronCheckTriggerOds

func CronCheckTriggerOds()

func CronDumpStratOutputs added in v0.2.18

func CronDumpStratOutputs()

func CronFatalLossCheck

func CronFatalLossCheck()

func CronKlineDelays

func CronKlineDelays(dp *data.LiveProvider)

func CronKlineSummary

func CronKlineSummary()

func CronLoadMarkets

func CronLoadMarkets()

func CronRefreshPairs

func CronRefreshPairs(dp data.IProvider)

func FetchHourKlines added in v0.2.28

func FetchHourKlines(dp *data.LiveProvider)

func RunTradeClose added in v0.1.33

func RunTradeClose(args []string) error

func StartLoopBalancePositions added in v0.2.5

func StartLoopBalancePositions()

Types

type CryptoTrader

type CryptoTrader struct {
	biz.Trader
	// contains filtered or unexported fields
}

func NewCryptoTrader

func NewCryptoTrader() *CryptoTrader

func (*CryptoTrader) FeedKLine

func (t *CryptoTrader) FeedKLine(bar *orm.InfoKline)

func (*CryptoTrader) Init

func (t *CryptoTrader) Init() *errs.Error

func (*CryptoTrader) Run

func (t *CryptoTrader) Run() *errs.Error

Jump to

Keyboard shortcuts

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