Documentation ¶
Index ¶
- type AsyncTimeRangedBatchQuery
- type BinanceFuturesIncomeBatchQuery
- type BinanceFuturesIncomeHistoryService
- type ClosedOrderBatchQuery
- type DepositBatchQuery
- type KLineBatchQuery
- type MarginInterestBatchQuery
- type MarginLiquidationBatchQuery
- type MarginLoanBatchQuery
- type MarginRepayBatchQuery
- type RewardBatchQuery
- type TradeBatchQuery
- type WithdrawBatchQuery
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 BinanceFuturesIncomeBatchQuery ¶ added in v1.45.0
type BinanceFuturesIncomeBatchQuery struct {
BinanceFuturesIncomeHistoryService
}
func (*BinanceFuturesIncomeBatchQuery) Query ¶ added in v1.45.0
func (e *BinanceFuturesIncomeBatchQuery) Query(ctx context.Context, symbol string, incomeType binanceapi.FuturesIncomeType, startTime, endTime time.Time) (c chan binanceapi.FuturesIncome, errC chan error)
type BinanceFuturesIncomeHistoryService ¶ added in v1.45.0
type BinanceFuturesIncomeHistoryService interface {
QueryFuturesIncomeHistory(ctx context.Context, symbol string, incomeType binanceapi.FuturesIncomeType, startTime, endTime *time.Time) ([]binanceapi.FuturesIncome, error)
}
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.MarginHistoryService
}
type MarginLiquidationBatchQuery ¶ added in v1.33.0
type MarginLiquidationBatchQuery struct {
types.MarginHistoryService
}
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.MarginHistoryService
}
type MarginRepayBatchQuery ¶ added in v1.33.0
type MarginRepayBatchQuery struct {
types.MarginHistoryService
}
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.