Get risk factors
GEThttps://vega-data.nodes.guru:3008/api/v2/market/:marketId/risk/factors
Get risk factor data for a given market
Request
Path Parameters
marketId stringrequired
Market ID to get the risk factor for.
Responses
- 200
- 500
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
riskFactor object
{
"riskFactor": {
"long": "string",
"market": "string",
"short": "string"
}
}
An internal server error
- application/json
- Schema
- Example (from schema)
Schema
code int32
details object[]
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
An unexpected error response.
- application/json
- Schema
- Example (from schema)
Schema
code int32
details object[]
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
- curl
- python
- go
- nodejs
- CURL
curl -L -X GET 'https://vega-data.nodes.guru:3008/api/v2/market/:marketId/risk/factors' \
-H 'Accept: application/json'
ResponseClear