Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AmendOrder ¶
type AmendOrder struct { ClOrdID string `json:"clOrdId"` SMsg string `json:"sMsg"` OrdID okex.JSONFloat64 `json:"ordId"` ReqID okex.JSONFloat64 `json:"reqId"` SCode okex.JSONFloat64 `json:"sCode"` }
type CancelOrder ¶
type CancelOrder struct { ClOrdID string `json:"clOrdId"` SMsg string `json:"sMsg"` OrdId okex.JSONFloat64 `json:"ordId"` SCode okex.JSONFloat64 `json:"sCode"` }
type ClosePosition ¶
type ClosePosition struct { InstID string `json:"instId"` PosSide okex.PositionSide `json:"posSide,string"` }
type Order ¶
type Order struct { InstID string `json:"instId"` Ccy string `json:"ccy"` ClOrdID string `json:"clOrdId"` Tag string `json:"tag"` Px okex.JSONFloat64 `json:"px"` Sz okex.JSONFloat64 `json:"sz"` Pnl okex.JSONFloat64 `json:"pnl"` AccFillSz okex.JSONFloat64 `json:"accFillSz"` FillPx okex.JSONFloat64 `json:"fillPx"` TradeId okex.JSONFloat64 `json:"tradeId"` FillSz okex.JSONFloat64 `json:"fillSz"` FillTime okex.JSONFloat64 `json:"fillTime"` AvgPx okex.JSONFloat64 `json:"avgPx"` Lever okex.JSONFloat64 `json:"lever"` TpTriggerPx okex.JSONFloat64 `json:"tpTriggerPx"` TpOrdPx okex.JSONFloat64 `json:"tpOrdPx"` SlTriggerPx okex.JSONFloat64 `json:"slTriggerPx"` SlOrdPx okex.JSONFloat64 `json:"slOrdPx"` FeeCcy okex.JSONFloat64 `json:"feeCcy"` Fee okex.JSONFloat64 `json:"fee"` RebateCcy okex.JSONFloat64 `json:"rebateCcy"` Rebate okex.JSONFloat64 `json:"rebate"` Category okex.JSONFloat64 `json:"category"` OrdId okex.JSONFloat64 `json:"ordId"` State okex.OrderState `json:"state,string"` TdMode okex.TradeMode `json:"tdMode,string"` PosSide okex.PositionSide `json:"posSide,string"` Side okex.OrderSide `json:"side,string"` OrdType okex.OrderType `json:"ordType,string"` InstType okex.InstrumentType `json:"instType,string"` TgtCcy okex.QuantityType `json:"tgtCcy,string"` UTime okex.JSONTime `json:"uTime"` CTime okex.JSONTime `json:"cTime"` }
type PlaceOrder ¶
type TransactionDetail ¶
type TransactionDetail struct { InstID string `json:"instId"` TradeID string `json:"tradeId"` ClOrdID string `json:"clOrdId"` OrdId okex.JSONFloat64 `json:"ordId"` BillID okex.JSONFloat64 `json:"billId"` Tag okex.JSONFloat64 `json:"tag"` FillPx okex.JSONFloat64 `json:"fillPx"` FillSz okex.JSONFloat64 `json:"fillSz"` FeeCcy okex.JSONFloat64 `json:"feeCcy"` Fee okex.JSONFloat64 `json:"fee"` InstType okex.InstrumentType `json:"instType,string"` Side okex.OrderSide `json:"side,string"` PosSide okex.PositionSide `json:"posSide,string"` ExecType okex.OrderFlowType `json:"execType,string"` TS okex.JSONTime `json:"ts"` }
Click to show internal directories.
Click to hide internal directories.