This document was generated automatically. Please see README Generator for more info.
| Required? | Name | Description | Type | Options | Default |
|---|---|---|---|---|---|
| API_ENDPOINT | An API endpoint for Superstate | string | https://api.superstate.com/v1 |
||
| TRANSACTION_API_KEY | Api key for /v2/transactions API endpoints | string | |||
| TRANSACTION_API_SECRET | Api secret for /v2/transactions API endpoints | string | |||
| LOOKBACK_DAYS | The number of days of historical data to retrieve | number | 10 |
||
| RETRY_INTERVAL_MS | The amount of time (in ms) to wait before sending a new request for getting an updated price. | number | 60000 |
||
| BACKGROUND_EXECUTE_MS | The amount of time the background execute should sleep before performing the next request | number | 10000 |
||
| NAV_CRON_INTERVAL_MIN | How many minutes do we wait between each cron job that fetches Nav | number | 10 |
There are no rate limits for this adapter.
| Required? | Name | Description | Type | Options | Default |
|---|---|---|---|---|---|
| endpoint | The endpoint to use | string | nav, por, reserves, transactions | reserves |
Supported names for this endpoint are: nav, por, reserves.
| Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
|---|---|---|---|---|---|---|---|---|
| ✅ | fundId | Fund id | number | |||||
| reportValue | Which value to report on | string | assets_under_management, net_asset_value |
net_asset_value |
Request:
{
"data": {
"endpoint": "reserves",
"fundId": 1,
"reportValue": "net_asset_value"
}
}transactions is the only supported name for this endpoint.
| Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
|---|---|---|---|---|---|---|---|---|
| ✅ | fundId | Used to fetch Net Asset Value | number | |||||
| ✅ | ticker | Used to fetch transactions | string | |||||
| ✅ | transactionStatus | Used to query transaction_status | string | Completed, Pending |
||||
| ✅ | operations | Used to match transactions operation_type | string[] | |||||
| ✅ | decimals | Number of decimals of response | number |
Request:
{
"data": {
"endpoint": "transactions",
"fundId": 1,
"ticker": "tickerName",
"transactionStatus": "Completed",
"operations": ["open"],
"decimals": 18
}
}MIT License