Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MessageShow string = "Message.Debug"
View Source
var OrderCloseLong string = "Order.Close.Long"
View Source
var OrderCloseShort string = "Order.Close.Short"
View Source
var OrderOpenLong string = "Order.Open.Long"
View Source
var OrderOpenShort string = "Order.Open.Short"
Functions ¶
func GetSimpleBundle ¶
Types ¶
type OrderPayload ¶
type OrderPayload struct { Symbol string `json:"symbol" db:"symbol"` Side types.SideType `json:"side" db:"side"` Quantity fixedpoint.Value `json:"quantity" db:"quantity"` Price fixedpoint.Value `json:"price" db:"price"` }
type Strategy ¶
type Strategy struct {
// contains filtered or unexported fields
}
func NewStragegy ¶
func NewStragegy() *Strategy
Click to show internal directories.
Click to hide internal directories.