strategy

package
v0.0.0-...-b8850bc Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2024 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StrategyClient

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

func NewStrategyClient

func NewStrategyClient(strategy ingenium.Strategy, symbols []string, opts ...StrategyOption) *StrategyClient

func (*StrategyClient) Close

func (c *StrategyClient) Close()

func (*StrategyClient) SendSignalEvent

func (c *StrategyClient) SendSignalEvent(e ingenium.SignalEvent) error

type StrategyOption

type StrategyOption func(*StrategyClient)

func WithNatsServer

func WithNatsServer(server string) StrategyOption

WithNatsServer sets the nats-server address. Default is http://0.0.0.0:4022

Jump to

Keyboard shortcuts

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