http

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package http provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.

Index

Constants

View Source
const (
	ApiKeyAuthScopes   = "ApiKeyAuth.Scopes"
	ApiSignScopes      = "ApiSign.Scopes"
	ApiTimestampScopes = "ApiTimestamp.Scopes"
)

Variables

This section is empty.

Functions

func NewGetV1BoardRequest

func NewGetV1BoardRequest(server string, params *GetV1BoardParams) (*http.Request, error)

NewGetV1BoardRequest generates requests for GetV1Board

func NewGetV1ExecutionsRequest

func NewGetV1ExecutionsRequest(server string, params *GetV1ExecutionsParams) (*http.Request, error)

NewGetV1ExecutionsRequest generates requests for GetV1Executions

func NewGetV1GetboardRequest

func NewGetV1GetboardRequest(server string, params *GetV1GetboardParams) (*http.Request, error)

NewGetV1GetboardRequest generates requests for GetV1Getboard

func NewGetV1GetboardstateRequest

func NewGetV1GetboardstateRequest(server string, params *GetV1GetboardstateParams) (*http.Request, error)

NewGetV1GetboardstateRequest generates requests for GetV1Getboardstate

func NewGetV1GetchatsEuRequest

func NewGetV1GetchatsEuRequest(server string, params *GetV1GetchatsEuParams) (*http.Request, error)

NewGetV1GetchatsEuRequest generates requests for GetV1GetchatsEu

func NewGetV1GetchatsRequest

func NewGetV1GetchatsRequest(server string, params *GetV1GetchatsParams) (*http.Request, error)

NewGetV1GetchatsRequest generates requests for GetV1Getchats

func NewGetV1GetchatsUsaRequest

func NewGetV1GetchatsUsaRequest(server string, params *GetV1GetchatsUsaParams) (*http.Request, error)

NewGetV1GetchatsUsaRequest generates requests for GetV1GetchatsUsa

func NewGetV1GetcorporateleverageRequest

func NewGetV1GetcorporateleverageRequest(server string) (*http.Request, error)

NewGetV1GetcorporateleverageRequest generates requests for GetV1Getcorporateleverage

func NewGetV1GetexecutionsRequest

func NewGetV1GetexecutionsRequest(server string, params *GetV1GetexecutionsParams) (*http.Request, error)

NewGetV1GetexecutionsRequest generates requests for GetV1Getexecutions

func NewGetV1GetfundingrateRequest

func NewGetV1GetfundingrateRequest(server string, params *GetV1GetfundingrateParams) (*http.Request, error)

NewGetV1GetfundingrateRequest generates requests for GetV1Getfundingrate

func NewGetV1GethealthRequest

func NewGetV1GethealthRequest(server string, params *GetV1GethealthParams) (*http.Request, error)

NewGetV1GethealthRequest generates requests for GetV1Gethealth

func NewGetV1GetmarketsEuRequest

func NewGetV1GetmarketsEuRequest(server string) (*http.Request, error)

NewGetV1GetmarketsEuRequest generates requests for GetV1GetmarketsEu

func NewGetV1GetmarketsRequest

func NewGetV1GetmarketsRequest(server string) (*http.Request, error)

NewGetV1GetmarketsRequest generates requests for GetV1Getmarkets

func NewGetV1GetmarketsUsaRequest

func NewGetV1GetmarketsUsaRequest(server string) (*http.Request, error)

NewGetV1GetmarketsUsaRequest generates requests for GetV1GetmarketsUsa

func NewGetV1GettickerRequest

func NewGetV1GettickerRequest(server string, params *GetV1GettickerParams) (*http.Request, error)

NewGetV1GettickerRequest generates requests for GetV1Getticker

func NewGetV1MarketsEuRequest

func NewGetV1MarketsEuRequest(server string) (*http.Request, error)

NewGetV1MarketsEuRequest generates requests for GetV1MarketsEu

func NewGetV1MarketsRequest

func NewGetV1MarketsRequest(server string) (*http.Request, error)

NewGetV1MarketsRequest generates requests for GetV1Markets

func NewGetV1MarketsUsaRequest

func NewGetV1MarketsUsaRequest(server string) (*http.Request, error)

NewGetV1MarketsUsaRequest generates requests for GetV1MarketsUsa

func NewGetV1MeGetaddressesRequest

func NewGetV1MeGetaddressesRequest(server string) (*http.Request, error)

NewGetV1MeGetaddressesRequest generates requests for GetV1MeGetaddresses

func NewGetV1MeGetbalanceRequest

func NewGetV1MeGetbalanceRequest(server string) (*http.Request, error)

NewGetV1MeGetbalanceRequest generates requests for GetV1MeGetbalance

func NewGetV1MeGetbalancehistoryRequest

func NewGetV1MeGetbalancehistoryRequest(server string, params *GetV1MeGetbalancehistoryParams) (*http.Request, error)

NewGetV1MeGetbalancehistoryRequest generates requests for GetV1MeGetbalancehistory

func NewGetV1MeGetbankaccountsRequest

func NewGetV1MeGetbankaccountsRequest(server string) (*http.Request, error)

NewGetV1MeGetbankaccountsRequest generates requests for GetV1MeGetbankaccounts

func NewGetV1MeGetchildordersRequest

func NewGetV1MeGetchildordersRequest(server string, params *GetV1MeGetchildordersParams) (*http.Request, error)

NewGetV1MeGetchildordersRequest generates requests for GetV1MeGetchildorders

func NewGetV1MeGetcoininsRequest

func NewGetV1MeGetcoininsRequest(server string, params *GetV1MeGetcoininsParams) (*http.Request, error)

NewGetV1MeGetcoininsRequest generates requests for GetV1MeGetcoinins

func NewGetV1MeGetcoinoutsRequest

func NewGetV1MeGetcoinoutsRequest(server string, params *GetV1MeGetcoinoutsParams) (*http.Request, error)

NewGetV1MeGetcoinoutsRequest generates requests for GetV1MeGetcoinouts

func NewGetV1MeGetcollateralRequest

func NewGetV1MeGetcollateralRequest(server string) (*http.Request, error)

NewGetV1MeGetcollateralRequest generates requests for GetV1MeGetcollateral

func NewGetV1MeGetcollateralaccountsRequest

func NewGetV1MeGetcollateralaccountsRequest(server string) (*http.Request, error)

NewGetV1MeGetcollateralaccountsRequest generates requests for GetV1MeGetcollateralaccounts

func NewGetV1MeGetcollateralhistoryRequest

func NewGetV1MeGetcollateralhistoryRequest(server string, params *GetV1MeGetcollateralhistoryParams) (*http.Request, error)

NewGetV1MeGetcollateralhistoryRequest generates requests for GetV1MeGetcollateralhistory

func NewGetV1MeGetdepositsRequest

func NewGetV1MeGetdepositsRequest(server string, params *GetV1MeGetdepositsParams) (*http.Request, error)

NewGetV1MeGetdepositsRequest generates requests for GetV1MeGetdeposits

func NewGetV1MeGetexecutionsRequest

func NewGetV1MeGetexecutionsRequest(server string, params *GetV1MeGetexecutionsParams) (*http.Request, error)

NewGetV1MeGetexecutionsRequest generates requests for GetV1MeGetexecutions

func NewGetV1MeGetparentorderRequest

func NewGetV1MeGetparentorderRequest(server string, params *GetV1MeGetparentorderParams) (*http.Request, error)

NewGetV1MeGetparentorderRequest generates requests for GetV1MeGetparentorder

func NewGetV1MeGetparentordersRequest

func NewGetV1MeGetparentordersRequest(server string, params *GetV1MeGetparentordersParams) (*http.Request, error)

NewGetV1MeGetparentordersRequest generates requests for GetV1MeGetparentorders

func NewGetV1MeGetpermissionsRequest

func NewGetV1MeGetpermissionsRequest(server string) (*http.Request, error)

NewGetV1MeGetpermissionsRequest generates requests for GetV1MeGetpermissions

func NewGetV1MeGetpositionsRequest

func NewGetV1MeGetpositionsRequest(server string, params *GetV1MeGetpositionsParams) (*http.Request, error)

NewGetV1MeGetpositionsRequest generates requests for GetV1MeGetpositions

func NewGetV1MeGettradingcommissionRequest

func NewGetV1MeGettradingcommissionRequest(server string, params *GetV1MeGettradingcommissionParams) (*http.Request, error)

NewGetV1MeGettradingcommissionRequest generates requests for GetV1MeGettradingcommission

func NewGetV1MeGetwithdrawalsRequest

func NewGetV1MeGetwithdrawalsRequest(server string, params *GetV1MeGetwithdrawalsParams) (*http.Request, error)

NewGetV1MeGetwithdrawalsRequest generates requests for GetV1MeGetwithdrawals

func NewGetV1TickerRequest

func NewGetV1TickerRequest(server string, params *GetV1TickerParams) (*http.Request, error)

NewGetV1TickerRequest generates requests for GetV1Ticker

func NewPostV1MeCancelallchildordersRequest

func NewPostV1MeCancelallchildordersRequest(server string, body PostV1MeCancelallchildordersJSONRequestBody) (*http.Request, error)

NewPostV1MeCancelallchildordersRequest calls the generic PostV1MeCancelallchildorders builder with application/json body

func NewPostV1MeCancelallchildordersRequestWithBody

func NewPostV1MeCancelallchildordersRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV1MeCancelallchildordersRequestWithBody generates requests for PostV1MeCancelallchildorders with any type of body

func NewPostV1MeCancelchildorderRequest

func NewPostV1MeCancelchildorderRequest(server string, body PostV1MeCancelchildorderJSONRequestBody) (*http.Request, error)

NewPostV1MeCancelchildorderRequest calls the generic PostV1MeCancelchildorder builder with application/json body

func NewPostV1MeCancelchildorderRequestWithBody

func NewPostV1MeCancelchildorderRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV1MeCancelchildorderRequestWithBody generates requests for PostV1MeCancelchildorder with any type of body

func NewPostV1MeCancelparentorderRequest

func NewPostV1MeCancelparentorderRequest(server string, body PostV1MeCancelparentorderJSONRequestBody) (*http.Request, error)

NewPostV1MeCancelparentorderRequest calls the generic PostV1MeCancelparentorder builder with application/json body

func NewPostV1MeCancelparentorderRequestWithBody

func NewPostV1MeCancelparentorderRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV1MeCancelparentorderRequestWithBody generates requests for PostV1MeCancelparentorder with any type of body

func NewPostV1MeSendchildorderRequest

func NewPostV1MeSendchildorderRequest(server string, body PostV1MeSendchildorderJSONRequestBody) (*http.Request, error)

NewPostV1MeSendchildorderRequest calls the generic PostV1MeSendchildorder builder with application/json body

func NewPostV1MeSendchildorderRequestWithBody

func NewPostV1MeSendchildorderRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV1MeSendchildorderRequestWithBody generates requests for PostV1MeSendchildorder with any type of body

func NewPostV1MeSendparentorderRequest

func NewPostV1MeSendparentorderRequest(server string, body PostV1MeSendparentorderJSONRequestBody) (*http.Request, error)

NewPostV1MeSendparentorderRequest calls the generic PostV1MeSendparentorder builder with application/json body

func NewPostV1MeSendparentorderRequestWithBody

func NewPostV1MeSendparentorderRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV1MeSendparentorderRequestWithBody generates requests for PostV1MeSendparentorder with any type of body

func NewPostV1MeWithdrawRequest

func NewPostV1MeWithdrawRequest(server string, body PostV1MeWithdrawJSONRequestBody) (*http.Request, error)

NewPostV1MeWithdrawRequest calls the generic PostV1MeWithdraw builder with application/json body

func NewPostV1MeWithdrawRequestWithBody

func NewPostV1MeWithdrawRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostV1MeWithdrawRequestWithBody generates requests for PostV1MeWithdraw with any type of body

Types

type Address

type Address struct {
	// Address アドレス
	Address *string `json:"address,omitempty"`

	// CurrencyCode 通貨
	CurrencyCode *string `json:"currency_code,omitempty"`

	// Type 種別 (NORMAL など)
	Type *string `json:"type,omitempty"`
}

Address defines model for Address.

type After

type After = int

After defines model for after.

type AuthOption

type AuthOption func(*AuthenticatedClient)

AuthOption is a function that modifies the authenticated client

func WithCustomHTTPClient

func WithCustomHTTPClient(httpClient *http.Client) AuthOption

WithCustomHTTPClient sets a custom HTTP client

type AuthenticatedClient

type AuthenticatedClient struct {
	// contains filtered or unexported fields
}

AuthenticatedClient wraps the generated client with authentication

func NewAuthenticatedClient

func NewAuthenticatedClient(credentials auth.APICredentials, baseURL string, opts ...AuthOption) (*AuthenticatedClient, error)

NewAuthenticatedClient creates a new authenticated API client

func (*AuthenticatedClient) Client

Client returns the underlying generated client

type Balance

type Balance struct {
	// Amount 緋計金額
	Amount *float32 `json:"amount,omitempty"`

	// Available 利用可能金額
	Available *float32 `json:"available,omitempty"`

	// CurrencyCode 通貨
	CurrencyCode *string `json:"currency_code,omitempty"`
}

Balance defines model for Balance.

type BalanceHistory

type BalanceHistory struct {
	// Amount 金額
	Amount *float32 `json:"amount,omitempty"`

	// Balance 残高
	Balance *float32 `json:"balance,omitempty"`

	// Commission 手数料
	Commission *float32 `json:"commission,omitempty"`

	// CurrencyCode 通貨
	CurrencyCode *string `json:"currency_code,omitempty"`

	// EventDate 取得所時間(UTC)
	EventDate *time.Time `json:"event_date,omitempty"`

	// Id ID
	Id *int `json:"id,omitempty"`

	// OrderId order_id
	OrderId *string `json:"order_id,omitempty"`

	// Price 価格
	Price *float32 `json:"price,omitempty"`

	// ProductCode プロダクトコード
	ProductCode *string `json:"product_code,omitempty"`

	// Quantity 数量
	Quantity *float32 `json:"quantity,omitempty"`

	// TradeDate 古いデータ(JST)
	TradeDate *time.Time `json:"trade_date,omitempty"`

	// TradeType 取得所型
	TradeType *BalanceHistoryTradeType `json:"trade_type,omitempty"`
}

BalanceHistory defines model for BalanceHistory.

type BalanceHistoryTradeType

type BalanceHistoryTradeType string

BalanceHistoryTradeType 取得所型

const (
	BalanceHistoryTradeTypeBUY        BalanceHistoryTradeType = "BUY"
	BalanceHistoryTradeTypeCANCELCOLL BalanceHistoryTradeType = "CANCEL_COLL"
	BalanceHistoryTradeTypeDEPOSIT    BalanceHistoryTradeType = "DEPOSIT"
	BalanceHistoryTradeTypeFEE        BalanceHistoryTradeType = "FEE"
	BalanceHistoryTradeTypePAYMENT    BalanceHistoryTradeType = "PAYMENT"
	BalanceHistoryTradeTypePOSTCOLL   BalanceHistoryTradeType = "POST_COLL"
	BalanceHistoryTradeTypeSELL       BalanceHistoryTradeType = "SELL"
	BalanceHistoryTradeTypeTRANSFER   BalanceHistoryTradeType = "TRANSFER"
	BalanceHistoryTradeTypeWITHDRAW   BalanceHistoryTradeType = "WITHDRAW"
)

Defines values for BalanceHistoryTradeType.

