Documentation ¶
Index ¶
Constants ¶
View Source
const ( ChannelExecutionsBTCJPY = "lightning_executions_BTC_JPY" ChannelExecutionsFXBTCJPY = "lightning_executions_FX_BTC_JPY" ChannelExecutionsETHJPY = "lightning_executions_ETH_JPY" )
Variables ¶
This section is empty.
Functions ¶
func NewChannel ¶
func NewChannel(name string) json.RawMessage
Types ¶
type Execution ¶
type Execution struct { ID int `json:"id"` Side string `json:"side"` Size float64 `json:"size"` Price float64 `json:"price"` ExecDate string `json:"exec_date"` BuyChildOrderAcceptanceID string `json:"buy_child_order_acceptance_id"` SellChildOrderAcceptanceID string `json:"sell_child_order_acceptance_id"` }
func (Execution) Generalize ¶
type ExecutionsParam ¶
type ResponseExecutions ¶
type ResponseExecutions struct { Version string `json:"jsonrpc"` Method string `json:"method"` Params ExecutionsParam `json:"params"` Result interface{} `json:"result"` ID *int `json:"id"` }
Click to show internal directories.
Click to hide internal directories.