-
-
Notifications
You must be signed in to change notification settings - Fork 69
/
derivative_contract.go
21 lines (18 loc) · 1015 Bytes
/
derivative_contract.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package bybit
// DerivativeContractServiceI :
type DerivativeContractServiceI interface {
// Market Data Endpoints
DerivativesOrderBook(DerivativesOrderBookParam) (*DerivativesOrderBookResponse, error)
DerivativesKline(DerivativesKlineParam) (*DerivativesKlineResponse, error)
DerivativesTickers(DerivativesTickersParam) (*DerivativesTickersResponse, error)
DerivativesTickersForOption(DerivativesTickersForOptionParam) (*DerivativesTickersForOptionResponse, error)
DerivativesInstruments(DerivativesInstrumentsParam) (*DerivativesInstrumentsResponse, error)
DerivativesInstrumentsForOption(DerivativesInstrumentsForOptionParam) (*DerivativesInstrumentsForOptionResponse, error)
DerivativesMarkPriceKline(DerivativesMarkPriceKlineParam) (*DerivativesMarkPriceKlineResponse, error)
DerivativesIndexPriceKline(DerivativesIndexPriceKlineParam) (*DerivativesIndexPriceKlineResponse, error)
}
// DerivativeContractService :
type DerivativeContractService struct {
client *Client
*DerivativeCommonService
}