type BankAccount

type BankAccount struct {
	// AccountName 口座名義
	AccountName *string `json:"account_name,omitempty"`

	// AccountNumber 口座番号
	AccountNumber *string `json:"account_number,omitempty"`

	// AccountType 口座種別
	AccountType *string `json:"account_type,omitempty"`

	// BankName 銀行名
	BankName *string `json:"bank_name,omitempty"`

	// BranchName 支店名
	BranchName *string `json:"branch_name,omitempty"`

	// Id ID
	Id *int `json:"id,omitempty"`

	// IsVerified 認証済みか
	IsVerified *bool `json:"is_verified,omitempty"`
}

BankAccount defines model for BankAccount.

type Before

type Before = int

Before defines model for before.

type Board

type Board struct {
	// Asks アスクリスト
	Asks *[]BoardEntry `json:"asks,omitempty"`

	// Bids ビッドリスト
	Bids *[]BoardEntry `json:"bids,omitempty"`

	// MidPrice 中間価格
	MidPrice *float32 `json:"mid_price,omitempty"`
}

Board defines model for Board.

type BoardEntry

type BoardEntry struct {
	// Price 価格
	Price *float32 `json:"price,omitempty"`

	// Size 量
	Size *float32 `json:"size,omitempty"`
}

BoardEntry defines model for BoardEntry.

type BoardState

type BoardState struct {
	// Data 詳細データ (MATURED状態のみ)
	Data *struct {
		// SpecialQuotation 総正計
		SpecialQuotation *float32 `json:"special_quotation,omitempty"`
	} `json:"data,omitempty"`

	// Health 取得所状態
	Health *BoardStateHealth `json:"health,omitempty"`

	// State ボード状態
	State *BoardStateState `json:"state,omitempty"`
}

BoardState defines model for BoardState.

type BoardStateHealth

type BoardStateHealth string

BoardStateHealth 取得所状態

const (
	BoardStateHealthBUSY      BoardStateHealth = "BUSY"
	BoardStateHealthNOORDER   BoardStateHealth = "NO ORDER"
	BoardStateHealthNORMAL    BoardStateHealth = "NORMAL"
	BoardStateHealthSTOP      BoardStateHealth = "STOP"
	BoardStateHealthSUPERBUSY BoardStateHealth = "SUPER BUSY"
	BoardStateHealthVERYBUSY  BoardStateHealth = "VERY BUSY"
)

Defines values for BoardStateHealth.

type BoardStateState

type BoardStateState string

BoardStateState ボード状態

const (
	CIRCUITBREAK BoardStateState = "CIRCUIT BREAK"
	CLOSED       BoardStateState = "CLOSED"
	MATURED      BoardStateState = "MATURED"
	PREOPEN      BoardStateState = "PREOPEN"
	RUNNING      BoardStateState = "RUNNING"
	STARTING     BoardStateState = "STARTING"
)

Defines values for BoardStateState.

type CancelAllOrdersRequest

type CancelAllOrdersRequest struct {
	// ProductCode キャンセル対象のプロダクトコード
	ProductCode string `json:"product_code"`
}

CancelAllOrdersRequest defines model for CancelAllOrdersRequest.

type CancelChildOrderRequest

type CancelChildOrderRequest struct {
	// ChildOrderAcceptanceId キャンセル対象の API接受ID
	ChildOrderAcceptanceId *string `json:"child_order_acceptance_id,omitempty"`

	// ChildOrderId キャンセル対象の子注文ID
	ChildOrderId *string `json:"child_order_id,omitempty"`

	// ProductCode プロダクトコード
	ProductCode string `json:"product_code"`
}

CancelChildOrderRequest defines model for CancelChildOrderRequest.

type CancelParentOrderRequest

type CancelParentOrderRequest struct {
	// ParentOrderAcceptanceId キャンセル対象の API接受ID
	ParentOrderAcceptanceId *string `json:"parent_order_acceptance_id,omitempty"`

	// ParentOrderId キャンセル対象の親注文ID
	ParentOrderId *string `json:"parent_order_id,omitempty"`

	// ProductCode プロダクトコード
	ProductCode string `json:"product_code"`
}

CancelParentOrderRequest defines model for CancelParentOrderRequest.

type CashDeposit

type CashDeposit struct {
	// Amount 額
	Amount *float32 `json:"amount,omitempty"`

	// CurrencyCode 通貨
	CurrencyCode *string `json:"currency_code,omitempty"`

	// EventDate 日時
	EventDate *time.Time `json:"event_date,omitempty"`

	// Id ID
	Id *int `json:"id,omitempty"`

	// OrderId order_id
	OrderId *string `json:"order_id,omitempty"`

	// Status "PENDING"または"COMPLETED"
	Status *string `json:"status,omitempty"`
}

CashDeposit defines model for CashDeposit.

type ChatMessage

type ChatMessage struct {
	// Date 投稿時間
	Date *time.Time `json:"date,omitempty"`

	// Message メッセージ内容
	Message *string `json:"message,omitempty"`

	// Nickname ニックネーム
	Nickname *string `json:"nickname,omitempty"`
}

ChatMessage defines model for ChatMessage.

type ChildOrder

type ChildOrder struct {
	// AveragePrice 平均清算価格
	AveragePrice *float32 `json:"average_price,omitempty"`

	// CancelSize キャンセル量
	CancelSize *float32 `json:"cancel_size,omitempty"`

	// ChildOrderAcceptanceId API接受ID
	ChildOrderAcceptanceId *string `json:"child_order_acceptance_id,omitempty"`

	// ChildOrderDate 注文日時
	ChildOrderDate *time.Time `json:"child_order_date,omitempty"`

	// ChildOrderId 子注文ID
	ChildOrderId *string `json:"child_order_id,omitempty"`

	// ChildOrderState 注文状態
	ChildOrderState *ChildOrderChildOrderState `json:"child_order_state,omitempty"`

	// ChildOrderType "LIMIT"または"MARKET"
	ChildOrderType *ChildOrderChildOrderType `json:"child_order_type,omitempty"`

	// ExecutedSize 実行済み量
	ExecutedSize *float32 `json:"executed_size,omitempty"`

	// ExpireDate 有効期限
	ExpireDate *time.Time `json:"expire_date,omitempty"`

	// Id ID
	Id *int `json:"id,omitempty"`

	// OutstandingSize 未繰購量
	OutstandingSize *float32 `json:"outstanding_size,omitempty"`

	// Price 注文価格
	Price *float32 `json:"price,omitempty"`

	// ProductCode プロダクトコード
	ProductCode *string `json:"product_code,omitempty"`

	// Side "BUY"または"SELL"
	Side *ChildOrderSide `json:"side,omitempty"`

	// Size 注文量
	Size *float32 `json:"size,omitempty"`

	// TimeInForce "GTC"、"IOC"、"FOK"
	TimeInForce *ChildOrderTimeInForce `json:"time_in_force,omitempty"`

	// TotalCommission 取得手数料
	TotalCommission *float32 `json:"total_commission,omitempty"`
}

ChildOrder defines model for ChildOrder.

type ChildOrderAcceptanceId

type ChildOrderAcceptanceId = string

ChildOrderAcceptanceId defines model for child_order_acceptance_id.

type ChildOrderChildOrderState

type ChildOrderChildOrderState string

ChildOrderChildOrderState 注文状態

const (
	ChildOrderChildOrderStateACTIVE    ChildOrderChildOrderState = "ACTIVE"
	ChildOrderChildOrderStateCANCELED  ChildOrderChildOrderState = "CANCELED"
	ChildOrderChildOrderStateCOMPLETED ChildOrderChildOrderState = "COMPLETED"
	ChildOrderChildOrderStateEXPIRED   ChildOrderChildOrderState = "EXPIRED"
	ChildOrderChildOrderStateREJECTED  ChildOrderChildOrderState = "REJECTED"
)

Defines values for ChildOrderChildOrderState.

type ChildOrderChildOrderType

type ChildOrderChildOrderType string

ChildOrderChildOrderType "LIMIT"または"MARKET"

const (
	ChildOrderChildOrderTypeLIMIT  ChildOrderChildOrderType = "LIMIT"
	ChildOrderChildOrderTypeMARKET ChildOrderChildOrderType = "MARKET"
)

Defines values for ChildOrderChildOrderType.

type ChildOrderId

type ChildOrderId = string

ChildOrderId defines model for child_order_id.

type ChildOrderResult

type ChildOrderResult struct {
	// ChildOrderAcceptanceId 新規注文の接受ID
	ChildOrderAcceptanceId *string `json:"child_order_acceptance_id,omitempty"`
}

ChildOrderResult defines model for ChildOrderResult.

type ChildOrderSide

type ChildOrderSide string

ChildOrderSide "BUY"または"SELL"

const (
	ChildOrderSideBUY  ChildOrderSide = "BUY"
	ChildOrderSideSELL ChildOrderSide = "SELL"
)

Defines values for ChildOrderSide.

type ChildOrderState

type ChildOrderState string

ChildOrderState defines model for child_order_state.

const (
	ChildOrderStateACTIVE    ChildOrderState = "ACTIVE"
	ChildOrderStateCANCELED  ChildOrderState = "CANCELED"
	ChildOrderStateCOMPLETED ChildOrderState = "COMPLETED"
	ChildOrderStateEXPIRED   ChildOrderState = "EXPIRED"
	ChildOrderStateREJECTED  ChildOrderState = "REJECTED"
)

Defines values for ChildOrderState.

type ChildOrderTimeInForce

type ChildOrderTimeInForce string

ChildOrderTimeInForce "GTC"、"IOC"、"FOK"

const (
	ChildOrderTimeInForceFOK ChildOrderTimeInForce = "FOK"
	ChildOrderTimeInForceGTC ChildOrderTimeInForce = "GTC"
	ChildOrderTimeInForceIOC ChildOrderTimeInForce = "IOC"
)

Defines values for ChildOrderTimeInForce.

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) GetV1Board

