Skip to content
This repository was archived by the owner on Dec 28, 2023. It is now read-only.

Commit 987c9fb

Browse files
author
nobody
committed
JSON Schema Update
1 parent 2cf8a80 commit 987c9fb

File tree

3 files changed

+25
-7
lines changed

3 files changed

+25
-7
lines changed

config/v3/active_symbols/receive.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,14 @@
1818
"additionalProperties": false,
1919
"required": [
2020
"display_name",
21+
"display_order",
2122
"exchange_is_open",
2223
"is_trading_suspended",
2324
"market",
2425
"market_display_name",
2526
"pip",
27+
"subgroup",
28+
"subgroup_display_name",
2629
"submarket",
2730
"submarket_display_name",
2831
"symbol",
@@ -45,6 +48,10 @@
4548
"description": "Display name.",
4649
"type": "string"
4750
},
51+
"display_order": {
52+
"description": "Display order.",
53+
"type": "integer"
54+
},
4855
"exchange_is_open": {
4956
"description": "`1` if market is currently open, `0` if closed.",
5057
"type": "integer",
@@ -96,10 +103,22 @@
96103
"description": "Number of seconds elapsed since the last spot price. Only returned on `full` active symbols call.",
97104
"type": "string"
98105
},
106+
"spot_percentage_change": {
107+
"description": "Daily percentage for a symbol. Only returned on 'full' active symbols call.",
108+
"type": "string"
109+
},
99110
"spot_time": {
100111
"description": "Latest spot epoch time. Only returned on `full` active symbols call.",
101112
"type": "string"
102113
},
114+
"subgroup": {
115+
"description": "Subgroup name.",
116+
"type": "string"
117+
},
118+
"subgroup_display_name": {
119+
"description": "Translated subgroup name.",
120+
"type": "string"
121+
},
103122
"submarket": {
104123
"description": "Submarket name.",
105124
"type": "string"

config/v3/get_limits/receive.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,19 @@
3434
"description": "Contains limitation information for each market.",
3535
"type": "object",
3636
"patternProperties": {
37-
"^(commodities|forex|indices|synthetic_index|basket_index)$": {
37+
"^(commodities|forex|indices|synthetic_index)$": {
3838
"description": "List of limitation profiles for each market",
3939
"type": "array",
4040
"items": {
4141
"type": "object",
4242
"additionalProperties": false,
4343
"properties": {
44+
"level": {
45+
"description": "The group the profile belong to.",
46+
"type": "string"
47+
},
4448
"name": {
45-
"description": "The submarket display name.",
49+
"description": "The market or submarket display name.",
4650
"type": "string"
4751
},
4852
"payout_limit": {

config/v3/landing_company_details/receive.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@
3838
"type": "object",
3939
"additionalProperties": false,
4040
"properties": {
41-
"basket_index": {
42-
"title": "Basket Indices",
43-
"description": "Name of basket_index.",
44-
"type": "object"
45-
},
4641
"commodities": {
4742
"title": "Commodities",
4843
"description": "Name of commodities.",

0 commit comments

Comments
 (0)