addedOutput schema / $defs
Added value: +{
+ "FilterOption": {
+ "description": "Named filter option, optionally containing child options.",
+ "properties": {
+ "children": {
+ "anyOf": [
+ {
+ "items": {
+ "$ref": "#/$defs/FilterOption"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "displayName": {
+ "type": "string"
+ },
+ "numberOfOrderbooks": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "value",
+ "displayName",
+ "numberOfOrderbooks"
+ ],
+ "type": "object"
+ },
+ "FutureForwardFilterOptions": {
+ "properties": {
+ "callIndicators": {
+ "items": {
+ "$ref": "#/$defs/FilterOption"
+ },
+ "type": "array"
+ },
+ "endDates": {
+ "items": {
+ "$ref": "#/$defs/FilterOption"
+ },
+ "type": "array"
+ },
+ "optionTypes": {
+ "items": {
+ "$ref": "#/$defs/FilterOption"
+ },
+ "type": "array"
+ },
+ "underlyingInstruments": {
+ "items": {
+ "$ref": "#/$defs/FilterOption"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "FutureForwardListItem": {
+ "properties": {
+ "buyPrice": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "change": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "changePercent": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "countryCode": {
+ "type": "string"
+ },
+ "endDate": {
+ "type": "string"
+ },
+ "hasPosition": {
+ "type": "boolean"
+ },
+ "highestPrice": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "lastPrice": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "lowestPrice": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "name": {
+ "type": "string"
+ },
+ "orderbookId": {
+ "type": "string"
+ },
+ "sellPrice": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "totalVolumeTraded": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ }
+ },
+ "required": [
+ "orderbookId",
+ "countryCode",
+ "name",
+ "endDate",
+ "hasPosition"
+ ],
+ "type": "object"
+ },
+ "FutureForwardOptionLeg": {
+ "properties": {
+ "buyPrice": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "buyVolume": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "callIndicator": {
+ "type": "string"
+ },
+ "countryCode": {
+ "type": "string"
+ },
+ "hasPosition": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "orderbookId": {
+ "type": "string"
+ },
+ "sellPrice": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "sellVolume": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "strikePrice": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "orderbookId",
+ "countryCode",
+ "name",
+ "hasPosition",
+ "strikePrice",
+ "callIndicator"
+ ],
+ "type": "object"
+ },
+ "FutureForwardResponseFilter": {
+ "properties": {
+ "callIndicators": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "endDates": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "optionTypes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "underlyingInstruments": {
+ "items": {
+ "description": "Avanza order-book ID from discovery; not the separate instrumentId.",
+ "minLength": 1,
+ "pattern": "^[0-9]+$",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "yearMonths": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "FutureForwardUnderlyingOption": {
+ "properties": {
+ "change": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "changePercent": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "countryCode": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "highestPrice": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "instrumentType": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "lastPrice": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "lowestPrice": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "name": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "orderbookId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ }
+ },
+ "type": "object"
+ },
+ "MatchedOption": {
+ "properties": {
+ "call": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/FutureForwardOptionLeg"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "put": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/FutureForwardOptionLeg"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ }
+ },
+ "type": "object"
+ },
+ "PaginationResponse": {
+ "description": "Pagination values returned by filter endpoints.",
+ "properties": {
+ "limit": {
+ "type": "integer"
+ },
+ "offset": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "offset",
+ "limit"
+ ],
+ "type": "object"
+ },
+ "SortBy": {
+ "description": "Sort configuration for filter endpoints.",
+ "properties": {
+ "field": {
+ "type": "string"
+ },
+ "order": {
+ "enum": [
+ "asc",
+ "desc"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "field",
+ "order"
+ ],
+ "type": "object"
+ }
+}