All URIs are relative to https://api.cryptoweather.ai
Method | HTTP request | Description |
---|---|---|
V1PrivateAccuracySymbolIntervalPeriodGet | Get /v1/private/accuracy/{symbol}/{interval}/{period} | Accuracy |
V1PrivateForecastAccuracySymbolIntervalPeriodGet | Get /v1/private/forecast-accuracy/{symbol}/{interval}/{period} | Forecast Accuracy |
V1PrivateForecastSymbolIntervalGet | Get /v1/private/forecast/{symbol}/{interval} | Forecast |
V1PrivateForecastTimeSymbolIntervalPeriodGet | Get /v1/private/forecast-time/{symbol}/{interval}/{period} | Forecast Time |
V1PrivateTrendSymbolGet | Get /v1/private/trend/{symbol} | Trend |
V1PrivateTrendTabularGet | Get /v1/private/trend-tabular | Trend Tabular |
PrivateAccuracyResponse V1PrivateAccuracySymbolIntervalPeriodGet(ctx, symbol, interval, period, optional) Accuracy
The accuracy response contains the following attributes. + rmse
Root Mean Square Error + mae
Mean Absolute error + r2
R Squared + ci
Confidence Interval lower and upper error bounds
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
symbol | string | The cryptocurrency symbol. | |
interval | string | The forecast interval, 1h or 1d. | |
period | string | The period for computing the accuracy, such as the past 7 days. | |
optional | *PrivateApiV1PrivateAccuracySymbolIntervalPeriodGetOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a PrivateApiV1PrivateAccuracySymbolIntervalPeriodGetOpts struct
Name | Type | Description | Notes |
---|
cookie | optional.String| e.g. csrf=b1820141-1bad-4a9c-93c0-52022817ce89 | xCsrf | optional.String| e.g. b1820141-1bad-4a9c-93c0-52022817ce89 |
[PrivateAccuracyResponse](Private Accuracy Response.md)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PrivateForecastAccuracyResponse V1PrivateForecastAccuracySymbolIntervalPeriodGet(ctx, symbol, interval, period, optional) Forecast Accuracy
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
symbol | string | The cryptocurrency symbol. | |
interval | string | The forecast interval, 1h or 1d. | |
period | string | The period for computing the error bounds, typically 7d or 30d. | |
optional | *PrivateApiV1PrivateForecastAccuracySymbolIntervalPeriodGetOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a PrivateApiV1PrivateForecastAccuracySymbolIntervalPeriodGetOpts struct
Name | Type | Description | Notes |
---|
cookie | optional.String| e.g. csrf=b1820141-1bad-4a9c-93c0-52022817ce89 | xCsrf | optional.String| e.g. b1820141-1bad-4a9c-93c0-52022817ce89 |
[PrivateForecastAccuracyResponse](Private Forecast Accuracy Response.md)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PrivateForecastResponse V1PrivateForecastSymbolIntervalGet(ctx, symbol, interval, optional) Forecast
The forecast response contains a sequence of forecasts at the specified intervals, with the following attributes. + time_start
start time of the period the forecast is applicable for + time_end
end time of the period the forecast is applicable for + low
forecasted high during the period + high
forecasted low during the period + weighted_price
forecasted weighted price during the period + change_pct
percent change in price for forecasted weighted_price relative to current price + change_usd
dollar change in price for forecasted weighted_price relative to current price
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
symbol | string | The cryptocurrency symbol. | |
interval | string | The forecast interval, 1h or 1d. | |
optional | *PrivateApiV1PrivateForecastSymbolIntervalGetOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a PrivateApiV1PrivateForecastSymbolIntervalGetOpts struct
Name | Type | Description | Notes |
---|
cookie | optional.String| e.g. csrf=b1820141-1bad-4a9c-93c0-52022817ce89 | xCsrf | optional.String| e.g. b1820141-1bad-4a9c-93c0-52022817ce89 |
[PrivateForecastResponse](Private Forecast Response.md)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PrivateForecastTimeResponse V1PrivateForecastTimeSymbolIntervalPeriodGet(ctx, symbol, interval, period, optional) Forecast Time
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
symbol | string | The cryptocurrency symbol. | |
interval | string | The forecast interval, 1h or 1d. | |
period | string | The period for computing the error bounds, typically 7d or 30d. | |
optional | *PrivateApiV1PrivateForecastTimeSymbolIntervalPeriodGetOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a PrivateApiV1PrivateForecastTimeSymbolIntervalPeriodGetOpts struct
Name | Type | Description | Notes |
---|
cookie | optional.String| e.g. csrf=b1820141-1bad-4a9c-93c0-52022817ce89 | xCsrf | optional.String| e.g. b1820141-1bad-4a9c-93c0-52022817ce89 |
[PrivateForecastTimeResponse](Private Forecast Time Response.md)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PublicTrendResponse V1PrivateTrendSymbolGet(ctx, symbol, optional) Trend
The trend response contains a collection of forecasts for different intervals with the following attributes. + time_start
start time of the period the forecast is applicable for + time_end
end time of the period the forecast is applicable for + interval
interval in hours that the forecast is applicable for + weighted_price
forecasted weighted price during the period + change_pct
percent change in price for forecasted weighted_price relative to current price + change_usd
dollar change in price for forecasted weighted_price relative to current price
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
symbol | string | The cryptocurrency symbol. | |
optional | *PrivateApiV1PrivateTrendSymbolGetOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a PrivateApiV1PrivateTrendSymbolGetOpts struct
Name | Type | Description | Notes |
---|
cookie | optional.String| e.g. csrf=b1820141-1bad-4a9c-93c0-52022817ce89 | xCsrf | optional.String| e.g. b1820141-1bad-4a9c-93c0-52022817ce89 |
[PublicTrendResponse](Public Trend Response.md)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PrivateTrendTabularResponse V1PrivateTrendTabularGet(ctx, optional) Trend Tabular
The trend tabular response contains a collection of forecasts for all supported cryptocurrencies at different intervals with the following attributes. + time_start
start time of the period the forecast is applicable for + time_end
end time of the period the forecast is applicable for + interval
interval in hours that the forecast is applicable for + weighted_price
forecasted weighted price during the period + change_pct
percent change in price for forecasted weighted_price relative to current price + change_usd
dollar change in price for forecasted weighted_price relative to current price
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *PrivateApiV1PrivateTrendTabularGetOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a PrivateApiV1PrivateTrendTabularGetOpts struct
Name | Type | Description | Notes |
---|---|---|---|
cookie | optional.String | e.g. csrf=b1820141-1bad-4a9c-93c0-52022817ce89 | |
xCsrf | optional.String | e.g. b1820141-1bad-4a9c-93c0-52022817ce89 |
[PrivateTrendTabularResponse](Private Trend Tabular Response.md)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]