Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetAccountAndPositionRisk ¶
type GetAccountAndPositionRisk struct {
InstType okex.InstrumentType `json:"instType,omitempty"`
}
type GetBalance ¶
type GetBalance struct {
Ccy []string `json:"ccy,omitempty"`
}
type GetBills ¶
type GetBills struct { Ccy string `json:"ccy,omitempty"` After int64 `json:"after,omitempty,string"` Before int64 `json:"before,omitempty,string"` Limit int64 `json:"limit,omitempty,string"` InstType okex.InstrumentType `json:"instType,omitempty"` MgnMode okex.MarginMode `json:"mgnMode,omitempty"` CtType okex.ContractType `json:"ctType,omitempty"` Type okex.BillType `json:"type,omitempty,string"` SubType okex.BillSubType `json:"subType,omitempty,string"` }
type GetFeeRates ¶
type GetFeeRates struct { InstID string `json:"instId,omitempty"` Uly string `json:"uly,omitempty"` Category okex.FeeCategory `json:"category,omitempty,string"` InstType okex.InstrumentType `json:"instType"` }
type GetInterestAccrued ¶
type GetLeverage ¶
type GetLeverage struct { InstID []string `json:"instId"` MgnMode okex.MarginMode `json:"mgnMode"` }
type GetMaxBuySellAmount ¶
type GetMaxLoan ¶
type GetMaxLoan struct { InstID string `json:"instId"` MgnCcy string `json:"mgnCcy,omitempty"` MgnMode okex.MarginMode `json:"mgnMode"` }
type GetPositions ¶
type GetPositions struct { InstID []string `json:"instId,omitempty"` PosID []string `json:"posId,omitempty"` InstType okex.InstrumentType `json:"instType,omitempty"` }
type IncreaseDecreaseMargin ¶
type IncreaseDecreaseMargin struct { InstID string `json:"instId"` Amt float64 `json:"amt,string"` PosSide okex.PositionSide `json:"posSide"` ActionType okex.CountAction `json:"actionType"` }
type SetLeverage ¶
type SetLeverage struct { Lever int64 `json:"lever,string"` InstID string `json:"instId,omitempty"` Ccy string `json:"ccy,omitempty"` MgnMode okex.MarginMode `json:"mgnMode"` PosSide okex.PositionSide `json:"posSide,omitempty"` }
type SetPositionMode ¶
type SetPositionMode struct {
PosMode okex.PositionType `json:"posMode"`
}
Click to show internal directories.
Click to hide internal directories.