executions

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 Execution

type Execution struct {
	ID                         int               `json:"id"`
	Side                       types.Side        `json:"side"`
	Price                      float64           `json:"price"`
	Size                       float64           `json:"size"`
	ExecDate                   time.BitFlyerTime `json:"exec_date"`
	BuyChildOrderAcceptanceID  string            `json:"buy_child_order_acceptance_id"`
	SellChildOrderAcceptanceID string            `json:"sell_child_order_acceptance_id"`
}

type Request

type Request struct {
	ProductCode types.ProductCode `url:"product_code"`
	Count       int               `url:"count,omitempty"`
	Before      int               `url:"before,omitempty"`
	After       int               `url:"after,omitempty"`
}

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 []Execution

Jump to

Keyboard shortcuts

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