Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CancelRequest ¶
type CancelRequest struct {
ID int64
}
func (*CancelRequest) MarshalJSON ¶
func (cr *CancelRequest) MarshalJSON() ([]byte, error)
MarshalJSON converts the offer cancel object into the format required by the bitfinex websocket service.
func (*CancelRequest) ToJSON ¶
func (cr *CancelRequest) ToJSON() ([]byte, error)
type Offer ¶
type SubmitRequest ¶
type SubmitRequest struct { Type string Symbol string Amount float64 Rate float64 Period int64 Hidden bool }
func (*SubmitRequest) MarshalJSON ¶
func (sr *SubmitRequest) MarshalJSON() ([]byte, error)
MarshalJSON converts the offer submit object into the format required by the bitfinex websocket service.
func (*SubmitRequest) ToJSON ¶
func (sr *SubmitRequest) ToJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.