Get Historical Hourly Borrow Interest
Get Historical Hourly Borrow Interest. Each entry denotes the hourly quantities for the specific asset. Total borrowed quantity is inclusive of interest. interest = totalBorrowedQuantity - borrowedQuantity which denotes the interest charged in the particular hour for the asset.
- supports pagination
- filtering createdAtDatetime, createdAtTimestamp requires additional keywords, see filtering support
- On a single query request you can retrieve data over a 7 day window, with the data available for the last 90 days
Ratelimited: True
Request
- Base URLhttps://api.exchange.bullish.com/trading-api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
unique trading account ID
Id of the trading account. tradingAccountId is mandatory in the query for users with multiple trading accounts. For users with a single trading account, it can be automatically retrieved from the login.
asset symbol as denoted in the world
ISO 8601 with millisecond as string
start timestamp of period, ISO 8601 with millisecond as string
ISO 8601 with millisecond as string
end timestamp of period, ISO 8601 with millisecond as string
Response
OK
Example response
[
{
"assetId": "1",
"assetSymbol": "BTC",
"borrowedQuantity": "1.00000000",
"totalBorrowedQuantity": "1.00000000",
"createdAtDatetime": "2020-08-21T08:00:00.000Z",
"createdAtTimestamp": "1621490985000"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.