Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsyncTimeRangedBatchQuery ¶ added in v1.33.0
type AsyncTimeRangedBatchQuery struct {
// Type is the object type of the result
Type interface{}
// Limiter is the rate limiter for each query
Limiter *rate.Limiter
// Q is the remote query function
Q func(startTime, endTime time.Time) (interface{}, error)
// T function returns time of an object
T func(obj interface{}) time.Time
// ID returns the ID of the object
ID func(obj interface{}) string
// JumpIfEmpty jump the startTime + duration when the result is empty
JumpIfEmpty time.Duration
}
type ClosedOrderBatchQuery ¶ added in v1.13.0
type ClosedOrderBatchQuery struct {
types.ExchangeTradeHistoryService
}
type DepositBatchQuery ¶ added in v1.33.2
type DepositBatchQuery struct {
types.ExchangeTransferService
}
type KLineBatchQuery ¶ added in v1.13.0
type MarginInterestBatchQuery ¶ added in v1.33.0
type MarginInterestBatchQuery struct {
types.MarginHistory
}
type MarginLiquidationBatchQuery ¶ added in v1.33.0
type MarginLiquidationBatchQuery struct {
types.MarginHistory
}
func (*MarginLiquidationBatchQuery) Query ¶ added in v1.33.0
func (e *MarginLiquidationBatchQuery) Query(ctx context.Context, startTime, endTime time.Time) (c chan types.MarginLiquidation, errC chan error)
type MarginLoanBatchQuery ¶ added in v1.33.0
type MarginLoanBatchQuery struct {
types.MarginHistory
}
type MarginRepayBatchQuery ¶ added in v1.33.0
type MarginRepayBatchQuery struct {
types.MarginHistory
}
type RewardBatchQuery ¶ added in v1.13.0
type RewardBatchQuery struct {
Service types.ExchangeRewardService
}
type TradeBatchQuery ¶ added in v1.13.0
type TradeBatchQuery struct {
types.ExchangeTradeHistoryService
}
type WithdrawBatchQuery ¶ added in v1.33.0
type WithdrawBatchQuery struct {
types.ExchangeTransferService
}
Click to show internal directories.
Click to hide internal directories.