blocktrade

package
v0.0.0-...-a4f9000 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NewBlockTradeResponse

type NewBlockTradeResponse struct {
	base.RestBaseResponse
	Data ParadigmBlockTradeVO `json:"data"`
}

type ParadigmBlockTradeQueryVo

type ParadigmBlockTradeQueryVo struct {
	BlockOrderId string `json:"block_order_id" example:"1001"`
	Label        string `json:"label" example:"abc"`
	CreatedAt    int64  `json:"created_at" example:"1585296000000"`
	UpdatedAt    int64  `json:"updated_at" example:"1585296000000"`
	UserId       string `json:"user_id" example:"801"`
	Counterparty string `json:"counterparty" example:"1002"`
	InstrumentId string `json:"instrument_id" example:"BTC-27MAR20-9000-C"`
	Side         string `json:"side" example:"buy"`
	Price        string `json:"price" example:"0.03"`
	Qty          string `json:"qty" example:"1"`
	Fee          string `json:"fee" example:"0.0001"`
	Status       string `json:"status" example:"filled"`
	Role         string `json:"role" example:"taker"`
	BtSource     string `json:"bt_source"`
	OrderId      string `json:"order_id"`
}

type ParadigmBlockTradeVO

type ParadigmBlockTradeVO struct {
	Label string `json:"label"`
	// BlockOrderStatus
	Status string `json:"status"`
}

type QueryBlockTradeByPlatformResponse

type QueryBlockTradeByPlatformResponse struct {
	base.RestBaseResponse
	Data []ParadigmBlockTradeQueryVo `json:"data"`
}

type QueryBlockTradeResponse

type QueryBlockTradeResponse struct {
	base.RestBaseResponse
	Data []ParadigmBlockTradeQueryVo `json:"data"`
}

Jump to

Keyboard shortcuts

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