runtime

package
v0.0.0-...-dd5eb55 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitMessageListener

func InitMessageListener()

Types

type Trade

type Trade struct {
	TradeType    db.TradeType `json:"tradeType"`
	EntryTime    *time.Time   `json:"entryTime"`
	EntryValue   float64      `json:"entryValue"`
	ExitTime     *time.Time   `json:"exitTime"`
	ExitValue    float64      `json:"exitValue"`
	GrossProfit  float64      `json:"grossProfit"`
	NumContracts int          `json:"numContracts"`
}

type TradeMessage

type TradeMessage struct {
	TradingSystemId uint     `json:"tradingSystemId"`
	Trades          []*Trade `json:"trades"`
}

Jump to

Keyboard shortcuts

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