addedInput schema / additionalProperties
Added value: +false
removedInput schema / properties / instrument_id
Removed value: -{
- "type": "string"
-}
addedInput schema / properties / limit
Added value: +{
+ "default": 20,
+ "maximum": 100,
+ "minimum": 1,
+ "type": "integer"
+}
addedInput schema / properties / offset
Added value: +{
+ "default": 0,
+ "minimum": 0,
+ "type": "integer"
+}
addedInput schema / properties / order_book_id
Added value: +{
+ "description": "Avanza order-book ID from discovery; not the separate instrumentId.",
+ "minLength": 1,
+ "pattern": "^[0-9]+$",
+ "type": "string"
+}
changedInput schema / required
Previous value: -[
- "instrument_id"
-]New value: +[
+ "order_book_id"
+]
addedOutput schema / properties
Added value: +{
+ "pagination": {
+ "properties": {
+ "has_more": {
+ "type": "boolean"
+ },
+ "limit": {
+ "maximum": 100,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "offset": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "returned": {
+ "type": "integer"
+ },
+ "total": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Source count; null when the selected section is unavailable"
+ }
+ },
+ "required": [
+ "offset",
+ "limit",
+ "total",
+ "returned",
+ "has_more"
+ ],
+ "type": "object"
+ },
+ "trades": {
+ "items": {
+ "additionalProperties": true,
+ "description": "Individual trade information.",
+ "properties": {
+ "buyer": {
+ "type": "string"
+ },
+ "cancelled": {
+ "type": "boolean"
+ },
+ "dealTime": {
+ "type": "integer"
+ },
+ "matchedOnMarket": {
+ "type": "boolean"
+ },
+ "price": {
+ "type": "number"
+ },
+ "seller": {
+ "type": "string"
+ },
+ "volume": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "buyer",
+ "seller",
+ "dealTime",
+ "price",
+ "volume",
+ "matchedOnMarket",
+ "cancelled"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+}
addedOutput schema / required
Added value: +[
+ "trades",
+ "pagination"
+]