Documentation
¶
Index ¶
Constants ¶
View Source
const (
APIPath = "/v1/me/getpositions"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Position ¶
type Position struct { ProductCode markets.ProductCode `json:"product_code"` Side sendchildorder.Side `json:"side"` Price float64 `json:"price"` Size float64 `json:"size"` Commission float64 `json:"commission"` SwapPointAccumulate float64 `json:"swap_point_accumulate"` RequireCollateral float64 `json:"require_collateral"` OpenDate time.Time `json:"open_date"` Leverage float64 `json:"leverage"` Pnl float64 `json:"pnl"` Sfd float64 `json:"sfd"` }
type Request ¶
type Request struct {
ProductCode markets.ProductCode `json:"product_code" url:"product_code"`
}