All URIs are relative to https://api.bybit.com
Method | HTTP request | Description |
---|---|---|
LinearKlineGet | Get /public/linear/kline | Get kline |
LinearKlineMarkPrice | Get /public/linear/mark-price-kline | Get kline |
interface{} LinearKlineGet(ctx, symbol, interval, from, optional) Get kline
This will get kline
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
symbol | string | Contract type. | |
interval | string | Kline interval. | |
from | float32 | from timestamp. | |
optional | *LinearKlineGetOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a LinearKlineGetOpts struct
Name | Type | Description | Notes |
---|
limit | optional.Float32| Contract type. |
No authorization required
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
interface{} LinearKlineMarkPrice(ctx, symbol, interval, from, optional) Get kline
This will get mark price kline
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
symbol | string | Contract type. | |
interval | string | Kline interval. | |
from | float32 | from timestamp. | |
optional | *LinearKlineMarkPriceOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a LinearKlineMarkPriceOpts struct
Name | Type | Description | Notes |
---|
limit | optional.Float32| Contract type. |
apiKey, apiSignature, timestamp
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]