parentorder

package
v0.0.0-...-81d47fe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parameter

type Parameter struct {
	ProductCode   types.ProductCode `json:"product_code"`
	ConditionType string            `json:"condition_type"`
	Side          types.Side        `json:"side"`
	Price         float64           `json:"price"`
	Size          float64           `json:"size"`
	TriggerPrice  int               `json:"trigger_price"`
	Offset        int               `json:"offset"`
}

type Request

type Request struct {
	ParentOrderAcceptanceID string `url:"parent_order_acceptance_id"`
}

func (*Request) Endpoint

func (req *Request) Endpoint() string

func (*Request) Method

func (req *Request) Method() string

func (*Request) Payload

func (req *Request) Payload() []byte

func (*Request) Query

func (req *Request) Query() string

type Response

type Response struct {
	ID                      int               `json:"id"`
	ParentOrderID           string            `json:"parent_order_id"`
	OrderMethod             string            `json:"order_method"`
	ExpireDate              time.BitFlyerTime `json:"expire_date"`
	Parameters              []Parameter       `json:"parameters"`
	ParentOrderAcceptanceID string            `json:"parent_order_acceptance_id"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL