Documentation
¶
Index ¶
Constants ¶
View Source
const ( OrderSideASK = "ASK" OrderSideBID = "BID" OrderTypeLimit = "LIMIT" OrderTypeMarket = "MARKET" TransferSourceCancel = "CANCEL" TransferSourceRefund = "REFUND" TransferSourceMatch = "MATCH" TradeSideMaker = "MAKER" TradeSideTaker = "TAKER" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OrderAction ¶
type OrderAction struct { S string // side A uuid.UUID // asset P string // price T string // type M uuid.UUID // merchant }
func ParsePutOrder ¶ added in v1.1.7
func ParsePutOrder(memo string) (*OrderAction, error)
func (*OrderAction) Encode ¶
func (action *OrderAction) Encode() (string, error)
type PutOrderInput ¶
type PutOrderOutput ¶
func PutOrder ¶
func PutOrder(input *PutOrderInput) (*PutOrderOutput, error)
type TransferAction ¶
type TransferAction struct { S string // source O uuid.UUID // order A uuid.UUID // asset id P string // price C string // category, bid or ask }
func ParseTransfer ¶
func ParseTransfer(memo string) (*TransferAction, error)
Click to show internal directories.
Click to hide internal directories.