feat: expose unified exchange activity APIs and exports
This commit is contained in:
@@ -1163,5 +1163,152 @@
|
||||
"$ref": "#/components/schemas/CheckoLicenseListPayload"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ExchangeMetric": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"unit": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"calculated_on": {
|
||||
"type": "string",
|
||||
"format": "date",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"value",
|
||||
"unit",
|
||||
"calculated_on"
|
||||
]
|
||||
},
|
||||
"ExchangeTrading": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"traded_on": {
|
||||
"type": "string",
|
||||
"format": "date"
|
||||
},
|
||||
"board_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"upstream": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"traded_on",
|
||||
"board_id",
|
||||
"upstream"
|
||||
]
|
||||
},
|
||||
"ExchangeInstrumentListPayload": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"exchange": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"moex",
|
||||
"spb"
|
||||
]
|
||||
},
|
||||
"instrument_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"issuer_inn": {
|
||||
"type": "string",
|
||||
"pattern": "^[0-9]{10}$"
|
||||
},
|
||||
"issuer_provider_id": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"isin": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"instrument_kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"listing_date": {
|
||||
"type": "string",
|
||||
"format": "date",
|
||||
"nullable": true
|
||||
},
|
||||
"nominal_value": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"nominal_currency": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
},
|
||||
"trading": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/ExchangeTrading"
|
||||
}
|
||||
],
|
||||
"nullable": true
|
||||
},
|
||||
"duration": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/ExchangeMetric"
|
||||
}
|
||||
],
|
||||
"nullable": true
|
||||
},
|
||||
"yield": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/ExchangeMetric"
|
||||
}
|
||||
],
|
||||
"nullable": true
|
||||
},
|
||||
"provenance": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
},
|
||||
"upstream": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"exchange",
|
||||
"instrument_id",
|
||||
"issuer_inn",
|
||||
"issuer_provider_id",
|
||||
"isin",
|
||||
"instrument_kind",
|
||||
"listing_date",
|
||||
"nominal_value",
|
||||
"nominal_currency",
|
||||
"parameters",
|
||||
"trading",
|
||||
"duration",
|
||||
"yield",
|
||||
"provenance",
|
||||
"upstream"
|
||||
]
|
||||
},
|
||||
"ExchangeInstrumentDetailPayload": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/ExchangeInstrumentListPayload"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user