func (c *Client) GetV1Board(ctx context.Context, params *GetV1BoardParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1Executions

func (c *Client) GetV1Executions(ctx context.Context, params *GetV1ExecutionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1Getboard

func (c *Client) GetV1Getboard(ctx context.Context, params *GetV1GetboardParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1Getboardstate

func (c *Client) GetV1Getboardstate(ctx context.Context, params *GetV1GetboardstateParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1Getchats

func (c *Client) GetV1Getchats(ctx context.Context, params *GetV1GetchatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1GetchatsEu

func (c *Client) GetV1GetchatsEu(ctx context.Context, params *GetV1GetchatsEuParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1GetchatsUsa

func (c *Client) GetV1GetchatsUsa(ctx context.Context, params *GetV1GetchatsUsaParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1Getcorporateleverage

func (c *Client) GetV1Getcorporateleverage(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1Getexecutions

func (c *Client) GetV1Getexecutions(ctx context.Context, params *GetV1GetexecutionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1Getfundingrate

func (c *Client) GetV1Getfundingrate(ctx context.Context, params *GetV1GetfundingrateParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1Gethealth

func (c *Client) GetV1Gethealth(ctx context.Context, params *GetV1GethealthParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1Getmarkets

func (c *Client) GetV1Getmarkets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1GetmarketsEu

func (c *Client) GetV1GetmarketsEu(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1GetmarketsUsa

func (c *Client) GetV1GetmarketsUsa(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1Getticker

func (c *Client) GetV1Getticker(ctx context.Context, params *GetV1GettickerParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1Markets

func (c *Client) GetV1Markets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1MarketsEu

func (c *Client) GetV1MarketsEu(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1MarketsUsa

func (c *Client) GetV1MarketsUsa(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1MeGetaddresses

func (c *Client) GetV1MeGetaddresses(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1MeGetbalance

func (c *Client) GetV1MeGetbalance(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1MeGetbalancehistory

func (c *Client) GetV1MeGetbalancehistory(ctx context.Context, params *GetV1MeGetbalancehistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1MeGetbankaccounts

func (c *Client) GetV1MeGetbankaccounts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1MeGetchildorders

func (c *Client) GetV1MeGetchildorders(ctx context.Context, params *GetV1MeGetchildordersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1MeGetcoinins

func (c *Client) GetV1MeGetcoinins(ctx context.Context, params *GetV1MeGetcoininsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1MeGetcoinouts

func (c *Client) GetV1MeGetcoinouts(ctx context.Context, params *GetV1MeGetcoinoutsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1MeGetcollateral

func (c *Client) GetV1MeGetcollateral(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1MeGetcollateralaccounts

func (c *Client) GetV1MeGetcollateralaccounts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1MeGetcollateralhistory

func (c *Client) GetV1MeGetcollateralhistory(ctx context.Context, params *GetV1MeGetcollateralhistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1MeGetdeposits

func (c *Client) GetV1MeGetdeposits(ctx context.Context, params *GetV1MeGetdepositsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1MeGetexecutions

func (c *Client) GetV1MeGetexecutions(ctx context.Context, params *GetV1MeGetexecutionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1MeGetparentorder

func (c *Client) GetV1MeGetparentorder(ctx context.Context, params *GetV1MeGetparentorderParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1MeGetparentorders

func (c *Client) GetV1MeGetparentorders(ctx context.Context, params *GetV1MeGetparentordersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1MeGetpermissions

func (c *Client) GetV1MeGetpermissions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1MeGetpositions

func (c *Client) GetV1MeGetpositions(ctx context.Context, params *GetV1MeGetpositionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1MeGettradingcommission

func (c *Client) GetV1MeGettradingcommission(ctx context.Context, params *GetV1MeGettradingcommissionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1MeGetwithdrawals

func (c *Client) GetV1MeGetwithdrawals(ctx context.Context, params *GetV1MeGetwithdrawalsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetV1Ticker

func (c *Client) GetV1Ticker(ctx context.Context, params *GetV1TickerParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV1MeCancelallchildorders

func (c *Client) PostV1MeCancelallchildorders(ctx context.Context, body PostV1MeCancelallchildordersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV1MeCancelallchildordersWithBody

func (c *Client) PostV1MeCancelallchildordersWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV1MeCancelchildorder

func (c *Client) PostV1MeCancelchildorder(ctx context.Context, body PostV1MeCancelchildorderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV1MeCancelchildorderWithBody

func (c *Client) PostV1MeCancelchildorderWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV1MeCancelparentorder

func (c *Client) PostV1MeCancelparentorder(ctx context.Context, body PostV1MeCancelparentorderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV1MeCancelparentorderWithBody

func (c *Client) PostV1MeCancelparentorderWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV1MeSendchildorder

func (c *Client) PostV1MeSendchildorder(ctx context.Context, body PostV1MeSendchildorderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV1MeSendchildorderWithBody

func (c *Client) PostV1MeSendchildorderWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV1MeSendparentorder

func (c *Client) PostV1MeSendparentorder(ctx context.Context, body PostV1MeSendparentorderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV1MeSendparentorderWithBody

func (c *Client) PostV1MeSendparentorderWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV1MeWithdraw

func (c *Client) PostV1MeWithdraw(ctx context.Context, body PostV1MeWithdrawJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostV1MeWithdrawWithBody

func (c *Client) PostV1MeWithdrawWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// GetV1Board request
	GetV1Board(ctx context.Context, params *GetV1BoardParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1Executions request
	GetV1Executions(ctx context.Context, params *GetV1ExecutionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1Getboard request
	GetV1Getboard(ctx context.Context, params *GetV1GetboardParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1Getboardstate request
	GetV1Getboardstate(ctx context.Context, params *GetV1GetboardstateParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1Getchats request
	GetV1Getchats(ctx context.Context, params *GetV1GetchatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1GetchatsEu request
	GetV1GetchatsEu(ctx context.Context, params *GetV1GetchatsEuParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1GetchatsUsa request
	GetV1GetchatsUsa(ctx context.Context, params *GetV1GetchatsUsaParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1Getcorporateleverage request
	GetV1Getcorporateleverage(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1Getexecutions request
	GetV1Getexecutions(ctx context.Context, params *GetV1GetexecutionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1Getfundingrate request
	GetV1Getfundingrate(ctx context.Context, params *GetV1GetfundingrateParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1Gethealth request
	GetV1Gethealth(ctx context.Context, params *GetV1GethealthParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1Getmarkets request
	GetV1Getmarkets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1GetmarketsEu request
	GetV1GetmarketsEu(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1GetmarketsUsa request
	GetV1GetmarketsUsa(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1Getticker request
	GetV1Getticker(ctx context.Context, params *GetV1GettickerParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1Markets request
	GetV1Markets(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1MarketsEu request
	GetV1MarketsEu(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1MarketsUsa request
	GetV1MarketsUsa(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1MeCancelallchildordersWithBody request with any body
	PostV1MeCancelallchildordersWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV1MeCancelallchildorders(ctx context.Context, body PostV1MeCancelallchildordersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1MeCancelchildorderWithBody request with any body
	PostV1MeCancelchildorderWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV1MeCancelchildorder(ctx context.Context, body PostV1MeCancelchildorderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1MeCancelparentorderWithBody request with any body
	PostV1MeCancelparentorderWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV1MeCancelparentorder(ctx context.Context, body PostV1MeCancelparentorderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1MeGetaddresses request
	GetV1MeGetaddresses(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1MeGetbalance request
	GetV1MeGetbalance(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1MeGetbalancehistory request
	GetV1MeGetbalancehistory(ctx context.Context, params *GetV1MeGetbalancehistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1MeGetbankaccounts request
	GetV1MeGetbankaccounts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1MeGetchildorders request
	GetV1MeGetchildorders(ctx context.Context, params *GetV1MeGetchildordersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1MeGetcoinins request
	GetV1MeGetcoinins(ctx context.Context, params *GetV1MeGetcoininsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1MeGetcoinouts request
	GetV1MeGetcoinouts(ctx context.Context, params *GetV1MeGetcoinoutsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1MeGetcollateral request
	GetV1MeGetcollateral(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1MeGetcollateralaccounts request
	GetV1MeGetcollateralaccounts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1MeGetcollateralhistory request
	GetV1MeGetcollateralhistory(ctx context.Context, params *GetV1MeGetcollateralhistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1MeGetdeposits request
	GetV1MeGetdeposits(ctx context.Context, params *GetV1MeGetdepositsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1MeGetexecutions request
	GetV1MeGetexecutions(ctx context.Context, params *GetV1MeGetexecutionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1MeGetparentorder request
	GetV1MeGetparentorder(ctx context.Context, params *GetV1MeGetparentorderParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1MeGetparentorders request
	GetV1MeGetparentorders(ctx context.Context, params *GetV1MeGetparentordersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1MeGetpermissions request
	GetV1MeGetpermissions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1MeGetpositions request
	GetV1MeGetpositions(ctx context.Context, params *GetV1MeGetpositionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1MeGettradingcommission request
	GetV1MeGettradingcommission(ctx context.Context, params *GetV1MeGettradingcommissionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1MeGetwithdrawals request
	GetV1MeGetwithdrawals(ctx context.Context, params *GetV1MeGetwithdrawalsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1MeSendchildorderWithBody request with any body
	PostV1MeSendchildorderWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV1MeSendchildorder(ctx context.Context, body PostV1MeSendchildorderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1MeSendparentorderWithBody request with any body
	PostV1MeSendparentorderWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV1MeSendparentorder(ctx context.Context, body PostV1MeSendparentorderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostV1MeWithdrawWithBody request with any body
	PostV1MeWithdrawWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostV1MeWithdraw(ctx context.Context, body PostV1MeWithdrawJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetV1Ticker request
	GetV1Ticker(ctx context.Context, params *GetV1TickerParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) GetV1BoardWithResponse

func (c *ClientWithResponses) GetV1BoardWithResponse(ctx context.Context, params *GetV1BoardParams, reqEditors ...RequestEditorFn) (*GetV1BoardResponse, error)

GetV1BoardWithResponse request returning *GetV1BoardResponse

func (*ClientWithResponses) GetV1ExecutionsWithResponse

func (c *ClientWithResponses) GetV1ExecutionsWithResponse(ctx context.Context, params *GetV1ExecutionsParams, reqEditors ...RequestEditorFn) (*GetV1ExecutionsResponse, error)

GetV1ExecutionsWithResponse request returning *GetV1ExecutionsResponse

func (*ClientWithResponses) GetV1GetboardWithResponse

func (c *ClientWithResponses) GetV1GetboardWithResponse(ctx context.Context, params *GetV1GetboardParams, reqEditors ...RequestEditorFn) (*GetV1GetboardResponse, error)

GetV1GetboardWithResponse request returning *GetV1GetboardResponse

func (*ClientWithResponses) GetV1GetboardstateWithResponse

func (c *ClientWithResponses) GetV1GetboardstateWithResponse(ctx context.Context, params *GetV1GetboardstateParams, reqEditors ...RequestEditorFn) (*GetV1GetboardstateResponse, error)

GetV1GetboardstateWithResponse request returning *GetV1GetboardstateResponse

func (*ClientWithResponses) GetV1GetchatsEuWithResponse

func (c *ClientWithResponses) GetV1GetchatsEuWithResponse(ctx context.Context, params *GetV1GetchatsEuParams, reqEditors ...RequestEditorFn) (*GetV1GetchatsEuResponse, error)

GetV1GetchatsEuWithResponse request returning *GetV1GetchatsEuResponse

func (*ClientWithResponses) GetV1GetchatsUsaWithResponse

func (c *ClientWithResponses) GetV1GetchatsUsaWithResponse(ctx context.Context, params *GetV1GetchatsUsaParams, reqEditors ...RequestEditorFn) (*GetV1GetchatsUsaResponse, error)

GetV1GetchatsUsaWithResponse request returning *GetV1GetchatsUsaResponse

func (*ClientWithResponses) GetV1GetchatsWithResponse

func (c *ClientWithResponses) GetV1GetchatsWithResponse(ctx context.Context, params *GetV1GetchatsParams, reqEditors ...RequestEditorFn) (*GetV1GetchatsResponse, error)

GetV1GetchatsWithResponse request returning *GetV1GetchatsResponse

func (*ClientWithResponses) GetV1GetcorporateleverageWithResponse

func (c *ClientWithResponses) GetV1GetcorporateleverageWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1GetcorporateleverageResponse, error)

GetV1GetcorporateleverageWithResponse request returning *GetV1GetcorporateleverageResponse

func (*ClientWithResponses) GetV1GetexecutionsWithResponse

func (c *ClientWithResponses) GetV1GetexecutionsWithResponse(ctx context.Context, params *GetV1GetexecutionsParams, reqEditors ...RequestEditorFn) (*GetV1GetexecutionsResponse, error)

GetV1GetexecutionsWithResponse request returning *GetV1GetexecutionsResponse

func (*ClientWithResponses) GetV1GetfundingrateWithResponse

func (c *ClientWithResponses) GetV1GetfundingrateWithResponse(ctx context.Context, params *GetV1GetfundingrateParams, reqEditors ...RequestEditorFn) (*GetV1GetfundingrateResponse, error)

GetV1GetfundingrateWithResponse request returning *GetV1GetfundingrateResponse

func (*ClientWithResponses) GetV1GethealthWithResponse

func (c *ClientWithResponses) GetV1GethealthWithResponse(ctx context.Context, params *GetV1GethealthParams, reqEditors ...RequestEditorFn) (*GetV1GethealthResponse, error)

GetV1GethealthWithResponse request returning *GetV1GethealthResponse

func (*ClientWithResponses) GetV1GetmarketsEuWithResponse

func (c *ClientWithResponses) GetV1GetmarketsEuWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1GetmarketsEuResponse, error)

GetV1GetmarketsEuWithResponse request returning *GetV1GetmarketsEuResponse

func (*ClientWithResponses) GetV1GetmarketsUsaWithResponse

func (c *ClientWithResponses) GetV1GetmarketsUsaWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1GetmarketsUsaResponse, error)

GetV1GetmarketsUsaWithResponse request returning *GetV1GetmarketsUsaResponse

func (*ClientWithResponses) GetV1GetmarketsWithResponse

func (c *ClientWithResponses) GetV1GetmarketsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1GetmarketsResponse, error)

GetV1GetmarketsWithResponse request returning *GetV1GetmarketsResponse

func (*ClientWithResponses) GetV1GettickerWithResponse

func (c *ClientWithResponses) GetV1GettickerWithResponse(ctx context.Context, params *GetV1GettickerParams, reqEditors ...RequestEditorFn) (*GetV1GettickerResponse, error)

GetV1GettickerWithResponse request returning *GetV1GettickerResponse

func (*ClientWithResponses) GetV1MarketsEuWithResponse

func (c *ClientWithResponses) GetV1MarketsEuWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1MarketsEuResponse, error)

GetV1MarketsEuWithResponse request returning *GetV1MarketsEuResponse

func (*ClientWithResponses) GetV1MarketsUsaWithResponse

func (c *ClientWithResponses) GetV1MarketsUsaWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1MarketsUsaResponse, error)

GetV1MarketsUsaWithResponse request returning *GetV1MarketsUsaResponse

func (*ClientWithResponses) GetV1MarketsWithResponse

func (c *ClientWithResponses) GetV1MarketsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1MarketsResponse, error)

GetV1MarketsWithResponse request returning *GetV1MarketsResponse

func (*ClientWithResponses) GetV1MeGetaddressesWithResponse

func (c *ClientWithResponses) GetV1MeGetaddressesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1MeGetaddressesResponse, error)

GetV1MeGetaddressesWithResponse request returning *GetV1MeGetaddressesResponse

func (*ClientWithResponses) GetV1MeGetbalanceWithResponse

func (c *ClientWithResponses) GetV1MeGetbalanceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1MeGetbalanceResponse, error)

GetV1MeGetbalanceWithResponse request returning *GetV1MeGetbalanceResponse

func (*ClientWithResponses) GetV1MeGetbalancehistoryWithResponse

func (c *ClientWithResponses) GetV1MeGetbalancehistoryWithResponse(ctx context.Context, params *GetV1MeGetbalancehistoryParams, reqEditors ...RequestEditorFn) (*GetV1MeGetbalancehistoryResponse, error)

GetV1MeGetbalancehistoryWithResponse request returning *GetV1MeGetbalancehistoryResponse

func (*ClientWithResponses) GetV1MeGetbankaccountsWithResponse

func (c *ClientWithResponses) GetV1MeGetbankaccountsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1MeGetbankaccountsResponse, error)

GetV1MeGetbankaccountsWithResponse request returning *GetV1MeGetbankaccountsResponse

func (*ClientWithResponses) GetV1MeGetchildordersWithResponse

func (c *ClientWithResponses) GetV1MeGetchildordersWithResponse(ctx context.Context, params *GetV1MeGetchildordersParams, reqEditors ...RequestEditorFn) (*GetV1MeGetchildordersResponse, error)

GetV1MeGetchildordersWithResponse request returning *GetV1MeGetchildordersResponse

func (*ClientWithResponses) GetV1MeGetcoininsWithResponse

func (c *ClientWithResponses) GetV1MeGetcoininsWithResponse(ctx context.Context, params *GetV1MeGetcoininsParams, reqEditors ...RequestEditorFn) (*GetV1MeGetcoininsResponse, error)

GetV1MeGetcoininsWithResponse request returning *GetV1MeGetcoininsResponse

func (*ClientWithResponses) GetV1MeGetcoinoutsWithResponse

func (c *ClientWithResponses) GetV1MeGetcoinoutsWithResponse(ctx context.Context, params *GetV1MeGetcoinoutsParams, reqEditors ...RequestEditorFn) (*GetV1MeGetcoinoutsResponse, error)

GetV1MeGetcoinoutsWithResponse request returning *GetV1MeGetcoinoutsResponse

func (*ClientWithResponses) GetV1MeGetcollateralWithResponse

func (c *ClientWithResponses) GetV1MeGetcollateralWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1MeGetcollateralResponse, error)

GetV1MeGetcollateralWithResponse request returning *GetV1MeGetcollateralResponse

func (*ClientWithResponses) GetV1MeGetcollateralaccountsWithResponse

func (c *ClientWithResponses) GetV1MeGetcollateralaccountsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1MeGetcollateralaccountsResponse, error)

GetV1MeGetcollateralaccountsWithResponse request returning *GetV1MeGetcollateralaccountsResponse

func (*ClientWithResponses) GetV1MeGetcollateralhistoryWithResponse

func (c *ClientWithResponses) GetV1MeGetcollateralhistoryWithResponse(ctx context.Context, params *GetV1MeGetcollateralhistoryParams, reqEditors ...RequestEditorFn) (*GetV1MeGetcollateralhistoryResponse, error)

GetV1MeGetcollateralhistoryWithResponse request returning *GetV1MeGetcollateralhistoryResponse

func (*ClientWithResponses) GetV1MeGetdepositsWithResponse

func (c *ClientWithResponses) GetV1MeGetdepositsWithResponse(ctx context.Context, params *GetV1MeGetdepositsParams, reqEditors ...RequestEditorFn) (*GetV1MeGetdepositsResponse, error)

GetV1MeGetdepositsWithResponse request returning *GetV1MeGetdepositsResponse

func (*ClientWithResponses) GetV1MeGetexecutionsWithResponse

func (c *ClientWithResponses) GetV1MeGetexecutionsWithResponse(ctx context.Context, params *GetV1MeGetexecutionsParams, reqEditors ...RequestEditorFn) (*GetV1MeGetexecutionsResponse, error)

GetV1MeGetexecutionsWithResponse request returning *GetV1MeGetexecutionsResponse

func (*ClientWithResponses) GetV1MeGetparentorderWithResponse

func (c *ClientWithResponses) GetV1MeGetparentorderWithResponse(ctx context.Context, params *GetV1MeGetparentorderParams, reqEditors ...RequestEditorFn) (*GetV1MeGetparentorderResponse, error)

GetV1MeGetparentorderWithResponse request returning *GetV1MeGetparentorderResponse

func (*ClientWithResponses) GetV1MeGetparentordersWithResponse

func (c *ClientWithResponses) GetV1MeGetparentordersWithResponse(ctx context.Context, params *GetV1MeGetparentordersParams, reqEditors ...RequestEditorFn) (*GetV1MeGetparentordersResponse, error)

GetV1MeGetparentordersWithResponse request returning *GetV1MeGetparentordersResponse

func (*ClientWithResponses) GetV1MeGetpermissionsWithResponse

func (c *ClientWithResponses) GetV1MeGetpermissionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1MeGetpermissionsResponse, error)

GetV1MeGetpermissionsWithResponse request returning *GetV1MeGetpermissionsResponse

func (*ClientWithResponses) GetV1MeGetpositionsWithResponse

func (c *ClientWithResponses) GetV1MeGetpositionsWithResponse(ctx context.Context, params *GetV1MeGetpositionsParams, reqEditors ...RequestEditorFn) (*GetV1MeGetpositionsResponse, error)

GetV1MeGetpositionsWithResponse request returning *GetV1MeGetpositionsResponse

func (*ClientWithResponses) GetV1MeGettradingcommissionWithResponse

func (c *ClientWithResponses) GetV1MeGettradingcommissionWithResponse(ctx context.Context, params *GetV1MeGettradingcommissionParams, reqEditors ...RequestEditorFn) (*GetV1MeGettradingcommissionResponse, error)

GetV1MeGettradingcommissionWithResponse request returning *GetV1MeGettradingcommissionResponse

func (*ClientWithResponses) GetV1MeGetwithdrawalsWithResponse

func (c *ClientWithResponses) GetV1MeGetwithdrawalsWithResponse(ctx context.Context, params *GetV1MeGetwithdrawalsParams, reqEditors ...RequestEditorFn) (*GetV1MeGetwithdrawalsResponse, error)

GetV1MeGetwithdrawalsWithResponse request returning *GetV1MeGetwithdrawalsResponse

func (*ClientWithResponses) GetV1TickerWithResponse

func (c *ClientWithResponses) GetV1TickerWithResponse(ctx context.Context, params *GetV1TickerParams, reqEditors ...RequestEditorFn) (*GetV1TickerResponse, error)

GetV1TickerWithResponse request returning *GetV1TickerResponse

func (*ClientWithResponses) PostV1MeCancelallchildordersWithBodyWithResponse

func (c *ClientWithResponses) PostV1MeCancelallchildordersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1MeCancelallchildordersResponse, error)

PostV1MeCancelallchildordersWithBodyWithResponse request with arbitrary body returning *PostV1MeCancelallchildordersResponse

func (*ClientWithResponses) PostV1MeCancelallchildordersWithResponse

func (c *ClientWithResponses) PostV1MeCancelallchildordersWithResponse(ctx context.Context, body PostV1MeCancelallchildordersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1MeCancelallchildordersResponse, error)

func (*ClientWithResponses) PostV1MeCancelchildorderWithBodyWithResponse

func (c *ClientWithResponses) PostV1MeCancelchildorderWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1MeCancelchildorderResponse, error)

PostV1MeCancelchildorderWithBodyWithResponse request with arbitrary body returning *PostV1MeCancelchildorderResponse

func (*ClientWithResponses) PostV1MeCancelchildorderWithResponse

func (c *ClientWithResponses) PostV1MeCancelchildorderWithResponse(ctx context.Context, body PostV1MeCancelchildorderJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1MeCancelchildorderResponse, error)

func (*ClientWithResponses) PostV1MeCancelparentorderWithBodyWithResponse

func (c *ClientWithResponses) PostV1MeCancelparentorderWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1MeCancelparentorderResponse, error)

PostV1MeCancelparentorderWithBodyWithResponse request with arbitrary body returning *PostV1MeCancelparentorderResponse

func (*ClientWithResponses) PostV1MeCancelparentorderWithResponse

func (c *ClientWithResponses) PostV1MeCancelparentorderWithResponse(ctx context.Context, body PostV1MeCancelparentorderJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1MeCancelparentorderResponse, error)

func (*ClientWithResponses) PostV1MeSendchildorderWithBodyWithResponse

func (c *ClientWithResponses) PostV1MeSendchildorderWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1MeSendchildorderResponse, error)

PostV1MeSendchildorderWithBodyWithResponse request with arbitrary body returning *PostV1MeSendchildorderResponse

func (*ClientWithResponses) PostV1MeSendchildorderWithResponse

func (c *ClientWithResponses) PostV1MeSendchildorderWithResponse(ctx context.Context, body PostV1MeSendchildorderJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1MeSendchildorderResponse, error)

func (*ClientWithResponses) PostV1MeSendparentorderWithBodyWithResponse

func (c *ClientWithResponses) PostV1MeSendparentorderWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1MeSendparentorderResponse, error)

PostV1MeSendparentorderWithBodyWithResponse request with arbitrary body returning *PostV1MeSendparentorderResponse

func (*ClientWithResponses) PostV1MeSendparentorderWithResponse

func (c *ClientWithResponses) PostV1MeSendparentorderWithResponse(ctx context.Context, body PostV1MeSendparentorderJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1MeSendparentorderResponse, error)

func (*ClientWithResponses) PostV1MeWithdrawWithBodyWithResponse

func (c *ClientWithResponses) PostV1MeWithdrawWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1MeWithdrawResponse, error)

PostV1MeWithdrawWithBodyWithResponse request with arbitrary body returning *PostV1MeWithdrawResponse

func (*ClientWithResponses) PostV1MeWithdrawWithResponse

func (c *ClientWithResponses) PostV1MeWithdrawWithResponse(ctx context.Context, body PostV1MeWithdrawJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1MeWithdrawResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// GetV1BoardWithResponse request
	GetV1BoardWithResponse(ctx context.Context, params *GetV1BoardParams, reqEditors ...RequestEditorFn) (*GetV1BoardResponse, error)

	// GetV1ExecutionsWithResponse request
	GetV1ExecutionsWithResponse(ctx context.Context, params *GetV1ExecutionsParams, reqEditors ...RequestEditorFn) (*GetV1ExecutionsResponse, error)

	// GetV1GetboardWithResponse request
	GetV1GetboardWithResponse(ctx context.Context, params *GetV1GetboardParams, reqEditors ...RequestEditorFn) (*GetV1GetboardResponse, error)

	// GetV1GetboardstateWithResponse request
	GetV1GetboardstateWithResponse(ctx context.Context, params *GetV1GetboardstateParams, reqEditors ...RequestEditorFn) (*GetV1GetboardstateResponse, error)

	// GetV1GetchatsWithResponse request
	GetV1GetchatsWithResponse(ctx context.Context, params *GetV1GetchatsParams, reqEditors ...RequestEditorFn) (*GetV1GetchatsResponse, error)

	// GetV1GetchatsEuWithResponse request
	GetV1GetchatsEuWithResponse(ctx context.Context, params *GetV1GetchatsEuParams, reqEditors ...RequestEditorFn) (*GetV1GetchatsEuResponse, error)

	// GetV1GetchatsUsaWithResponse request
	GetV1GetchatsUsaWithResponse(ctx context.Context, params *GetV1GetchatsUsaParams, reqEditors ...RequestEditorFn) (*GetV1GetchatsUsaResponse, error)

	// GetV1GetcorporateleverageWithResponse request
	GetV1GetcorporateleverageWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1GetcorporateleverageResponse, error)

	// GetV1GetexecutionsWithResponse request
	GetV1GetexecutionsWithResponse(ctx context.Context, params *GetV1GetexecutionsParams, reqEditors ...RequestEditorFn) (*GetV1GetexecutionsResponse, error)

	// GetV1GetfundingrateWithResponse request
	GetV1GetfundingrateWithResponse(ctx context.Context, params *GetV1GetfundingrateParams, reqEditors ...RequestEditorFn) (*GetV1GetfundingrateResponse, error)

	// GetV1GethealthWithResponse request
	GetV1GethealthWithResponse(ctx context.Context, params *GetV1GethealthParams, reqEditors ...RequestEditorFn) (*GetV1GethealthResponse, error)

	// GetV1GetmarketsWithResponse request
	GetV1GetmarketsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1GetmarketsResponse, error)

	// GetV1GetmarketsEuWithResponse request
	GetV1GetmarketsEuWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1GetmarketsEuResponse, error)

	// GetV1GetmarketsUsaWithResponse request
	GetV1GetmarketsUsaWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1GetmarketsUsaResponse, error)

	// GetV1GettickerWithResponse request
	GetV1GettickerWithResponse(ctx context.Context, params *GetV1GettickerParams, reqEditors ...RequestEditorFn) (*GetV1GettickerResponse, error)

	// GetV1MarketsWithResponse request
	GetV1MarketsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1MarketsResponse, error)

	// GetV1MarketsEuWithResponse request
	GetV1MarketsEuWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1MarketsEuResponse, error)

	// GetV1MarketsUsaWithResponse request
	GetV1MarketsUsaWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1MarketsUsaResponse, error)

	// PostV1MeCancelallchildordersWithBodyWithResponse request with any body
	PostV1MeCancelallchildordersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1MeCancelallchildordersResponse, error)

	PostV1MeCancelallchildordersWithResponse(ctx context.Context, body PostV1MeCancelallchildordersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1MeCancelallchildordersResponse, error)

	// PostV1MeCancelchildorderWithBodyWithResponse request with any body
	PostV1MeCancelchildorderWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1MeCancelchildorderResponse, error)

	PostV1MeCancelchildorderWithResponse(ctx context.Context, body PostV1MeCancelchildorderJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1MeCancelchildorderResponse, error)

	// PostV1MeCancelparentorderWithBodyWithResponse request with any body
	PostV1MeCancelparentorderWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1MeCancelparentorderResponse, error)

	PostV1MeCancelparentorderWithResponse(ctx context.Context, body PostV1MeCancelparentorderJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1MeCancelparentorderResponse, error)

	// GetV1MeGetaddressesWithResponse request
	GetV1MeGetaddressesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1MeGetaddressesResponse, error)

	// GetV1MeGetbalanceWithResponse request
	GetV1MeGetbalanceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1MeGetbalanceResponse, error)

	// GetV1MeGetbalancehistoryWithResponse request
	GetV1MeGetbalancehistoryWithResponse(ctx context.Context, params *GetV1MeGetbalancehistoryParams, reqEditors ...RequestEditorFn) (*GetV1MeGetbalancehistoryResponse, error)

	// GetV1MeGetbankaccountsWithResponse request
	GetV1MeGetbankaccountsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1MeGetbankaccountsResponse, error)

	// GetV1MeGetchildordersWithResponse request
	GetV1MeGetchildordersWithResponse(ctx context.Context, params *GetV1MeGetchildordersParams, reqEditors ...RequestEditorFn) (*GetV1MeGetchildordersResponse, error)

	// GetV1MeGetcoininsWithResponse request
	GetV1MeGetcoininsWithResponse(ctx context.Context, params *GetV1MeGetcoininsParams, reqEditors ...RequestEditorFn) (*GetV1MeGetcoininsResponse, error)

	// GetV1MeGetcoinoutsWithResponse request
	GetV1MeGetcoinoutsWithResponse(ctx context.Context, params *GetV1MeGetcoinoutsParams, reqEditors ...RequestEditorFn) (*GetV1MeGetcoinoutsResponse, error)

	// GetV1MeGetcollateralWithResponse request
	GetV1MeGetcollateralWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1MeGetcollateralResponse, error)

	// GetV1MeGetcollateralaccountsWithResponse request
	GetV1MeGetcollateralaccountsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1MeGetcollateralaccountsResponse, error)

	// GetV1MeGetcollateralhistoryWithResponse request
	GetV1MeGetcollateralhistoryWithResponse(ctx context.Context, params *GetV1MeGetcollateralhistoryParams, reqEditors ...RequestEditorFn) (*GetV1MeGetcollateralhistoryResponse, error)

	// GetV1MeGetdepositsWithResponse request
	GetV1MeGetdepositsWithResponse(ctx context.Context, params *GetV1MeGetdepositsParams, reqEditors ...RequestEditorFn) (*GetV1MeGetdepositsResponse, error)

	// GetV1MeGetexecutionsWithResponse request
	GetV1MeGetexecutionsWithResponse(ctx context.Context, params *GetV1MeGetexecutionsParams, reqEditors ...RequestEditorFn) (*GetV1MeGetexecutionsResponse, error)

	// GetV1MeGetparentorderWithResponse request
	GetV1MeGetparentorderWithResponse(ctx context.Context, params *GetV1MeGetparentorderParams, reqEditors ...RequestEditorFn) (*GetV1MeGetparentorderResponse, error)

	// GetV1MeGetparentordersWithResponse request
	GetV1MeGetparentordersWithResponse(ctx context.Context, params *GetV1MeGetparentordersParams, reqEditors ...RequestEditorFn) (*GetV1MeGetparentordersResponse, error)

	// GetV1MeGetpermissionsWithResponse request
	GetV1MeGetpermissionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1MeGetpermissionsResponse, error)

	// GetV1MeGetpositionsWithResponse request
	GetV1MeGetpositionsWithResponse(ctx context.Context, params *GetV1MeGetpositionsParams, reqEditors ...RequestEditorFn) (*GetV1MeGetpositionsResponse, error)

	// GetV1MeGettradingcommissionWithResponse request
	GetV1MeGettradingcommissionWithResponse(ctx context.Context, params *GetV1MeGettradingcommissionParams, reqEditors ...RequestEditorFn) (*GetV1MeGettradingcommissionResponse, error)

	// GetV1MeGetwithdrawalsWithResponse request
	GetV1MeGetwithdrawalsWithResponse(ctx context.Context, params *GetV1MeGetwithdrawalsParams, reqEditors ...RequestEditorFn) (*GetV1MeGetwithdrawalsResponse, error)

	// PostV1MeSendchildorderWithBodyWithResponse request with any body
	PostV1MeSendchildorderWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1MeSendchildorderResponse, error)

	PostV1MeSendchildorderWithResponse(ctx context.Context, body PostV1MeSendchildorderJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1MeSendchildorderResponse, error)

	// PostV1MeSendparentorderWithBodyWithResponse request with any body
	PostV1MeSendparentorderWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1MeSendparentorderResponse, error)

	PostV1MeSendparentorderWithResponse(ctx context.Context, body PostV1MeSendparentorderJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1MeSendparentorderResponse, error)

	// PostV1MeWithdrawWithBodyWithResponse request with any body
	PostV1MeWithdrawWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1MeWithdrawResponse, error)

	PostV1MeWithdrawWithResponse(ctx context.Context, body PostV1MeWithdrawJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1MeWithdrawResponse, error)

	// GetV1TickerWithResponse request
	GetV1TickerWithResponse(ctx context.Context, params *GetV1TickerParams, reqEditors ...RequestEditorFn) (*GetV1TickerResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CoinIn

type CoinIn struct {
	// Address アドレス
	Address *string `json:"address,omitempty"`

	// Amount 額
	Amount *float32 `json:"amount,omitempty"`

	// CurrencyCode 通貨
	CurrencyCode *string `json:"currency_code,omitempty"`

	// EventDate 日時
	EventDate *time.Time `json:"event_date,omitempty"`

	// Id ID
	Id *int `json:"id,omitempty"`

	// OrderId order_id
	OrderId *string `json:"order_id,omitempty"`

	// Status "PENDING"または"COMPLETED"
	Status *string `json:"status,omitempty"`

	// TxHash Txハッシュ
	TxHash *string `json:"tx_hash,omitempty"`
}

CoinIn defines model for CoinIn.

type CoinOut

type CoinOut struct {
	// AdditionalFee 利用料
	AdditionalFee *float32 `json:"additional_fee,omitempty"`

	// Address 送信先アドレス
	Address *string `json:"address,omitempty"`

	// Amount 額
	Amount *float32 `json:"amount,omitempty"`

	// CurrencyCode 通貨
	CurrencyCode *string `json:"currency_code,omitempty"`

	// EventDate 日時
	EventDate *time.Time `json:"event_date,omitempty"`

	// Fee 手数料
	Fee *float32 `json:"fee,omitempty"`

	// Id ID
	Id *int `json:"id,omitempty"`

	// OrderId order_id
	OrderId *string `json:"order_id,omitempty"`

	// Status "PENDING"または"COMPLETED"
	Status *string `json:"status,omitempty"`

	// TxHash Txハッシュ
	TxHash *string `json:"tx_hash,omitempty"`
}

CoinOut defines model for CoinOut.

type Collateral

type Collateral struct {
	// Collateral 存入額(JPY)
	Collateral *float32 `json:"collateral,omitempty"`

	// KeepRate 維持率
	KeepRate *float32 `json:"keep_rate,omitempty"`

	// MarginCallAmount マージン計味金
	MarginCallAmount *float32 `json:"margin_call_amount,omitempty"`

	// MarginCallDueDate 計味金期限
	MarginCallDueDate *time.Time `json:"margin_call_due_date,omitempty"`

	// OpenPositionPnl ポジションプロフィット/ロス
	OpenPositionPnl *float32 `json:"open_position_pnl,omitempty"`

	// RequireCollateral 必要設定
	RequireCollateral *float32 `json:"require_collateral,omitempty"`
}

Collateral defines model for Collateral.

type CollateralAccount

type CollateralAccount struct {
	// Amount 額
	Amount *float32 `json:"amount,omitempty"`

	// CurrencyCode 通貨
	CurrencyCode *string `json:"currency_code,omitempty"`
}

CollateralAccount defines model for CollateralAccount.

type CollateralHistory

type CollateralHistory struct {
	// Amount 変動後残高
	Amount *float32 `json:"amount,omitempty"`

	// Change 変動額
	Change *float32 `json:"change,omitempty"`

	// CurrencyCode 通貨
	CurrencyCode *string `json:"currency_code,omitempty"`

	// Date 日時
	Date *time.Time `json:"date,omitempty"`

	// Id ID
	Id *int `json:"id,omitempty"`

	// ReasonCode 事由コード
	ReasonCode *string `json:"reason_code,omitempty"`
}

CollateralHistory defines model for CollateralHistory.

type CorporateLeverage

type CorporateLeverage struct {
	// CurrentMax 現行最大レバレッジ
	CurrentMax *float32 `json:"current_max,omitempty"`

	// CurrentStartdate 現行適用開始日
	CurrentStartdate *time.Time `json:"current_startdate,omitempty"`

	// NextMax 次回適用予定の最大レバレッジ
	NextMax *float32 `json:"next_max,omitempty"`

	// NextStartdate 次回適用開始日
	NextStartdate *time.Time `json:"next_startdate,omitempty"`
}

CorporateLeverage defines model for CorporateLeverage.

type Count

type Count = int

Count defines model for count.

type CurrencyCode

type CurrencyCode = string

CurrencyCode defines model for currency_code.

type ExchangeHealth

type ExchangeHealth struct {
	// Status 取得所状態
	Status *ExchangeHealthStatus `json:"status,omitempty"`
}

ExchangeHealth defines model for ExchangeHealth.

type ExchangeHealthStatus

type ExchangeHealthStatus string

ExchangeHealthStatus 取得所状態

const (
	ExchangeHealthStatusBUSY      ExchangeHealthStatus = "BUSY"
	ExchangeHealthStatusNOORDER   ExchangeHealthStatus = "NO ORDER"
	ExchangeHealthStatusNORMAL    ExchangeHealthStatus = "NORMAL"
	ExchangeHealthStatusSTOP      ExchangeHealthStatus = "STOP"
	ExchangeHealthStatusSUPERBUSY ExchangeHealthStatus = "SUPER BUSY"
	ExchangeHealthStatusVERYBUSY  ExchangeHealthStatus = "VERY BUSY"
)

Defines values for ExchangeHealthStatus.

type Execution

type Execution struct {
	// ChildOrderAcceptanceId API接受ID
	ChildOrderAcceptanceId *string `json:"child_order_acceptance_id,omitempty"`

	// ChildOrderId 子注文ID
	ChildOrderId *string `json:"child_order_id,omitempty"`

	// Commission 手数料
	Commission *float32 `json:"commission,omitempty"`

	// ExecDate 時間
	ExecDate *time.Time `json:"exec_date,omitempty"`

	// Id ID
	Id *int `json:"id,omitempty"`

	// Price 価格
	Price *float32 `json:"price,omitempty"`

	// Side "BUY"または"SELL"
	Side *string `json:"side,omitempty"`

	// Size 量
	Size *float32 `json:"size,omitempty"`
}

Execution defines model for Execution.

type FromDate

type FromDate = time.Time

FromDate defines model for from_date.

type FundingRate

type FundingRate struct {
	// CurrentFundingRate 現在の資金貯積率
	CurrentFundingRate *float32 `json:"current_funding_rate,omitempty"`

	// NextFundingRateSettledate 次回貯積完了日
	NextFundingRateSettledate *time.Time `json:"next_funding_rate_settledate,omitempty"`
}

FundingRate defines model for FundingRate.

type GetV1BoardParams

type GetV1BoardParams struct {
	// ProductCode 銭幣のプロダクトコード。市場一覧APIで取得できる値を指定します。
	ProductCode ProductCode `form:"product_code" json:"product_code"`
}

GetV1BoardParams defines parameters for GetV1Board.

type GetV1BoardResponse

type GetV1BoardResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Board
}

func ParseGetV1BoardResponse

func ParseGetV1BoardResponse(rsp *http.Response) (*GetV1BoardResponse, error)

ParseGetV1BoardResponse parses an HTTP response from a GetV1BoardWithResponse call

func (GetV1BoardResponse) Status

func (r GetV1BoardResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1BoardResponse) StatusCode

func (r GetV1BoardResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1ExecutionsParams

type GetV1ExecutionsParams struct {
	// ProductCode 銭幣のプロダクトコード。市場一覧APIで取得できる値を指定します。
	ProductCode ProductCode `form:"product_code" json:"product_code"`

	// Count 取得するレコード数。省略した場合は100となります。
	Count *Count `form:"count,omitempty" json:"count,omitempty"`

	// Before IDが指定した値より小さいレコードを取得
	Before *Before `form:"before,omitempty" json:"before,omitempty"`

	// After IDが指定した値より大きいレコードを取得
	After *After `form:"after,omitempty" json:"after,omitempty"`
}

GetV1ExecutionsParams defines parameters for GetV1Executions.

type GetV1ExecutionsResponse

type GetV1ExecutionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]MarketExecution
}

func ParseGetV1ExecutionsResponse

func ParseGetV1ExecutionsResponse(rsp *http.Response) (*GetV1ExecutionsResponse, error)

ParseGetV1ExecutionsResponse parses an HTTP response from a GetV1ExecutionsWithResponse call

func (GetV1ExecutionsResponse) Status

func (r GetV1ExecutionsResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1ExecutionsResponse) StatusCode

func (r GetV1ExecutionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1GetboardParams

type GetV1GetboardParams struct {
	// ProductCode 銭幣のプロダクトコード。市場一覧APIで取得できる値を指定します。
	ProductCode ProductCode `form:"product_code" json:"product_code"`
}

GetV1GetboardParams defines parameters for GetV1Getboard.

type GetV1GetboardResponse

type GetV1GetboardResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Board
}

func ParseGetV1GetboardResponse

func ParseGetV1GetboardResponse(rsp *http.Response) (*GetV1GetboardResponse, error)

ParseGetV1GetboardResponse parses an HTTP response from a GetV1GetboardWithResponse call

func (GetV1GetboardResponse) Status

func (r GetV1GetboardResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1GetboardResponse) StatusCode

func (r GetV1GetboardResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1GetboardstateParams

type GetV1GetboardstateParams struct {
	// ProductCode 銭幣のプロダクトコード。市場一覧APIで取得できる値を指定します。
	ProductCode ProductCode `form:"product_code" json:"product_code"`
}

GetV1GetboardstateParams defines parameters for GetV1Getboardstate.

type GetV1GetboardstateResponse

type GetV1GetboardstateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *BoardState
}

func ParseGetV1GetboardstateResponse

func ParseGetV1GetboardstateResponse(rsp *http.Response) (*GetV1GetboardstateResponse, error)

ParseGetV1GetboardstateResponse parses an HTTP response from a GetV1GetboardstateWithResponse call

func (GetV1GetboardstateResponse) Status

Status returns HTTPResponse.Status

func (GetV1GetboardstateResponse) StatusCode

func (r GetV1GetboardstateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1GetchatsEuParams

type GetV1GetchatsEuParams struct {
	// FromDate この日以降のメッセージを取得します。指定なしの場合は直近の5日分のログを返します。
	FromDate *FromDate `form:"from_date,omitempty" json:"from_date,omitempty"`
}

GetV1GetchatsEuParams defines parameters for GetV1GetchatsEu.

type GetV1GetchatsEuResponse

type GetV1GetchatsEuResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ChatMessage
}

func ParseGetV1GetchatsEuResponse

func ParseGetV1GetchatsEuResponse(rsp *http.Response) (*GetV1GetchatsEuResponse, error)

ParseGetV1GetchatsEuResponse parses an HTTP response from a GetV1GetchatsEuWithResponse call

func (GetV1GetchatsEuResponse) Status

func (r GetV1GetchatsEuResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1GetchatsEuResponse) StatusCode

func (r GetV1GetchatsEuResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1GetchatsParams

type GetV1GetchatsParams struct {
	// FromDate この日以降のメッセージを取得します。指定なしの場合は直近の5日分のログを返します。
	FromDate *FromDate `form:"from_date,omitempty" json:"from_date,omitempty"`
}

GetV1GetchatsParams defines parameters for GetV1Getchats.

type GetV1GetchatsResponse

type GetV1GetchatsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ChatMessage
}

func ParseGetV1GetchatsResponse

func ParseGetV1GetchatsResponse(rsp *http.Response) (*GetV1GetchatsResponse, error)

ParseGetV1GetchatsResponse parses an HTTP response from a GetV1GetchatsWithResponse call

func (GetV1GetchatsResponse) Status

func (r GetV1GetchatsResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1GetchatsResponse) StatusCode

func (r GetV1GetchatsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1GetchatsUsaParams

type GetV1GetchatsUsaParams struct {
	// FromDate この日以降のメッセージを取得します。指定なしの場合は直近の5日分のログを返します。
	FromDate *FromDate `form:"from_date,omitempty" json:"from_date,omitempty"`
}

GetV1GetchatsUsaParams defines parameters for GetV1GetchatsUsa.

type GetV1GetchatsUsaResponse

type GetV1GetchatsUsaResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ChatMessage
}

func ParseGetV1GetchatsUsaResponse

func ParseGetV1GetchatsUsaResponse(rsp *http.Response) (*GetV1GetchatsUsaResponse, error)

ParseGetV1GetchatsUsaResponse parses an HTTP response from a GetV1GetchatsUsaWithResponse call

func (GetV1GetchatsUsaResponse) Status

func (r GetV1GetchatsUsaResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1GetchatsUsaResponse) StatusCode

func (r GetV1GetchatsUsaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1GetcorporateleverageResponse

type GetV1GetcorporateleverageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CorporateLeverage
}

func ParseGetV1GetcorporateleverageResponse

func ParseGetV1GetcorporateleverageResponse(rsp *http.Response) (*GetV1GetcorporateleverageResponse, error)

ParseGetV1GetcorporateleverageResponse parses an HTTP response from a GetV1GetcorporateleverageWithResponse call

func (GetV1GetcorporateleverageResponse) Status

Status returns HTTPResponse.Status

func (GetV1GetcorporateleverageResponse) StatusCode

func (r GetV1GetcorporateleverageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1GetexecutionsParams

type GetV1GetexecutionsParams struct {
	// ProductCode 銭幣のプロダクトコード。市場一覧APIで取得できる値を指定します。
	ProductCode ProductCode `form:"product_code" json:"product_code"`

	// Count 取得するレコード数。省略した場合は100となります。
	Count *Count `form:"count,omitempty" json:"count,omitempty"`

	// Before IDが指定した値より小さいレコードを取得
	Before *Before `form:"before,omitempty" json:"before,omitempty"`

	// After IDが指定した値より大きいレコードを取得
	After *After `form:"after,omitempty" json:"after,omitempty"`
}

GetV1GetexecutionsParams defines parameters for GetV1Getexecutions.

type GetV1GetexecutionsResponse

type GetV1GetexecutionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]MarketExecution
}

func ParseGetV1GetexecutionsResponse

func ParseGetV1GetexecutionsResponse(rsp *http.Response) (*GetV1GetexecutionsResponse, error)

ParseGetV1GetexecutionsResponse parses an HTTP response from a GetV1GetexecutionsWithResponse call

func (GetV1GetexecutionsResponse) Status

Status returns HTTPResponse.Status

func (GetV1GetexecutionsResponse) StatusCode

func (r GetV1GetexecutionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1GetfundingrateParams

type GetV1GetfundingrateParams struct {
	// ProductCode 銭幣のプロダクトコード。市場一覧APIで取得できる値を指定します。
	ProductCode ProductCode `form:"product_code" json:"product_code"`
}

GetV1GetfundingrateParams defines parameters for GetV1Getfundingrate.

type GetV1GetfundingrateResponse

type GetV1GetfundingrateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FundingRate
}

func ParseGetV1GetfundingrateResponse

func ParseGetV1GetfundingrateResponse(rsp *http.Response) (*GetV1GetfundingrateResponse, error)

ParseGetV1GetfundingrateResponse parses an HTTP response from a GetV1GetfundingrateWithResponse call

func (GetV1GetfundingrateResponse) Status

Status returns HTTPResponse.Status

func (GetV1GetfundingrateResponse) StatusCode

func (r GetV1GetfundingrateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1GethealthParams

type GetV1GethealthParams struct {
	// ProductCode 銭幣のプロダクトコード。市場一覧APIで取得できる値を指定します。
	ProductCode ProductCode `form:"product_code" json:"product_code"`
}

GetV1GethealthParams defines parameters for GetV1Gethealth.

type GetV1GethealthResponse

type GetV1GethealthResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ExchangeHealth
}

func ParseGetV1GethealthResponse

func ParseGetV1GethealthResponse(rsp *http.Response) (*GetV1GethealthResponse, error)

ParseGetV1GethealthResponse parses an HTTP response from a GetV1GethealthWithResponse call

func (GetV1GethealthResponse) Status

func (r GetV1GethealthResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1GethealthResponse) StatusCode

func (r GetV1GethealthResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1GetmarketsEuResponse

type GetV1GetmarketsEuResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Market
}

func ParseGetV1GetmarketsEuResponse

func ParseGetV1GetmarketsEuResponse(rsp *http.Response) (*GetV1GetmarketsEuResponse, error)

ParseGetV1GetmarketsEuResponse parses an HTTP response from a GetV1GetmarketsEuWithResponse call

func (GetV1GetmarketsEuResponse) Status

func (r GetV1GetmarketsEuResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1GetmarketsEuResponse) StatusCode

func (r GetV1GetmarketsEuResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1GetmarketsResponse

type GetV1GetmarketsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Market
}

func ParseGetV1GetmarketsResponse

func ParseGetV1GetmarketsResponse(rsp *http.Response) (*GetV1GetmarketsResponse, error)

ParseGetV1GetmarketsResponse parses an HTTP response from a GetV1GetmarketsWithResponse call

func (GetV1GetmarketsResponse) Status

func (r GetV1GetmarketsResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1GetmarketsResponse) StatusCode

func (r GetV1GetmarketsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1GetmarketsUsaResponse

type GetV1GetmarketsUsaResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Market
}

func ParseGetV1GetmarketsUsaResponse

func ParseGetV1GetmarketsUsaResponse(rsp *http.Response) (*GetV1GetmarketsUsaResponse, error)

ParseGetV1GetmarketsUsaResponse parses an HTTP response from a GetV1GetmarketsUsaWithResponse call

func (GetV1GetmarketsUsaResponse) Status

Status returns HTTPResponse.Status

func (GetV1GetmarketsUsaResponse) StatusCode

func (r GetV1GetmarketsUsaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1GettickerParams

type GetV1GettickerParams struct {
	// ProductCode 銭幣のプロダクトコード。市場一覧APIで取得できる値を指定します。
	ProductCode ProductCode `form:"product_code" json:"product_code"`
}

GetV1GettickerParams defines parameters for GetV1Getticker.

type GetV1GettickerResponse

type GetV1GettickerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Ticker
}

func ParseGetV1GettickerResponse

func ParseGetV1GettickerResponse(rsp *http.Response) (*GetV1GettickerResponse, error)

ParseGetV1GettickerResponse parses an HTTP response from a GetV1GettickerWithResponse call

func (GetV1GettickerResponse) Status

func (r GetV1GettickerResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1GettickerResponse) StatusCode

func (r GetV1GettickerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1MarketsEuResponse

type GetV1MarketsEuResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Market
}

func ParseGetV1MarketsEuResponse

func ParseGetV1MarketsEuResponse(rsp *http.Response) (*GetV1MarketsEuResponse, error)

ParseGetV1MarketsEuResponse parses an HTTP response from a GetV1MarketsEuWithResponse call

func (GetV1MarketsEuResponse) Status

func (r GetV1MarketsEuResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1MarketsEuResponse) StatusCode

func (r GetV1MarketsEuResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1MarketsResponse

type GetV1MarketsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Market
}

func ParseGetV1MarketsResponse

func ParseGetV1MarketsResponse(rsp *http.Response) (*GetV1MarketsResponse, error)

ParseGetV1MarketsResponse parses an HTTP response from a GetV1MarketsWithResponse call

func (GetV1MarketsResponse) Status

func (r GetV1MarketsResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1MarketsResponse) StatusCode

func (r GetV1MarketsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1MarketsUsaResponse

type GetV1MarketsUsaResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Market
}

func ParseGetV1MarketsUsaResponse

func ParseGetV1MarketsUsaResponse(rsp *http.Response) (*GetV1MarketsUsaResponse, error)

ParseGetV1MarketsUsaResponse parses an HTTP response from a GetV1MarketsUsaWithResponse call

func (GetV1MarketsUsaResponse) Status

func (r GetV1MarketsUsaResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1MarketsUsaResponse) StatusCode

func (r GetV1MarketsUsaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1MeGetaddressesResponse

type GetV1MeGetaddressesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Address
}

func ParseGetV1MeGetaddressesResponse

func ParseGetV1MeGetaddressesResponse(rsp *http.Response) (*GetV1MeGetaddressesResponse, error)

ParseGetV1MeGetaddressesResponse parses an HTTP response from a GetV1MeGetaddressesWithResponse call

func (GetV1MeGetaddressesResponse) Status

Status returns HTTPResponse.Status

func (GetV1MeGetaddressesResponse) StatusCode

func (r GetV1MeGetaddressesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1MeGetbalanceResponse

type GetV1MeGetbalanceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Balance
}

func ParseGetV1MeGetbalanceResponse

func ParseGetV1MeGetbalanceResponse(rsp *http.Response) (*GetV1MeGetbalanceResponse, error)

ParseGetV1MeGetbalanceResponse parses an HTTP response from a GetV1MeGetbalanceWithResponse call

func (GetV1MeGetbalanceResponse) Status

func (r GetV1MeGetbalanceResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1MeGetbalanceResponse) StatusCode

func (r GetV1MeGetbalanceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1MeGetbalancehistoryParams

type GetV1MeGetbalancehistoryParams struct {
	// CurrencyCode 通貨コード。省略した場合は JPY となります。
	CurrencyCode *CurrencyCode `form:"currency_code,omitempty" json:"currency_code,omitempty"`

	// Count 取得するレコード数。省略した場合は100となります。
	Count *Count `form:"count,omitempty" json:"count,omitempty"`

	// Before IDが指定した値より小さいレコードを取得
	Before *Before `form:"before,omitempty" json:"before,omitempty"`

	// After IDが指定した値より大きいレコードを取得
	After *After `form:"after,omitempty" json:"after,omitempty"`
}

GetV1MeGetbalancehistoryParams defines parameters for GetV1MeGetbalancehistory.

type GetV1MeGetbalancehistoryResponse

type GetV1MeGetbalancehistoryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]BalanceHistory
}

func ParseGetV1MeGetbalancehistoryResponse

func ParseGetV1MeGetbalancehistoryResponse(rsp *http.Response) (*GetV1MeGetbalancehistoryResponse, error)

ParseGetV1MeGetbalancehistoryResponse parses an HTTP response from a GetV1MeGetbalancehistoryWithResponse call

func (GetV1MeGetbalancehistoryResponse) Status

Status returns HTTPResponse.Status

func (GetV1MeGetbalancehistoryResponse) StatusCode

func (r GetV1MeGetbalancehistoryResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1MeGetbankaccountsResponse

type GetV1MeGetbankaccountsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]BankAccount
}

func ParseGetV1MeGetbankaccountsResponse

func ParseGetV1MeGetbankaccountsResponse(rsp *http.Response) (*GetV1MeGetbankaccountsResponse, error)

ParseGetV1MeGetbankaccountsResponse parses an HTTP response from a GetV1MeGetbankaccountsWithResponse call

func (GetV1MeGetbankaccountsResponse) Status

Status returns HTTPResponse.Status

func (GetV1MeGetbankaccountsResponse) StatusCode

func (r GetV1MeGetbankaccountsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1MeGetchildordersParams

type GetV1MeGetchildordersParams struct {
	// ProductCode 銭幣のプロダクトコード。市場一覧APIで取得できる値を指定します。
	ProductCode ProductCode `form:"product_code" json:"product_code"`

	// Count 取得するレコード数。省略した場合は100となります。
	Count *Count `form:"count,omitempty" json:"count,omitempty"`

	// Before IDが指定した値より小さいレコードを取得
	Before *Before `form:"before,omitempty" json:"before,omitempty"`

	// After IDが指定した値より大きいレコードを取得
	After *After `form:"after,omitempty" json:"after,omitempty"`

	// ChildOrderState 押さえる場合、指定した状態のみを返します。ACTIVE (OPEN 中の注文)、COMPLETED (全量稼働済み)等が指定可能。
	ChildOrderState *GetV1MeGetchildordersParamsChildOrderState `form:"child_order_state,omitempty" json:"child_order_state,omitempty"`

	// ChildOrderId 子注文のID。
	ChildOrderId *ChildOrderId `form:"child_order_id,omitempty" json:"child_order_id,omitempty"`

	// ChildOrderAcceptanceId API登録ID (新規注文APIの帰り値) 。
	ChildOrderAcceptanceId *ChildOrderAcceptanceId `form:"child_order_acceptance_id,omitempty" json:"child_order_acceptance_id,omitempty"`

	// ParentOrderId 親注文のID。
	ParentOrderId *ParentOrderId `form:"parent_order_id,omitempty" json:"parent_order_id,omitempty"`
}

GetV1MeGetchildordersParams defines parameters for GetV1MeGetchildorders.

type GetV1MeGetchildordersParamsChildOrderState

type GetV1MeGetchildordersParamsChildOrderState string

GetV1MeGetchildordersParamsChildOrderState defines parameters for GetV1MeGetchildorders.

const (
	GetV1MeGetchildordersParamsChildOrderStateACTIVE    GetV1MeGetchildordersParamsChildOrderState = "ACTIVE"
	GetV1MeGetchildordersParamsChildOrderStateCANCELED  GetV1MeGetchildordersParamsChildOrderState = "CANCELED"
	GetV1MeGetchildordersParamsChildOrderStateCOMPLETED GetV1MeGetchildordersParamsChildOrderState = "COMPLETED"
	GetV1MeGetchildordersParamsChildOrderStateEXPIRED   GetV1MeGetchildordersParamsChildOrderState = "EXPIRED"
	GetV1MeGetchildordersParamsChildOrderStateREJECTED  GetV1MeGetchildordersParamsChildOrderState = "REJECTED"
)

Defines values for GetV1MeGetchildordersParamsChildOrderState.

type GetV1MeGetchildordersResponse

type GetV1MeGetchildordersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ChildOrder
}

func ParseGetV1MeGetchildordersResponse

func ParseGetV1MeGetchildordersResponse(rsp *http.Response) (*GetV1MeGetchildordersResponse, error)

ParseGetV1MeGetchildordersResponse parses an HTTP response from a GetV1MeGetchildordersWithResponse call

func (GetV1MeGetchildordersResponse) Status

Status returns HTTPResponse.Status

func (GetV1MeGetchildordersResponse) StatusCode

func (r GetV1MeGetchildordersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1MeGetcoininsParams

type GetV1MeGetcoininsParams struct {
	// Count 取得するレコード数。省略した場合は100となります。
	Count *Count `form:"count,omitempty" json:"count,omitempty"`

	// Before IDが指定した値より小さいレコードを取得
	Before *Before `form:"before,omitempty" json:"before,omitempty"`

	// After IDが指定した値より大きいレコードを取得
	After *After `form:"after,omitempty" json:"after,omitempty"`
}

GetV1MeGetcoininsParams defines parameters for GetV1MeGetcoinins.

type GetV1MeGetcoininsResponse

type GetV1MeGetcoininsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CoinIn
}

func ParseGetV1MeGetcoininsResponse

func ParseGetV1MeGetcoininsResponse(rsp *http.Response) (*GetV1MeGetcoininsResponse, error)

ParseGetV1MeGetcoininsResponse parses an HTTP response from a GetV1MeGetcoininsWithResponse call

func (GetV1MeGetcoininsResponse) Status

func (r GetV1MeGetcoininsResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1MeGetcoininsResponse) StatusCode

func (r GetV1MeGetcoininsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1MeGetcoinoutsParams

type GetV1MeGetcoinoutsParams struct {
	// Count 取得するレコード数。省略した場合は100となります。
	Count *Count `form:"count,omitempty" json:"count,omitempty"`

	// Before IDが指定した値より小さいレコードを取得
	Before *Before `form:"before,omitempty" json:"before,omitempty"`

	// After IDが指定した値より大きいレコードを取得
	After *After `form:"after,omitempty" json:"after,omitempty"`
}

GetV1MeGetcoinoutsParams defines parameters for GetV1MeGetcoinouts.

type GetV1MeGetcoinoutsResponse

type GetV1MeGetcoinoutsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CoinOut
}

func ParseGetV1MeGetcoinoutsResponse

func ParseGetV1MeGetcoinoutsResponse(rsp *http.Response) (*GetV1MeGetcoinoutsResponse, error)

ParseGetV1MeGetcoinoutsResponse parses an HTTP response from a GetV1MeGetcoinoutsWithResponse call

func (GetV1MeGetcoinoutsResponse) Status

Status returns HTTPResponse.Status

func (GetV1MeGetcoinoutsResponse) StatusCode

func (r GetV1MeGetcoinoutsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1MeGetcollateralResponse

type GetV1MeGetcollateralResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Collateral
}

func ParseGetV1MeGetcollateralResponse

func ParseGetV1MeGetcollateralResponse(rsp *http.Response) (*GetV1MeGetcollateralResponse, error)

ParseGetV1MeGetcollateralResponse parses an HTTP response from a GetV1MeGetcollateralWithResponse call

func (GetV1MeGetcollateralResponse) Status

Status returns HTTPResponse.Status

func (GetV1MeGetcollateralResponse) StatusCode

func (r GetV1MeGetcollateralResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1MeGetcollateralaccountsResponse

type GetV1MeGetcollateralaccountsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CollateralAccount
}

func ParseGetV1MeGetcollateralaccountsResponse

func ParseGetV1MeGetcollateralaccountsResponse(rsp *http.Response) (*GetV1MeGetcollateralaccountsResponse, error)

ParseGetV1MeGetcollateralaccountsResponse parses an HTTP response from a GetV1MeGetcollateralaccountsWithResponse call

func (GetV1MeGetcollateralaccountsResponse) Status

Status returns HTTPResponse.Status

func (GetV1MeGetcollateralaccountsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetV1MeGetcollateralhistoryParams

type GetV1MeGetcollateralhistoryParams struct {
	// Count 取得するレコード数。省略した場合は100となります。
	Count *Count `form:"count,omitempty" json:"count,omitempty"`

	// Before IDが指定した値より小さいレコードを取得
	Before *Before `form:"before,omitempty" json:"before,omitempty"`

	// After IDが指定した値より大きいレコードを取得
	After *After `form:"after,omitempty" json:"after,omitempty"`
}

GetV1MeGetcollateralhistoryParams defines parameters for GetV1MeGetcollateralhistory.

type GetV1MeGetcollateralhistoryResponse

type GetV1MeGetcollateralhistoryResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CollateralHistory
}

func ParseGetV1MeGetcollateralhistoryResponse

func ParseGetV1MeGetcollateralhistoryResponse(rsp *http.Response) (*GetV1MeGetcollateralhistoryResponse, error)

ParseGetV1MeGetcollateralhistoryResponse parses an HTTP response from a GetV1MeGetcollateralhistoryWithResponse call

func (GetV1MeGetcollateralhistoryResponse) Status

Status returns HTTPResponse.Status

func (GetV1MeGetcollateralhistoryResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetV1MeGetdepositsParams

type GetV1MeGetdepositsParams struct {
	// Count 取得するレコード数。省略した場合は100となります。
	Count *Count `form:"count,omitempty" json:"count,omitempty"`

	// Before IDが指定した値より小さいレコードを取得
	Before *Before `form:"before,omitempty" json:"before,omitempty"`

	// After IDが指定した値より大きいレコードを取得
	After *After `form:"after,omitempty" json:"after,omitempty"`
}

GetV1MeGetdepositsParams defines parameters for GetV1MeGetdeposits.

type GetV1MeGetdepositsResponse

type GetV1MeGetdepositsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CashDeposit
}

func ParseGetV1MeGetdepositsResponse

func ParseGetV1MeGetdepositsResponse(rsp *http.Response) (*GetV1MeGetdepositsResponse, error)

ParseGetV1MeGetdepositsResponse parses an HTTP response from a GetV1MeGetdepositsWithResponse call

func (GetV1MeGetdepositsResponse) Status

Status returns HTTPResponse.Status

func (GetV1MeGetdepositsResponse) StatusCode

func (r GetV1MeGetdepositsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1MeGetexecutionsParams

type GetV1MeGetexecutionsParams struct {
	// ProductCode 銭幣のプロダクトコード。市場一覧APIで取得できる値を指定します。
	ProductCode ProductCode `form:"product_code" json:"product_code"`

	// Count 取得するレコード数。省略した場合は100となります。
	Count *Count `form:"count,omitempty" json:"count,omitempty"`

	// Before IDが指定した値より小さいレコードを取得
	Before *Before `form:"before,omitempty" json:"before,omitempty"`

	// After IDが指定した値より大きいレコードを取得
	After *After `form:"after,omitempty" json:"after,omitempty"`

	// ChildOrderId 子注文のID。
	ChildOrderId *ChildOrderId `form:"child_order_id,omitempty" json:"child_order_id,omitempty"`

	// ChildOrderAcceptanceId API登録ID (新規注文APIの帰り値) 。
	ChildOrderAcceptanceId *ChildOrderAcceptanceId `form:"child_order_acceptance_id,omitempty" json:"child_order_acceptance_id,omitempty"`
}

GetV1MeGetexecutionsParams defines parameters for GetV1MeGetexecutions.

type GetV1MeGetexecutionsResponse

type GetV1MeGetexecutionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Execution
}

func ParseGetV1MeGetexecutionsResponse

func ParseGetV1MeGetexecutionsResponse(rsp *http.Response) (*GetV1MeGetexecutionsResponse, error)

ParseGetV1MeGetexecutionsResponse parses an HTTP response from a GetV1MeGetexecutionsWithResponse call

func (GetV1MeGetexecutionsResponse) Status

Status returns HTTPResponse.Status

func (GetV1MeGetexecutionsResponse) StatusCode

func (r GetV1MeGetexecutionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1MeGetparentorderParams

type GetV1MeGetparentorderParams struct {
	// ParentOrderId 親注文のID。
	ParentOrderId *ParentOrderId `form:"parent_order_id,omitempty" json:"parent_order_id,omitempty"`

	// ParentOrderAcceptanceId API登録ID (親注文APIの帰り値)。
	ParentOrderAcceptanceId *ParentOrderAcceptanceId `form:"parent_order_acceptance_id,omitempty" json:"parent_order_acceptance_id,omitempty"`
}

GetV1MeGetparentorderParams defines parameters for GetV1MeGetparentorder.

type GetV1MeGetparentorderResponse

type GetV1MeGetparentorderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ParentOrderDetail
}

func ParseGetV1MeGetparentorderResponse

func ParseGetV1MeGetparentorderResponse(rsp *http.Response) (*GetV1MeGetparentorderResponse, error)

ParseGetV1MeGetparentorderResponse parses an HTTP response from a GetV1MeGetparentorderWithResponse call

func (GetV1MeGetparentorderResponse) Status

Status returns HTTPResponse.Status

func (GetV1MeGetparentorderResponse) StatusCode

func (r GetV1MeGetparentorderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1MeGetparentordersParams

type GetV1MeGetparentordersParams struct {
	// ProductCode 銭幣のプロダクトコード。市場一覧APIで取得できる値を指定します。
	ProductCode ProductCode `form:"product_code" json:"product_code"`

	// Count 取得するレコード数。省略した場合は100となります。
	Count *Count `form:"count,omitempty" json:"count,omitempty"`

	// Before IDが指定した値より小さいレコードを取得
	Before *Before `form:"before,omitempty" json:"before,omitempty"`

	// After IDが指定した値より大きいレコードを取得
	After *After `form:"after,omitempty" json:"after,omitempty"`

	// ParentOrderState 指定した状態のみを返します。ACTIVE、COMPLETED、CANCELED、EXPIRED、REJECTED が指定可能。
	ParentOrderState *GetV1MeGetparentordersParamsParentOrderState `form:"parent_order_state,omitempty" json:"parent_order_state,omitempty"`
}

GetV1MeGetparentordersParams defines parameters for GetV1MeGetparentorders.

type GetV1MeGetparentordersParamsParentOrderState

type GetV1MeGetparentordersParamsParentOrderState string

GetV1MeGetparentordersParamsParentOrderState defines parameters for GetV1MeGetparentorders.

const (
	GetV1MeGetparentordersParamsParentOrderStateACTIVE    GetV1MeGetparentordersParamsParentOrderState = "ACTIVE"
	GetV1MeGetparentordersParamsParentOrderStateCANCELED  GetV1MeGetparentordersParamsParentOrderState = "CANCELED"
	GetV1MeGetparentordersParamsParentOrderStateCOMPLETED GetV1MeGetparentordersParamsParentOrderState = "COMPLETED"
	GetV1MeGetparentordersParamsParentOrderStateEXPIRED   GetV1MeGetparentordersParamsParentOrderState = "EXPIRED"
	GetV1MeGetparentordersParamsParentOrderStateREJECTED  GetV1MeGetparentordersParamsParentOrderState = "REJECTED"
)

Defines values for GetV1MeGetparentordersParamsParentOrderState.

type GetV1MeGetparentordersResponse

type GetV1MeGetparentordersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ParentOrder
}

func ParseGetV1MeGetparentordersResponse

func ParseGetV1MeGetparentordersResponse(rsp *http.Response) (*GetV1MeGetparentordersResponse, error)

ParseGetV1MeGetparentordersResponse parses an HTTP response from a GetV1MeGetparentordersWithResponse call

func (GetV1MeGetparentordersResponse) Status

Status returns HTTPResponse.Status

func (GetV1MeGetparentordersResponse) StatusCode

func (r GetV1MeGetparentordersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1MeGetpermissionsResponse

type GetV1MeGetpermissionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]string
}

func ParseGetV1MeGetpermissionsResponse

func ParseGetV1MeGetpermissionsResponse(rsp *http.Response) (*GetV1MeGetpermissionsResponse, error)

ParseGetV1MeGetpermissionsResponse parses an HTTP response from a GetV1MeGetpermissionsWithResponse call

func (GetV1MeGetpermissionsResponse) Status

Status returns HTTPResponse.Status

func (GetV1MeGetpermissionsResponse) StatusCode

func (r GetV1MeGetpermissionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1MeGetpositionsParams

type GetV1MeGetpositionsParams struct {
	// ProductCode 銭幣のプロダクトコード。市場一覧APIで取得できる値を指定します。
	ProductCode ProductCode `form:"product_code" json:"product_code"`
}

GetV1MeGetpositionsParams defines parameters for GetV1MeGetpositions.

type GetV1MeGetpositionsResponse

type GetV1MeGetpositionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Position
}

func ParseGetV1MeGetpositionsResponse

func ParseGetV1MeGetpositionsResponse(rsp *http.Response) (*GetV1MeGetpositionsResponse, error)

ParseGetV1MeGetpositionsResponse parses an HTTP response from a GetV1MeGetpositionsWithResponse call

func (GetV1MeGetpositionsResponse) Status

Status returns HTTPResponse.Status

func (GetV1MeGetpositionsResponse) StatusCode

func (r GetV1MeGetpositionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1MeGettradingcommissionParams

type GetV1MeGettradingcommissionParams struct {
	// ProductCode 銭幣のプロダクトコード。市場一覧APIで取得できる値を指定します。
	ProductCode ProductCode `form:"product_code" json:"product_code"`
}

GetV1MeGettradingcommissionParams defines parameters for GetV1MeGettradingcommission.

type GetV1MeGettradingcommissionResponse

type GetV1MeGettradingcommissionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *TradingCommission
}

func ParseGetV1MeGettradingcommissionResponse

func ParseGetV1MeGettradingcommissionResponse(rsp *http.Response) (*GetV1MeGettradingcommissionResponse, error)

ParseGetV1MeGettradingcommissionResponse parses an HTTP response from a GetV1MeGettradingcommissionWithResponse call

func (GetV1MeGettradingcommissionResponse) Status

Status returns HTTPResponse.Status

func (GetV1MeGettradingcommissionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetV1MeGetwithdrawalsParams

type GetV1MeGetwithdrawalsParams struct {
	// Count 取得するレコード数。省略した場合は100となります。
	Count *Count `form:"count,omitempty" json:"count,omitempty"`

	// Before IDが指定した値より小さいレコードを取得
	Before *Before `form:"before,omitempty" json:"before,omitempty"`

	// After IDが指定した値より大きいレコードを取得
	After *After `form:"after,omitempty" json:"after,omitempty"`

	// MessageId 出金APIの帰り値 (message_id)を指定した場合、対応する出金の状態を取得します。
	MessageId *MessageId `form:"message_id,omitempty" json:"message_id,omitempty"`
}

GetV1MeGetwithdrawalsParams defines parameters for GetV1MeGetwithdrawals.

type GetV1MeGetwithdrawalsResponse

type GetV1MeGetwithdrawalsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Withdrawal
}

func ParseGetV1MeGetwithdrawalsResponse

func ParseGetV1MeGetwithdrawalsResponse(rsp *http.Response) (*GetV1MeGetwithdrawalsResponse, error)

ParseGetV1MeGetwithdrawalsResponse parses an HTTP response from a GetV1MeGetwithdrawalsWithResponse call

func (GetV1MeGetwithdrawalsResponse) Status

Status returns HTTPResponse.Status

func (GetV1MeGetwithdrawalsResponse) StatusCode

func (r GetV1MeGetwithdrawalsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetV1TickerParams

type GetV1TickerParams struct {
	// ProductCode 銭幣のプロダクトコード。市場一覧APIで取得できる値を指定します。
	ProductCode ProductCode `form:"product_code" json:"product_code"`
}

GetV1TickerParams defines parameters for GetV1Ticker.

type GetV1TickerResponse

type GetV1TickerResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Ticker
}

func ParseGetV1TickerResponse

func ParseGetV1TickerResponse(rsp *http.Response) (*GetV1TickerResponse, error)

ParseGetV1TickerResponse parses an HTTP response from a GetV1TickerWithResponse call

func (GetV1TickerResponse) Status

func (r GetV1TickerResponse) Status() string

Status returns HTTPResponse.Status

func (GetV1TickerResponse) StatusCode

func (r GetV1TickerResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type Market

type Market struct {
	// MarketType "Spot" または "FX"
	MarketType *MarketMarketType `json:"market_type,omitempty"`

	// ProductCode プロダクトコード
	ProductCode *string `json:"product_code,omitempty"`
}

Market defines model for Market.

type MarketExecution

type MarketExecution struct {
	// BuyChildOrderAcceptanceId 買注文の接受ID
	BuyChildOrderAcceptanceId *string `json:"buy_child_order_acceptance_id,omitempty"`

	// ExecDate 時間
	ExecDate *time.Time `json:"exec_date,omitempty"`

	// Id ID
	Id *int `json:"id,omitempty"`

	// Price 価格
	Price *float32 `json:"price,omitempty"`

	// SellChildOrderAcceptanceId 売注文の接受ID
	SellChildOrderAcceptanceId *string `json:"sell_child_order_acceptance_id,omitempty"`

	// Side "BUY"または"SELL"
	Side *string `json:"side,omitempty"`

	// Size 量
	Size *float32 `json:"size,omitempty"`
}

MarketExecution defines model for MarketExecution.

type MarketMarketType

type MarketMarketType string

MarketMarketType "Spot" または "FX"

const (
	FX   MarketMarketType = "FX"
	Spot MarketMarketType = "Spot"
)

Defines values for MarketMarketType.

type MessageId

type MessageId = string

MessageId defines model for message_id.

type NewOrderRequest

type NewOrderRequest struct {
	// ChildOrderType "LIMIT"または"MARKET"
	ChildOrderType NewOrderRequestChildOrderType `json:"child_order_type"`

	// MinuteToExpire 有効期限(分)。最大値43200。省略時は43200。
	MinuteToExpire *int `json:"minute_to_expire,omitempty"`

	// Price 価格 (オーダータイプが LIMIT の場合必須)
	Price *float32 `json:"price,omitempty"`

	// ProductCode プロダクトコード
	ProductCode string `json:"product_code"`

	// Side "BUY"または"SELL"
	Side NewOrderRequestSide `json:"side"`

	// Size 注文量
	Size float32 `json:"size"`

	// TimeInForce "GTC"、"IOC"、"FOK"のいずれか
	TimeInForce *NewOrderRequestTimeInForce `json:"time_in_force,omitempty"`
}

NewOrderRequest defines model for NewOrderRequest.

type NewOrderRequestChildOrderType

type NewOrderRequestChildOrderType string

NewOrderRequestChildOrderType "LIMIT"または"MARKET"

const (
	NewOrderRequestChildOrderTypeLIMIT  NewOrderRequestChildOrderType = "LIMIT"
	NewOrderRequestChildOrderTypeMARKET NewOrderRequestChildOrderType = "MARKET"
)

Defines values for NewOrderRequestChildOrderType.

type NewOrderRequestSide

type NewOrderRequestSide string

NewOrderRequestSide "BUY"または"SELL"

const (
	NewOrderRequestSideBUY  NewOrderRequestSide = "BUY"
	NewOrderRequestSideSELL NewOrderRequestSide = "SELL"
)

Defines values for NewOrderRequestSide.

type NewOrderRequestTimeInForce

type NewOrderRequestTimeInForce string

NewOrderRequestTimeInForce "GTC"、"IOC"、"FOK"のいずれか

const (
	NewOrderRequestTimeInForceFOK NewOrderRequestTimeInForce = "FOK"
	NewOrderRequestTimeInForceGTC NewOrderRequestTimeInForce = "GTC"
	NewOrderRequestTimeInForceIOC NewOrderRequestTimeInForce = "IOC"
)

Defines values for NewOrderRequestTimeInForce.

type NewParentOrderRequest

type NewParentOrderRequest struct {
	// MinuteToExpire 有効期限(分)。最大値43200。省略時は43200。
	MinuteToExpire *int `json:"minute_to_expire,omitempty"`

	// OrderMethod 注文方法 (SIMPLE, IFD, OCO, IFDOCO)
	OrderMethod *NewParentOrderRequestOrderMethod `json:"order_method,omitempty"`

	// Parameters オーダー設定パラメータの配列
	Parameters []ParentOrderParameter `json:"parameters"`

	// TimeInForce "GTC"、"IOC"、"FOK"のいずれか
	TimeInForce *NewParentOrderRequestTimeInForce `json:"time_in_force,omitempty"`
}

NewParentOrderRequest defines model for NewParentOrderRequest.

type NewParentOrderRequestOrderMethod

type NewParentOrderRequestOrderMethod string

NewParentOrderRequestOrderMethod 注文方法 (SIMPLE, IFD, OCO, IFDOCO)

const (
	NewParentOrderRequestOrderMethodIFD    NewParentOrderRequestOrderMethod = "IFD"
	NewParentOrderRequestOrderMethodIFDOCO NewParentOrderRequestOrderMethod = "IFDOCO"
	NewParentOrderRequestOrderMethodOCO    NewParentOrderRequestOrderMethod = "OCO"
	NewParentOrderRequestOrderMethodSIMPLE NewParentOrderRequestOrderMethod = "SIMPLE"
)

Defines values for NewParentOrderRequestOrderMethod.

type NewParentOrderRequestTimeInForce

type NewParentOrderRequestTimeInForce string

NewParentOrderRequestTimeInForce "GTC"、"IOC"、"FOK"のいずれか

Defines values for NewParentOrderRequestTimeInForce.

type ParentOrder

type ParentOrder struct {
	// AveragePrice 平均価格
	AveragePrice *float32 `json:"average_price,omitempty"`

	// CancelSize キャンセル量
	CancelSize *float32 `json:"cancel_size,omitempty"`

	// ExecutedSize 実行済み量
	ExecutedSize *float32 `json:"executed_size,omitempty"`

	// ExpireDate 有効期限
	ExpireDate *time.Time `json:"expire_date,omitempty"`

	// Id ID
	Id *int `json:"id,omitempty"`

	// OutstandingSize 未繰購量
	OutstandingSize *float32 `json:"outstanding_size,omitempty"`

	// ParentOrderAcceptanceId API接受ID
	ParentOrderAcceptanceId *string `json:"parent_order_acceptance_id,omitempty"`

	// ParentOrderDate 注文日時
	ParentOrderDate *time.Time `json:"parent_order_date,omitempty"`

	// ParentOrderId 親注文ID
	ParentOrderId *string `json:"parent_order_id,omitempty"`

	// ParentOrderState 注文状態
	ParentOrderState *ParentOrderParentOrderState `json:"parent_order_state,omitempty"`

	// ParentOrderType 親注文方式/条件
	ParentOrderType *ParentOrderParentOrderType `json:"parent_order_type,omitempty"`

	// Price 参考価格
	Price *float32 `json:"price,omitempty"`

	// ProductCode プロダクトコード
	ProductCode *string `json:"product_code,omitempty"`

	// Side "BUY"または"SELL"
	Side *string `json:"side,omitempty"`

	// Size 量
	Size *float32 `json:"size,omitempty"`

	// TotalCommission 取得手数料
	TotalCommission *float32 `json:"total_commission,omitempty"`
}

ParentOrder defines model for ParentOrder.

type ParentOrderAcceptanceId

type ParentOrderAcceptanceId = string

ParentOrderAcceptanceId defines model for parent_order_acceptance_id.

type ParentOrderDetail

type ParentOrderDetail struct {
	// Id ID
	Id *int `json:"id,omitempty"`

	// MinuteToExpire 有効期限(分)
	MinuteToExpire *int `json:"minute_to_expire,omitempty"`

	// OrderMethod 注文方法
	OrderMethod *ParentOrderDetailOrderMethod `json:"order_method,omitempty"`
	Parameters  *[]ParentOrderParameter       `json:"parameters,omitempty"`

	// ParentOrderAcceptanceId API接受ID
	ParentOrderAcceptanceId *string `json:"parent_order_acceptance_id,omitempty"`

	// ParentOrderId 親注文ID
	ParentOrderId *string `json:"parent_order_id,omitempty"`
}

ParentOrderDetail defines model for ParentOrderDetail.

type ParentOrderDetailOrderMethod

type ParentOrderDetailOrderMethod string

ParentOrderDetailOrderMethod 注文方法

const (
	IFD    ParentOrderDetailOrderMethod = "IFD"
	IFDOCO ParentOrderDetailOrderMethod = "IFDOCO"
	OCO    ParentOrderDetailOrderMethod = "OCO"
	SIMPLE ParentOrderDetailOrderMethod = "SIMPLE"
)

Defines values for ParentOrderDetailOrderMethod.

type ParentOrderId

type ParentOrderId = string

ParentOrderId defines model for parent_order_id.

type ParentOrderParameter

type ParentOrderParameter struct {
	// ConditionType 処理条件
	ConditionType ParentOrderParameterConditionType `json:"condition_type"`

	// Offset トレーラー幅 (condition_typeが TRAIL の場合必須)
	Offset *int `json:"offset,omitempty"`

	// Price 価格 (condition_typeが LIMIT/STOP_LIMIT の場合必須)
	Price *float32 `json:"price,omitempty"`

	// ProductCode プロダクトコード
	ProductCode string `json:"product_code"`

	// Side "BUY"または"SELL"
	Side ParentOrderParameterSide `json:"side"`

	// Size 量
	Size float32 `json:"size"`

	// TriggerPrice トリガー価格 (condition_typeが STOP/STOP_LIMIT の場合必須)
	TriggerPrice *float32 `json:"trigger_price,omitempty"`
}

ParentOrderParameter defines model for ParentOrderParameter.

type ParentOrderParameterConditionType

type ParentOrderParameterConditionType string

ParentOrderParameterConditionType 処理条件

Defines values for ParentOrderParameterConditionType.

type ParentOrderParameterSide

type ParentOrderParameterSide string

ParentOrderParameterSide "BUY"または"SELL"

const (
	ParentOrderParameterSideBUY  ParentOrderParameterSide = "BUY"
	ParentOrderParameterSideSELL ParentOrderParameterSide = "SELL"
)

Defines values for ParentOrderParameterSide.

type ParentOrderParentOrderState

type ParentOrderParentOrderState string

ParentOrderParentOrderState 注文状態

const (
	ParentOrderParentOrderStateACTIVE    ParentOrderParentOrderState = "ACTIVE"
	ParentOrderParentOrderStateCANCELED  ParentOrderParentOrderState = "CANCELED"
	ParentOrderParentOrderStateCOMPLETED ParentOrderParentOrderState = "COMPLETED"
	ParentOrderParentOrderStateEXPIRED   ParentOrderParentOrderState = "EXPIRED"
	ParentOrderParentOrderStateREJECTED  ParentOrderParentOrderState = "REJECTED"
)

Defines values for ParentOrderParentOrderState.

type ParentOrderParentOrderType

type ParentOrderParentOrderType string

ParentOrderParentOrderType 親注文方式/条件

const (
	ParentOrderParentOrderTypeIFD       ParentOrderParentOrderType = "IFD"
	ParentOrderParentOrderTypeIFDOCO    ParentOrderParentOrderType = "IFDOCO"
	ParentOrderParentOrderTypeLIMIT     ParentOrderParentOrderType = "LIMIT"
	ParentOrderParentOrderTypeMARKET    ParentOrderParentOrderType = "MARKET"
	ParentOrderParentOrderTypeOCO       ParentOrderParentOrderType = "OCO"
	ParentOrderParentOrderTypeSTOP      ParentOrderParentOrderType = "STOP"
	ParentOrderParentOrderTypeSTOPLIMIT ParentOrderParentOrderType = "STOP_LIMIT"
	ParentOrderParentOrderTypeTRAIL     ParentOrderParentOrderType = "TRAIL"
)

Defines values for ParentOrderParentOrderType.

type ParentOrderResult

type ParentOrderResult struct {
	// ParentOrderAcceptanceId 新規親注文の接受ID
	ParentOrderAcceptanceId *string `json:"parent_order_acceptance_id,omitempty"`
}

ParentOrderResult defines model for ParentOrderResult.

type ParentOrderState

type ParentOrderState string

ParentOrderState defines model for parent_order_state.

const (
	ParentOrderStateACTIVE    ParentOrderState = "ACTIVE"
	ParentOrderStateCANCELED  ParentOrderState = "CANCELED"
	ParentOrderStateCOMPLETED ParentOrderState = "COMPLETED"
	ParentOrderStateEXPIRED   ParentOrderState = "EXPIRED"
	ParentOrderStateREJECTED  ParentOrderState = "REJECTED"
)

Defines values for ParentOrderState.

type Position

type Position struct {
	// Commission 手数料
	Commission *float32 `json:"commission,omitempty"`

	// Leverage レバレッジ率
	Leverage *float32 `json:"leverage,omitempty"`

	// OpenDate 作成日
	OpenDate *time.Time `json:"open_date,omitempty"`

	// Pnl プロフィット測定
	Pnl *float32 `json:"pnl,omitempty"`

	// Price 平均参考価格
	Price *float32 `json:"price,omitempty"`

	// ProductCode プロダクトコード
	ProductCode *string `json:"product_code,omitempty"`

	// RequireCollateral 必要設定
	RequireCollateral *float32 `json:"require_collateral,omitempty"`

	// Sfd SFD
	Sfd *float32 `json:"sfd,omitempty"`

	// Side "BUY"または"SELL"
	Side *string `json:"side,omitempty"`

	// Size 量
	Size *float32 `json:"size,omitempty"`

	// SwapPointAccumulate スワップ点
	SwapPointAccumulate *float32 `json:"swap_point_accumulate,omitempty"`
}

Position defines model for Position.

type PostV1MeCancelallchildordersJSONRequestBody

type PostV1MeCancelallchildordersJSONRequestBody = CancelAllOrdersRequest

PostV1MeCancelallchildordersJSONRequestBody defines body for PostV1MeCancelallchildorders for application/json ContentType.

type PostV1MeCancelallchildordersResponse

type PostV1MeCancelallchildordersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePostV1MeCancelallchildordersResponse

func ParsePostV1MeCancelallchildordersResponse(rsp *http.Response) (*PostV1MeCancelallchildordersResponse, error)

ParsePostV1MeCancelallchildordersResponse parses an HTTP response from a PostV1MeCancelallchildordersWithResponse call

func (PostV1MeCancelallchildordersResponse) Status

Status returns HTTPResponse.Status

func (PostV1MeCancelallchildordersResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostV1MeCancelchildorderJSONRequestBody

type PostV1MeCancelchildorderJSONRequestBody = CancelChildOrderRequest

PostV1MeCancelchildorderJSONRequestBody defines body for PostV1MeCancelchildorder for application/json ContentType.

type PostV1MeCancelchildorderResponse

type PostV1MeCancelchildorderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePostV1MeCancelchildorderResponse

func ParsePostV1MeCancelchildorderResponse(rsp *http.Response) (*PostV1MeCancelchildorderResponse, error)

ParsePostV1MeCancelchildorderResponse parses an HTTP response from a PostV1MeCancelchildorderWithResponse call

func (PostV1MeCancelchildorderResponse) Status

Status returns HTTPResponse.Status

func (PostV1MeCancelchildorderResponse) StatusCode

func (r PostV1MeCancelchildorderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV1MeCancelparentorderJSONRequestBody

type PostV1MeCancelparentorderJSONRequestBody = CancelParentOrderRequest

PostV1MeCancelparentorderJSONRequestBody defines body for PostV1MeCancelparentorder for application/json ContentType.

type PostV1MeCancelparentorderResponse

type PostV1MeCancelparentorderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePostV1MeCancelparentorderResponse

func ParsePostV1MeCancelparentorderResponse(rsp *http.Response) (*PostV1MeCancelparentorderResponse, error)

ParsePostV1MeCancelparentorderResponse parses an HTTP response from a PostV1MeCancelparentorderWithResponse call

func (PostV1MeCancelparentorderResponse) Status

Status returns HTTPResponse.Status

func (PostV1MeCancelparentorderResponse) StatusCode

func (r PostV1MeCancelparentorderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV1MeSendchildorderJSONRequestBody

type PostV1MeSendchildorderJSONRequestBody = NewOrderRequest

PostV1MeSendchildorderJSONRequestBody defines body for PostV1MeSendchildorder for application/json ContentType.

type PostV1MeSendchildorderResponse

type PostV1MeSendchildorderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ChildOrderResult
}

func ParsePostV1MeSendchildorderResponse

func ParsePostV1MeSendchildorderResponse(rsp *http.Response) (*PostV1MeSendchildorderResponse, error)

ParsePostV1MeSendchildorderResponse parses an HTTP response from a PostV1MeSendchildorderWithResponse call

func (PostV1MeSendchildorderResponse) Status

Status returns HTTPResponse.Status

func (PostV1MeSendchildorderResponse) StatusCode

func (r PostV1MeSendchildorderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV1MeSendparentorderJSONRequestBody

type PostV1MeSendparentorderJSONRequestBody = NewParentOrderRequest

PostV1MeSendparentorderJSONRequestBody defines body for PostV1MeSendparentorder for application/json ContentType.

type PostV1MeSendparentorderResponse

type PostV1MeSendparentorderResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ParentOrderResult
}

func ParsePostV1MeSendparentorderResponse

func ParsePostV1MeSendparentorderResponse(rsp *http.Response) (*PostV1MeSendparentorderResponse, error)

ParsePostV1MeSendparentorderResponse parses an HTTP response from a PostV1MeSendparentorderWithResponse call

func (PostV1MeSendparentorderResponse) Status

Status returns HTTPResponse.Status

func (PostV1MeSendparentorderResponse) StatusCode

func (r PostV1MeSendparentorderResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostV1MeWithdrawJSONRequestBody

type PostV1MeWithdrawJSONRequestBody = WithdrawRequest

PostV1MeWithdrawJSONRequestBody defines body for PostV1MeWithdraw for application/json ContentType.

type PostV1MeWithdrawResponse

type PostV1MeWithdrawResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WithdrawResponse
}

func ParsePostV1MeWithdrawResponse

func ParsePostV1MeWithdrawResponse(rsp *http.Response) (*PostV1MeWithdrawResponse, error)

ParsePostV1MeWithdrawResponse parses an HTTP response from a PostV1MeWithdrawWithResponse call

func (PostV1MeWithdrawResponse) Status

func (r PostV1MeWithdrawResponse) Status() string

Status returns HTTPResponse.Status

func (PostV1MeWithdrawResponse) StatusCode

func (r PostV1MeWithdrawResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ProductCode

type ProductCode = string

ProductCode defines model for product_code.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type Ticker

type Ticker struct {
	// BestAsk 最低価格売り価
	BestAsk *float32 `json:"best_ask,omitempty"`

	// BestAskSize 最低価格売り価における量
	BestAskSize *float32 `json:"best_ask_size,omitempty"`

	// BestBid 最高価格買い価
	BestBid *float32 `json:"best_bid,omitempty"`

	// BestBidSize 最高価格買い価における量
	BestBidSize *float32 `json:"best_bid_size,omitempty"`

	// Ltp 最終参考価格 (LTP)
	Ltp *float32 `json:"ltp,omitempty"`

	// MarketAskSize 市場成り行の売注文量 (板合わせ時)
	MarketAskSize *float32 `json:"market_ask_size,omitempty"`

	// MarketBidSize 市場成り行の買注文量 (板合わせ時)
	MarketBidSize *float32 `json:"market_bid_size,omitempty"`

	// ProductCode プロダクトコード
	ProductCode *string `json:"product_code,omitempty"`

	// State ボード状態 (RUNNING、CLOSED等)
	State *string `json:"state,omitempty"`

	// TickId ティックID
	TickId *int `json:"tick_id,omitempty"`

	// Timestamp UTC時間
	Timestamp *time.Time `json:"timestamp,omitempty"`

	// TotalAskDepth 全売り決済量
	TotalAskDepth *float32 `json:"total_ask_depth,omitempty"`

	// TotalBidDepth 全買い決済量
	TotalBidDepth *float32 `json:"total_bid_depth,omitempty"`

	// Volume 24時間の収容上量
	Volume *float32 `json:"volume,omitempty"`

	// VolumeByProduct 24時間の収容上量 (対象プロダクト)
	VolumeByProduct *float32 `json:"volume_by_product,omitempty"`
}

Ticker defines model for Ticker.

type TradingCommission

type TradingCommission struct {
	// CommissionRate 手数料率
	CommissionRate *float32 `json:"commission_rate,omitempty"`
}

TradingCommission defines model for TradingCommission.

type WithdrawRequest

type WithdrawRequest struct {
	// Amount 金額
	Amount float32 `json:"amount"`

	// BankAccountId 銀行口座ID
	BankAccountId int `json:"bank_account_id"`

	// Code 認証コード (2FA)
	Code *string `json:"code,omitempty"`

	// CurrencyCode 通貨 (JPY のみ)
	CurrencyCode string `json:"currency_code"`
}

WithdrawRequest defines model for WithdrawRequest.

type WithdrawResponse

type WithdrawResponse struct {
	// MessageId 受付ID (message_id)
	MessageId *string `json:"message_id,omitempty"`
}

WithdrawResponse defines model for WithdrawResponse.

type Withdrawal

type Withdrawal struct {
	// Amount 額
	Amount *float32 `json:"amount,omitempty"`

	// CurrencyCode 通貨
	CurrencyCode *string `json:"currency_code,omitempty"`

	// EventDate 日時
	EventDate *time.Time `json:"event_date,omitempty"`

	// Id ID
	Id *int `json:"id,omitempty"`

	// OrderId order_id
	OrderId *string `json:"order_id,omitempty"`

	// Status "PENDING"または"COMPLETED"
	Status *string `json:"status,omitempty"`
}

Withdrawal defines model for Withdrawal.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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