Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONMessageBody ¶
type JSONMessageBody struct { Signal float64 `json:"sig,omitempty"` Ticker string `json:"ticker,omitempty"` AtrTP float64 `json:"atrtp,omitempty"` AtrSL float64 `json:"atrsl,omitempty"` Risk float64 `json:"risk,omitempty"` Exchange string `json:"exchange,omitempty"` Text string `json:"text,omitempty"` Sub string `json:"sub,omitempty"` }
type LogMessage ¶
type NotificationBody ¶
type NotificationBody struct {
Content string `json:"content"`
}
type PositionInfo ¶
type ReadLogMessage ¶
type ReadLogMessage struct {
Resp chan LogMessage
}
type ReadPositionsInfo ¶
type ReadPositionsInfo struct {
Resp chan map[string]PositionInfo
}
type ReadPriceOp ¶
type WriteLogMessage ¶
type WriteLogMessage struct { Val LogMessage Resp chan bool }
type WritePositionsInfo ¶
type WritePositionsInfo struct { Key string PositionInfo PositionInfo Resp chan bool }
type WritePriceOp ¶
Click to show internal directories.
Click to hide internal directories.