get https://web3api.io/api/v2/market/futures/long-short-ratio//historical
Retrieves the historical time series Long/Short Ratio data for the specified instrument and exchange(s).
Time Range Limit
The maximum time range (difference between startDate and endDate) is 1 day.
Not specifying startDate and endDate
If the
startDate
andendDate
query parameters are not provided, the API will return the data from the previous 24 hours with a 1 hour frequency.
RESPONSE DATA
Field | Type | Description |
---|---|---|
{metadata} | object | The metadata associated with the data. |
{metadata}.startDate | number | string | The first date/time for which data is available. |
{metadata}.endDate | number | string | The last date/time for which data is available. |
[data] | array | The Long/Short Ratio data corresponding to the columns fields, aggregated by exchange. |
[data].exchange | string | The name of the exchange. |
[data].timestamp | number | string | The time at which the event occurred. |
[data].Ratio | number | The long/short account number ratio of all traders |
[data].longAccount | number | The long account number ratio of all traders |
[data].shortAccount | number | The short account number ratio of all traders |
[data].period | number | The number of the period. |