@barchart/chart-lib 2.201.1 → 2.201.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- chart-lib/barchart.chart.d.ts +2 -0
- chart-lib/barchart.chart.js +1 -1
- chart-lib/index.js +14 -4
- chart-lib/package.json +1 -1
- chart-lib/schemas/chart.schema.json +1861 -0
- chart-lib/schemas/fields.schema.json +60 -0
- chart-lib/schemas/studies.schema.json +103 -0
|
@@ -0,0 +1,1861 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"title": "JSON schema for Barchart HTML5 Charts",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"color": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"pattern": "^(#([0-9a-fA-F]{3}){1,2})|(rgba\\((\\s*\\d{1,3}\\s*,){3}\\s*[01]+(\\.\\d+)?\\))|(rgb\\((\\s*\\d{1,3}\\s*)(,\\s*\\d{1,3}\\s*){2}\\))$"
|
|
8
|
+
},
|
|
9
|
+
"orientationChoice": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"enum": ["vertical", "horizontal", "both", "none"]
|
|
12
|
+
},
|
|
13
|
+
"dashStyle": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"enum": [
|
|
16
|
+
"Solid",
|
|
17
|
+
"ShortDash",
|
|
18
|
+
"ShortDot",
|
|
19
|
+
"ShortDashDot",
|
|
20
|
+
"ShortDashDotDot",
|
|
21
|
+
"SparseDot",
|
|
22
|
+
"Dot",
|
|
23
|
+
"Dash",
|
|
24
|
+
"LongDash",
|
|
25
|
+
"DashDot",
|
|
26
|
+
"LongDashDot",
|
|
27
|
+
"LongDashDotDot"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"aggUnit": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"enum": ["Tick", "Intraday", "Day", "Week", "Month", "Quarter", "Year"]
|
|
33
|
+
},
|
|
34
|
+
"aggSpec": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"enum": [
|
|
37
|
+
"None",
|
|
38
|
+
"Nearest",
|
|
39
|
+
"Continue",
|
|
40
|
+
"FormT",
|
|
41
|
+
"PerCount",
|
|
42
|
+
"PerVolume",
|
|
43
|
+
"PerRange",
|
|
44
|
+
"PerSeconds"
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"period": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"pattern": "^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$"
|
|
50
|
+
},
|
|
51
|
+
"density": {
|
|
52
|
+
"type": "integer",
|
|
53
|
+
"minimum": 5
|
|
54
|
+
},
|
|
55
|
+
"curveAttr": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"enum": ["ChangeBased", "OpenVsClose", "UseAllFields"]
|
|
58
|
+
},
|
|
59
|
+
"paddingPercent": {
|
|
60
|
+
"type": "number",
|
|
61
|
+
"minimum": 0.001,
|
|
62
|
+
"maximum": 0.999
|
|
63
|
+
},
|
|
64
|
+
"detachedScale": {
|
|
65
|
+
"type": "object",
|
|
66
|
+
"additionalProperties": false,
|
|
67
|
+
"properties": {
|
|
68
|
+
"marginTop": {
|
|
69
|
+
"$ref": "#/definitions/paddingPercent",
|
|
70
|
+
"default": 0.01
|
|
71
|
+
},
|
|
72
|
+
"marginBottom": {
|
|
73
|
+
"$ref": "#/definitions/paddingPercent",
|
|
74
|
+
"default": 0.01
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"fundamental": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"enum": [
|
|
81
|
+
"AccountsPayable",
|
|
82
|
+
"AccruedExpenses",
|
|
83
|
+
"Cash",
|
|
84
|
+
"CommonShares",
|
|
85
|
+
"DeferredIncomeTax",
|
|
86
|
+
"DeferredLongRevenues",
|
|
87
|
+
"EquityOtherInvestments",
|
|
88
|
+
"IncomeTaxPayable",
|
|
89
|
+
"Intangibles",
|
|
90
|
+
"Inventories",
|
|
91
|
+
"LongTermDebt",
|
|
92
|
+
"MarketableSec",
|
|
93
|
+
"OtherCurrentAssets",
|
|
94
|
+
"OtherCurrentLiabilities",
|
|
95
|
+
"OtherEquity",
|
|
96
|
+
"OtherNonCurrentAssets",
|
|
97
|
+
"OtherNonCurrentLiabilities",
|
|
98
|
+
"PpeNet",
|
|
99
|
+
"PrepaidExpenses",
|
|
100
|
+
"Receivables",
|
|
101
|
+
"RetainedEarnings",
|
|
102
|
+
"ShorttermDebt",
|
|
103
|
+
"TotalAssets",
|
|
104
|
+
"TotalCurrentAssets",
|
|
105
|
+
"TotalCurrentLiabilities",
|
|
106
|
+
"TotalLiabilities",
|
|
107
|
+
"TotalLiabilitiesAndEquity",
|
|
108
|
+
"TotalNonCurrentAssets",
|
|
109
|
+
"TotalNonCurrentLiabilities",
|
|
110
|
+
"TotalShareholdersEquity",
|
|
111
|
+
"BasicEpsContOp",
|
|
112
|
+
"BasicEpsTotalOp",
|
|
113
|
+
"CostGoods",
|
|
114
|
+
"DilutedEpsContOp",
|
|
115
|
+
"DilutedEpsTotalOp",
|
|
116
|
+
"Ebitda",
|
|
117
|
+
"GrossProfit",
|
|
118
|
+
"IncomeTax",
|
|
119
|
+
"InterestExpense",
|
|
120
|
+
"NetIncome",
|
|
121
|
+
"OperatingExpenses",
|
|
122
|
+
"OperatingIncome",
|
|
123
|
+
"OtherIncomeExpenses",
|
|
124
|
+
"PreTaxIncome",
|
|
125
|
+
"Sales"
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
"studyField": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"enum": [
|
|
131
|
+
"MA",
|
|
132
|
+
"MA1",
|
|
133
|
+
"MA2",
|
|
134
|
+
"MA3",
|
|
135
|
+
"MA4",
|
|
136
|
+
"MA5",
|
|
137
|
+
"MA6",
|
|
138
|
+
"MA7",
|
|
139
|
+
"MA8",
|
|
140
|
+
"MA9",
|
|
141
|
+
"MA10",
|
|
142
|
+
"MAS",
|
|
143
|
+
"MAL",
|
|
144
|
+
"EMA",
|
|
145
|
+
"MAHI",
|
|
146
|
+
"MALO",
|
|
147
|
+
"MACD",
|
|
148
|
+
"MACDS",
|
|
149
|
+
"MACDH",
|
|
150
|
+
"ENVU",
|
|
151
|
+
"ENVD",
|
|
152
|
+
"ENVEXPU",
|
|
153
|
+
"ENVEXPD",
|
|
154
|
+
"ENVSMOU",
|
|
155
|
+
"ENVSMOD",
|
|
156
|
+
"SMA",
|
|
157
|
+
"TMA",
|
|
158
|
+
"WMA",
|
|
159
|
+
"VOLMA",
|
|
160
|
+
"OSC",
|
|
161
|
+
"VOSC",
|
|
162
|
+
"RSI",
|
|
163
|
+
"RSIAVG",
|
|
164
|
+
"STORSI",
|
|
165
|
+
"STORSIAVG",
|
|
166
|
+
"HH",
|
|
167
|
+
"LL",
|
|
168
|
+
"PercK",
|
|
169
|
+
"PercD",
|
|
170
|
+
"PercR",
|
|
171
|
+
"WGCL",
|
|
172
|
+
"BOLLBU",
|
|
173
|
+
"BOLLBL",
|
|
174
|
+
"BOLLBM",
|
|
175
|
+
"BOLLBW",
|
|
176
|
+
"BOLLBP",
|
|
177
|
+
"OBVOL",
|
|
178
|
+
"OBVOLAVG",
|
|
179
|
+
"ATR",
|
|
180
|
+
"ATRP",
|
|
181
|
+
"PDI",
|
|
182
|
+
"MDI",
|
|
183
|
+
"ADX",
|
|
184
|
+
"ADXM",
|
|
185
|
+
"ADL",
|
|
186
|
+
"ADWM",
|
|
187
|
+
"ADWMMA",
|
|
188
|
+
"CHAOSC",
|
|
189
|
+
"TP",
|
|
190
|
+
"KCUP",
|
|
191
|
+
"KCMID",
|
|
192
|
+
"KCLOW",
|
|
193
|
+
"KBUP",
|
|
194
|
+
"KBMID",
|
|
195
|
+
"KBLOW",
|
|
196
|
+
"KCEUP",
|
|
197
|
+
"KCEMID",
|
|
198
|
+
"KCELOW",
|
|
199
|
+
"DONUP",
|
|
200
|
+
"DONMID",
|
|
201
|
+
"DONLOW",
|
|
202
|
+
"DONW",
|
|
203
|
+
"PVT",
|
|
204
|
+
"ROC",
|
|
205
|
+
"TRIX",
|
|
206
|
+
"PVPT",
|
|
207
|
+
"PVPTR",
|
|
208
|
+
"PVPTS",
|
|
209
|
+
"ARNUP",
|
|
210
|
+
"ARNLOW",
|
|
211
|
+
"ARNOSC",
|
|
212
|
+
"TCHNUP",
|
|
213
|
+
"TCHNLOW",
|
|
214
|
+
"ALJAW",
|
|
215
|
+
"ALTEETH",
|
|
216
|
+
"ALLIPS",
|
|
217
|
+
"PLTLN",
|
|
218
|
+
"AWOS",
|
|
219
|
+
"AWOSMA",
|
|
220
|
+
"MFMUL",
|
|
221
|
+
"CLV",
|
|
222
|
+
"CHAMF",
|
|
223
|
+
"CHAVOL",
|
|
224
|
+
"DPO",
|
|
225
|
+
"CCI",
|
|
226
|
+
"EMV",
|
|
227
|
+
"EMVMA",
|
|
228
|
+
"ERBLPOW",
|
|
229
|
+
"ERBRPOW",
|
|
230
|
+
"FI",
|
|
231
|
+
"MI",
|
|
232
|
+
"MOM",
|
|
233
|
+
"MOMMA",
|
|
234
|
+
"MFI",
|
|
235
|
+
"MSD",
|
|
236
|
+
"NVI",
|
|
237
|
+
"NVIEMA",
|
|
238
|
+
"PVI",
|
|
239
|
+
"PVIEMA",
|
|
240
|
+
"PPO",
|
|
241
|
+
"PPOS",
|
|
242
|
+
"PPOH",
|
|
243
|
+
"PVO",
|
|
244
|
+
"PVOS",
|
|
245
|
+
"PVOH",
|
|
246
|
+
"HV",
|
|
247
|
+
"PERF",
|
|
248
|
+
"WASI",
|
|
249
|
+
"WWVSARU",
|
|
250
|
+
"WWVSARD",
|
|
251
|
+
"PARSARS",
|
|
252
|
+
"PARSARL",
|
|
253
|
+
"MOVLR",
|
|
254
|
+
"TRSP1",
|
|
255
|
+
"TRSP2",
|
|
256
|
+
"PPTPIV",
|
|
257
|
+
"PPTR1",
|
|
258
|
+
"PPTR2",
|
|
259
|
+
"PPTR3",
|
|
260
|
+
"PPTS1",
|
|
261
|
+
"PPTS2",
|
|
262
|
+
"PPTS3",
|
|
263
|
+
"COTLCCMSP",
|
|
264
|
+
"COTLCLGSP",
|
|
265
|
+
"COTLCSMSP",
|
|
266
|
+
"COTDAGPRO",
|
|
267
|
+
"COTDAGSPD",
|
|
268
|
+
"COTDAGMNM",
|
|
269
|
+
"COTDAGOTH",
|
|
270
|
+
"COTFTRDLI",
|
|
271
|
+
"COTFTRASM",
|
|
272
|
+
"COTFTRLVF",
|
|
273
|
+
"COTFTROTH",
|
|
274
|
+
"TR",
|
|
275
|
+
"IMPVOL",
|
|
276
|
+
"CTM",
|
|
277
|
+
"CPMI",
|
|
278
|
+
"CTLTM",
|
|
279
|
+
"CTLTMF",
|
|
280
|
+
"DEMA",
|
|
281
|
+
"TEMA",
|
|
282
|
+
"TSI",
|
|
283
|
+
"TSISIG",
|
|
284
|
+
"ADJATR",
|
|
285
|
+
"COTR",
|
|
286
|
+
"GMMA3",
|
|
287
|
+
"GMMA5",
|
|
288
|
+
"GMMA8",
|
|
289
|
+
"GMMA10",
|
|
290
|
+
"GMMA12",
|
|
291
|
+
"GMMA15",
|
|
292
|
+
"GMMA30",
|
|
293
|
+
"GMMA35",
|
|
294
|
+
"GMMA40",
|
|
295
|
+
"GMMA45",
|
|
296
|
+
"GMMA50",
|
|
297
|
+
"GMMA60",
|
|
298
|
+
"MCGD",
|
|
299
|
+
"HMA",
|
|
300
|
+
"COPP",
|
|
301
|
+
"CPPH4",
|
|
302
|
+
"CPPH3",
|
|
303
|
+
"CPPH2",
|
|
304
|
+
"CPPH1",
|
|
305
|
+
"CPPL1",
|
|
306
|
+
"CPPL2",
|
|
307
|
+
"CPPL3",
|
|
308
|
+
"CPPL4",
|
|
309
|
+
"REATRHI",
|
|
310
|
+
"REATRLO",
|
|
311
|
+
"BREL",
|
|
312
|
+
"LINRUP",
|
|
313
|
+
"LINRMID",
|
|
314
|
+
"LINRLOW",
|
|
315
|
+
"CSHO",
|
|
316
|
+
"CSHB",
|
|
317
|
+
"CTPI",
|
|
318
|
+
"TCHRE",
|
|
319
|
+
"PCTCHG",
|
|
320
|
+
"ATRMA",
|
|
321
|
+
"STOMOMIX",
|
|
322
|
+
"CHDMOMOSC",
|
|
323
|
+
"VSTOPUP",
|
|
324
|
+
"VSTOPLOW",
|
|
325
|
+
"SUPTR",
|
|
326
|
+
"BARCOLIX",
|
|
327
|
+
"BARKIND",
|
|
328
|
+
"CONVLN",
|
|
329
|
+
"BASELN",
|
|
330
|
+
"LEADSP1",
|
|
331
|
+
"LEADSP2",
|
|
332
|
+
"LAGGSP",
|
|
333
|
+
"VWAP",
|
|
334
|
+
"VWAPSD1U",
|
|
335
|
+
"VWAPSD1L",
|
|
336
|
+
"VWAPSD2U",
|
|
337
|
+
"VWAPSD2L",
|
|
338
|
+
"PLVI",
|
|
339
|
+
"MNVI",
|
|
340
|
+
"DIFA",
|
|
341
|
+
"DOSCH",
|
|
342
|
+
"DOSCS",
|
|
343
|
+
"BOLLSQ",
|
|
344
|
+
"TTMSQZON",
|
|
345
|
+
"TTMSQZOFF",
|
|
346
|
+
"TTMSQZOSC",
|
|
347
|
+
"CRS",
|
|
348
|
+
"CRSAVG",
|
|
349
|
+
"JPIB",
|
|
350
|
+
"JPIS",
|
|
351
|
+
"DRS",
|
|
352
|
+
"MRS",
|
|
353
|
+
"PMO",
|
|
354
|
+
"PMOS",
|
|
355
|
+
"RVOL",
|
|
356
|
+
"WGALPH",
|
|
357
|
+
"UPVOL",
|
|
358
|
+
"DNVOL",
|
|
359
|
+
"TOTVOL",
|
|
360
|
+
"AVWAP",
|
|
361
|
+
"KST",
|
|
362
|
+
"KSTSIG",
|
|
363
|
+
"STC",
|
|
364
|
+
"MCCLO"
|
|
365
|
+
]
|
|
366
|
+
},
|
|
367
|
+
"generalField": {
|
|
368
|
+
"type": "string",
|
|
369
|
+
"enum": [
|
|
370
|
+
"DateTime",
|
|
371
|
+
"Open",
|
|
372
|
+
"High",
|
|
373
|
+
"Low",
|
|
374
|
+
"Close",
|
|
375
|
+
"TradeSize",
|
|
376
|
+
"Volume",
|
|
377
|
+
"OpenInterest",
|
|
378
|
+
"Last",
|
|
379
|
+
"Symbol",
|
|
380
|
+
"Change",
|
|
381
|
+
"PercentChange",
|
|
382
|
+
"PreviousOpen",
|
|
383
|
+
"PreviousClose",
|
|
384
|
+
"PreviousHigh",
|
|
385
|
+
"PreviousLow",
|
|
386
|
+
"WeekPreviousClose",
|
|
387
|
+
"WeekPreviousHigh",
|
|
388
|
+
"WeekPreviousLow",
|
|
389
|
+
"MonthPreviousClose",
|
|
390
|
+
"MonthPreviousHigh",
|
|
391
|
+
"MonthPreviousLow",
|
|
392
|
+
"Projection",
|
|
393
|
+
"BarIndex"
|
|
394
|
+
]
|
|
395
|
+
},
|
|
396
|
+
"optionField": {
|
|
397
|
+
"type": "string",
|
|
398
|
+
"pattern": "^(Call|Put)(OpenInt|IVCurve|Theoretical)?$"
|
|
399
|
+
},
|
|
400
|
+
"previousField": {
|
|
401
|
+
"type": "string",
|
|
402
|
+
"enum": ["PreviousOpen", "PreviousClose", "PreviousHigh", "PreviousLow"]
|
|
403
|
+
},
|
|
404
|
+
"eventField": {
|
|
405
|
+
"type": "string",
|
|
406
|
+
"enum": ["Dividends", "Splits", "Earnings", "Buy", "Sell", "Custom"]
|
|
407
|
+
},
|
|
408
|
+
"curveField": {
|
|
409
|
+
"anyOf": [
|
|
410
|
+
{
|
|
411
|
+
"$ref": "#/definitions/generalField"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"$ref": "#/definitions/studyField"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"$ref": "#/definitions/fundamental"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"$ref": "#/definitions/optionField"
|
|
421
|
+
}
|
|
422
|
+
]
|
|
423
|
+
},
|
|
424
|
+
"curveStyle": {
|
|
425
|
+
"type": "string",
|
|
426
|
+
"enum": [
|
|
427
|
+
"OHLC",
|
|
428
|
+
"Line",
|
|
429
|
+
"Candlestick",
|
|
430
|
+
"Area",
|
|
431
|
+
"Column",
|
|
432
|
+
"Dots",
|
|
433
|
+
"HLC",
|
|
434
|
+
"HL",
|
|
435
|
+
"Ribbon",
|
|
436
|
+
"Step",
|
|
437
|
+
"HollowCandles",
|
|
438
|
+
"HeikinAshi",
|
|
439
|
+
"ElderImpulseSystem",
|
|
440
|
+
"Renko",
|
|
441
|
+
"Range",
|
|
442
|
+
"LineBreak",
|
|
443
|
+
"Kagi",
|
|
444
|
+
"PointAndFigure",
|
|
445
|
+
"Baseline"
|
|
446
|
+
]
|
|
447
|
+
},
|
|
448
|
+
"paneHeight": {
|
|
449
|
+
"type": "number",
|
|
450
|
+
"minimum": 0.01
|
|
451
|
+
},
|
|
452
|
+
"plotPlacement": {
|
|
453
|
+
"type": "string",
|
|
454
|
+
"enum": ["WithSeries", "TimeAxis"],
|
|
455
|
+
"default": "WithSeries"
|
|
456
|
+
},
|
|
457
|
+
"comparison": {
|
|
458
|
+
"type": "string",
|
|
459
|
+
"enum": ["None", "Value", "Percent"],
|
|
460
|
+
"default": "None"
|
|
461
|
+
},
|
|
462
|
+
"scale": {
|
|
463
|
+
"type": "string",
|
|
464
|
+
"enum": ["Linear", "Logarithmic"],
|
|
465
|
+
"default": "Linear"
|
|
466
|
+
},
|
|
467
|
+
"study": {
|
|
468
|
+
"type": "string",
|
|
469
|
+
"enum": [
|
|
470
|
+
"MA",
|
|
471
|
+
"MACDSIG",
|
|
472
|
+
"MASIG",
|
|
473
|
+
"MAEXP",
|
|
474
|
+
"MAHLC",
|
|
475
|
+
"MACD",
|
|
476
|
+
"MACDEXP",
|
|
477
|
+
"VOL",
|
|
478
|
+
"MAENV",
|
|
479
|
+
"MAENVEXP",
|
|
480
|
+
"MAENVSMO",
|
|
481
|
+
"MASMO",
|
|
482
|
+
"MATRI",
|
|
483
|
+
"MAWEI",
|
|
484
|
+
"MAVOL",
|
|
485
|
+
"OSCI",
|
|
486
|
+
"OSCIVOL",
|
|
487
|
+
"RSI",
|
|
488
|
+
"RSIMOD",
|
|
489
|
+
"RSISTO",
|
|
490
|
+
"STOCHF",
|
|
491
|
+
"STOCHS",
|
|
492
|
+
"WPERCR",
|
|
493
|
+
"HHLL",
|
|
494
|
+
"WGCL",
|
|
495
|
+
"BBANDS",
|
|
496
|
+
"BWIDTH",
|
|
497
|
+
"BPERC",
|
|
498
|
+
"BSQUEEZE",
|
|
499
|
+
"OBVOL",
|
|
500
|
+
"ATR",
|
|
501
|
+
"ATRP",
|
|
502
|
+
"ADX",
|
|
503
|
+
"ADXMOD",
|
|
504
|
+
"ADL",
|
|
505
|
+
"ADWM",
|
|
506
|
+
"CHAOSC",
|
|
507
|
+
"TP",
|
|
508
|
+
"KELCHN",
|
|
509
|
+
"KELEXP",
|
|
510
|
+
"KELBND",
|
|
511
|
+
"DONCHN",
|
|
512
|
+
"DONWIDTH",
|
|
513
|
+
"PVT",
|
|
514
|
+
"ROC",
|
|
515
|
+
"TRIX",
|
|
516
|
+
"PPMOV",
|
|
517
|
+
"ARNUPDW",
|
|
518
|
+
"ARNOSC",
|
|
519
|
+
"TCHN",
|
|
520
|
+
"ALLG",
|
|
521
|
+
"PLTLN",
|
|
522
|
+
"AWEOSC",
|
|
523
|
+
"CLV",
|
|
524
|
+
"CHAMF",
|
|
525
|
+
"CHAVOL",
|
|
526
|
+
"DPO",
|
|
527
|
+
"CCI",
|
|
528
|
+
"EMV",
|
|
529
|
+
"ERBLPOW",
|
|
530
|
+
"ERBRPOW",
|
|
531
|
+
"FI",
|
|
532
|
+
"MI",
|
|
533
|
+
"MOM",
|
|
534
|
+
"MFI",
|
|
535
|
+
"MSD",
|
|
536
|
+
"NVI",
|
|
537
|
+
"PVI",
|
|
538
|
+
"PPO",
|
|
539
|
+
"PVO",
|
|
540
|
+
"HV",
|
|
541
|
+
"PERF",
|
|
542
|
+
"WASI",
|
|
543
|
+
"WWVOL",
|
|
544
|
+
"PARTP",
|
|
545
|
+
"MOVLR",
|
|
546
|
+
"TRSP",
|
|
547
|
+
"COTLC",
|
|
548
|
+
"COTDAG",
|
|
549
|
+
"COTFTR",
|
|
550
|
+
"PIVPTS",
|
|
551
|
+
"IMPVOL",
|
|
552
|
+
"CTM",
|
|
553
|
+
"CPMI",
|
|
554
|
+
"DEMA",
|
|
555
|
+
"TEMA",
|
|
556
|
+
"TSI",
|
|
557
|
+
"ADJATR",
|
|
558
|
+
"COTR",
|
|
559
|
+
"GMMA",
|
|
560
|
+
"MCGD",
|
|
561
|
+
"HMA",
|
|
562
|
+
"COPP",
|
|
563
|
+
"CPP",
|
|
564
|
+
"REATRHI",
|
|
565
|
+
"REATRLO",
|
|
566
|
+
"LINRCHN",
|
|
567
|
+
"CSHO",
|
|
568
|
+
"CSHB",
|
|
569
|
+
"CTPI",
|
|
570
|
+
"TCHRE",
|
|
571
|
+
"PCTCHG",
|
|
572
|
+
"OPINT",
|
|
573
|
+
"STOMOMIX",
|
|
574
|
+
"CHDMOMOSC",
|
|
575
|
+
"VSTOP",
|
|
576
|
+
"SUPTR",
|
|
577
|
+
"ICHCLD",
|
|
578
|
+
"VWAP",
|
|
579
|
+
"VOIN",
|
|
580
|
+
"DIFA",
|
|
581
|
+
"DOSC",
|
|
582
|
+
"MARIB",
|
|
583
|
+
"HASMO",
|
|
584
|
+
"TTMSQZ",
|
|
585
|
+
"CRS",
|
|
586
|
+
"JPI",
|
|
587
|
+
"CTTP",
|
|
588
|
+
"DRS",
|
|
589
|
+
"MRS",
|
|
590
|
+
"PMO",
|
|
591
|
+
"RVOL",
|
|
592
|
+
"WGALPH",
|
|
593
|
+
"VOLAP",
|
|
594
|
+
"AVWAP",
|
|
595
|
+
"KST",
|
|
596
|
+
"STC",
|
|
597
|
+
"MCCLO"
|
|
598
|
+
]
|
|
599
|
+
},
|
|
600
|
+
"annId": {
|
|
601
|
+
"type": "string",
|
|
602
|
+
"enum": [
|
|
603
|
+
"Line",
|
|
604
|
+
"Ray",
|
|
605
|
+
"GannLine",
|
|
606
|
+
"VerticalLine",
|
|
607
|
+
"HorizontalLine",
|
|
608
|
+
"FiftyPercentLine",
|
|
609
|
+
"LongPosition",
|
|
610
|
+
"ShortPosition",
|
|
611
|
+
"FibonacciRetracement",
|
|
612
|
+
"TrendBasedFibExtension",
|
|
613
|
+
"FibonacciFan",
|
|
614
|
+
"FibonacciArcs",
|
|
615
|
+
"FibonacciChannel",
|
|
616
|
+
"GannFan",
|
|
617
|
+
"SpeedResistanceFan",
|
|
618
|
+
"SpeedResistanceArcs",
|
|
619
|
+
"AndrewsPitchfork",
|
|
620
|
+
"Rectangle",
|
|
621
|
+
"Ellipse",
|
|
622
|
+
"TrendChannel",
|
|
623
|
+
"SymbolArrowUp",
|
|
624
|
+
"SymbolArrowDown",
|
|
625
|
+
"SymbolArrowRight",
|
|
626
|
+
"SymbolArrowLeft",
|
|
627
|
+
"SymbolArrowHorizontal",
|
|
628
|
+
"SymbolArrowVertical",
|
|
629
|
+
"SymbolArcDown",
|
|
630
|
+
"SymbolArcUp",
|
|
631
|
+
"SymbolThumbsUp",
|
|
632
|
+
"SymbolThumbsDown",
|
|
633
|
+
"SymbolZero",
|
|
634
|
+
"SymbolOne",
|
|
635
|
+
"SymbolTwo",
|
|
636
|
+
"SymbolThree",
|
|
637
|
+
"SymbolFour",
|
|
638
|
+
"SymbolFive",
|
|
639
|
+
"SymbolSix",
|
|
640
|
+
"SymbolSeven",
|
|
641
|
+
"SymbolEight",
|
|
642
|
+
"SymbolNine",
|
|
643
|
+
"SymbolQuestion",
|
|
644
|
+
"SymbolFishHook",
|
|
645
|
+
"SymbolBuy",
|
|
646
|
+
"SymbolSell",
|
|
647
|
+
"FibonacciTimeZones",
|
|
648
|
+
"Text",
|
|
649
|
+
"ComputedText",
|
|
650
|
+
"DateRange",
|
|
651
|
+
"PriceRange",
|
|
652
|
+
"DatePriceRange",
|
|
653
|
+
"GannBox",
|
|
654
|
+
"GannSquare"
|
|
655
|
+
]
|
|
656
|
+
},
|
|
657
|
+
"aggregation": {
|
|
658
|
+
"type": "object",
|
|
659
|
+
"additionalProperties": false,
|
|
660
|
+
"properties": {
|
|
661
|
+
"size": {
|
|
662
|
+
"type": "integer",
|
|
663
|
+
"minimum": 1,
|
|
664
|
+
"multipleOf": 1,
|
|
665
|
+
"default": 1
|
|
666
|
+
},
|
|
667
|
+
"unit": {
|
|
668
|
+
"$ref": "#/definitions/aggUnit",
|
|
669
|
+
"default": "Day"
|
|
670
|
+
},
|
|
671
|
+
"spec": {
|
|
672
|
+
"$ref": "#/definitions/aggSpec",
|
|
673
|
+
"default": "None"
|
|
674
|
+
},
|
|
675
|
+
"isContractVolume": {
|
|
676
|
+
"type": "boolean",
|
|
677
|
+
"default": false
|
|
678
|
+
},
|
|
679
|
+
"dividendsAdjust": {
|
|
680
|
+
"type": "boolean",
|
|
681
|
+
"default": false
|
|
682
|
+
},
|
|
683
|
+
"backAdjust": {
|
|
684
|
+
"type": "boolean",
|
|
685
|
+
"default": false
|
|
686
|
+
},
|
|
687
|
+
"daysToExpiration": {
|
|
688
|
+
"type": "integer",
|
|
689
|
+
"minimum": 0,
|
|
690
|
+
"maximum": 60,
|
|
691
|
+
"default": 1
|
|
692
|
+
},
|
|
693
|
+
"contractRoll": {
|
|
694
|
+
"type": "string",
|
|
695
|
+
"enum": ["expiration", "combined"],
|
|
696
|
+
"default": "expiration"
|
|
697
|
+
}
|
|
698
|
+
},
|
|
699
|
+
"required": ["unit"]
|
|
700
|
+
},
|
|
701
|
+
"gridLines": {
|
|
702
|
+
"type": "object",
|
|
703
|
+
"additionalProperties": false,
|
|
704
|
+
"properties": {
|
|
705
|
+
"visible": {
|
|
706
|
+
"type": "boolean",
|
|
707
|
+
"default": true
|
|
708
|
+
},
|
|
709
|
+
"color": {
|
|
710
|
+
"type": "string",
|
|
711
|
+
"default": "#d8d8d8"
|
|
712
|
+
},
|
|
713
|
+
"lineWidth": {
|
|
714
|
+
"type": "number",
|
|
715
|
+
"default": 1
|
|
716
|
+
},
|
|
717
|
+
"dashStyle": {
|
|
718
|
+
"$ref": "#/definitions/dashStyle",
|
|
719
|
+
"default": "Solid"
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
},
|
|
723
|
+
"range": {
|
|
724
|
+
"type": "object",
|
|
725
|
+
"additionalProperties": false,
|
|
726
|
+
"properties": {
|
|
727
|
+
"from": {
|
|
728
|
+
"type": "number"
|
|
729
|
+
},
|
|
730
|
+
"to": {
|
|
731
|
+
"type": "number"
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
},
|
|
735
|
+
"crosshair": {
|
|
736
|
+
"type": "object",
|
|
737
|
+
"additionalProperties": false,
|
|
738
|
+
"properties": {
|
|
739
|
+
"enabled": {
|
|
740
|
+
"type": "boolean",
|
|
741
|
+
"default": true
|
|
742
|
+
},
|
|
743
|
+
"snap": {
|
|
744
|
+
"type": "boolean",
|
|
745
|
+
"default": false
|
|
746
|
+
},
|
|
747
|
+
"showValue": {
|
|
748
|
+
"type": "boolean",
|
|
749
|
+
"default": true
|
|
750
|
+
},
|
|
751
|
+
"color": {
|
|
752
|
+
"$ref": "#/definitions/color",
|
|
753
|
+
"default": "#c0c0c0"
|
|
754
|
+
},
|
|
755
|
+
"dashStyle": {
|
|
756
|
+
"$ref": "#/definitions/dashStyle",
|
|
757
|
+
"default": "Solid"
|
|
758
|
+
},
|
|
759
|
+
"format": {
|
|
760
|
+
"type": "string"
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
},
|
|
764
|
+
"displayAxis": {
|
|
765
|
+
"type": "object",
|
|
766
|
+
"properties": {
|
|
767
|
+
"visible": {
|
|
768
|
+
"type": "boolean",
|
|
769
|
+
"default": true
|
|
770
|
+
},
|
|
771
|
+
"gridLines": {
|
|
772
|
+
"$ref": "#/definitions/gridLines"
|
|
773
|
+
},
|
|
774
|
+
"minorGridLines": {
|
|
775
|
+
"$ref": "#/definitions/gridLines"
|
|
776
|
+
},
|
|
777
|
+
"textColor": {
|
|
778
|
+
"$ref": "#/definitions/color",
|
|
779
|
+
"default": "#000"
|
|
780
|
+
},
|
|
781
|
+
"crosshair": {
|
|
782
|
+
"$ref": "#/definitions/crosshair"
|
|
783
|
+
},
|
|
784
|
+
"fontSize": {
|
|
785
|
+
"type": "number",
|
|
786
|
+
"default": 12
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
},
|
|
790
|
+
"displayChart": {
|
|
791
|
+
"type": "object",
|
|
792
|
+
"additionalProperties": false,
|
|
793
|
+
"properties": {
|
|
794
|
+
"backgroundColor": {
|
|
795
|
+
"$ref": "#/definitions/color",
|
|
796
|
+
"default": "#fff"
|
|
797
|
+
},
|
|
798
|
+
"plotBorderColor": {
|
|
799
|
+
"$ref": "#/definitions/color"
|
|
800
|
+
},
|
|
801
|
+
"fontFamily": {
|
|
802
|
+
"type": "string",
|
|
803
|
+
"default": "\"Lucida Grande\", \"Lucida Sans Unicode\", Verdana, Arial, Helvetica, sans-serif"
|
|
804
|
+
},
|
|
805
|
+
"fontSize": {
|
|
806
|
+
"type": "number",
|
|
807
|
+
"default": 13
|
|
808
|
+
},
|
|
809
|
+
"previous": {
|
|
810
|
+
"$ref": "#/definitions/previous"
|
|
811
|
+
},
|
|
812
|
+
"exportUrl": {
|
|
813
|
+
"type": "string"
|
|
814
|
+
},
|
|
815
|
+
"showMinMaxArc": {
|
|
816
|
+
"type": "boolean",
|
|
817
|
+
"default": true
|
|
818
|
+
},
|
|
819
|
+
"showGoToLatest": {
|
|
820
|
+
"type": "boolean",
|
|
821
|
+
"default": false
|
|
822
|
+
},
|
|
823
|
+
"showLegend": {
|
|
824
|
+
"type": "boolean"
|
|
825
|
+
},
|
|
826
|
+
"showNoDataText": {
|
|
827
|
+
"type": "boolean"
|
|
828
|
+
},
|
|
829
|
+
"newPaneHeight": {
|
|
830
|
+
"$ref": "#/definitions/paneHeight",
|
|
831
|
+
"default": 1
|
|
832
|
+
},
|
|
833
|
+
"plotHover": {
|
|
834
|
+
"type": "boolean",
|
|
835
|
+
"default": false
|
|
836
|
+
},
|
|
837
|
+
"bar": {
|
|
838
|
+
"$ref": "#/definitions/barMetrics"
|
|
839
|
+
},
|
|
840
|
+
"zooming": {
|
|
841
|
+
"$ref": "#/definitions/orientationChoice",
|
|
842
|
+
"default": "both"
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
},
|
|
846
|
+
"barMetrics": {
|
|
847
|
+
"type": "object",
|
|
848
|
+
"additionalProperties": false,
|
|
849
|
+
"properties": {
|
|
850
|
+
"width": {
|
|
851
|
+
"type": "number"
|
|
852
|
+
},
|
|
853
|
+
"spacing": {
|
|
854
|
+
"type": "number"
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
},
|
|
858
|
+
"previous": {
|
|
859
|
+
"type": "object",
|
|
860
|
+
"additionalProperties": false,
|
|
861
|
+
"properties": {
|
|
862
|
+
"color": {
|
|
863
|
+
"$ref": "#/definitions/color",
|
|
864
|
+
"default": "#888"
|
|
865
|
+
},
|
|
866
|
+
"lineWidth": {
|
|
867
|
+
"type": "number",
|
|
868
|
+
"minimum": 1,
|
|
869
|
+
"default": 1
|
|
870
|
+
},
|
|
871
|
+
"dashStyle": {
|
|
872
|
+
"$ref": "#/definitions/dashStyle",
|
|
873
|
+
"default": "Solid"
|
|
874
|
+
},
|
|
875
|
+
"forceVisible": {
|
|
876
|
+
"type": "boolean",
|
|
877
|
+
"default": false
|
|
878
|
+
},
|
|
879
|
+
"field": {
|
|
880
|
+
"$ref": "#/definitions/previousField",
|
|
881
|
+
"default": "PreviousClose"
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
},
|
|
885
|
+
"scrollbar": {
|
|
886
|
+
"type": "object",
|
|
887
|
+
"additionalProperties": false,
|
|
888
|
+
"properties": {
|
|
889
|
+
"barColor": {
|
|
890
|
+
"$ref": "#/definitions/color",
|
|
891
|
+
"default": "#bfc8d1"
|
|
892
|
+
},
|
|
893
|
+
"buttonColor": {
|
|
894
|
+
"$ref": "#/definitions/color",
|
|
895
|
+
"default": "#ebe7e8"
|
|
896
|
+
},
|
|
897
|
+
"trackColor": {
|
|
898
|
+
"$ref": "#/definitions/color",
|
|
899
|
+
"default": "#eee"
|
|
900
|
+
},
|
|
901
|
+
"visible": {
|
|
902
|
+
"type": "boolean",
|
|
903
|
+
"default": true
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
},
|
|
907
|
+
"tooltip": {
|
|
908
|
+
"type": "object",
|
|
909
|
+
"additionalProperties": false,
|
|
910
|
+
"properties": {
|
|
911
|
+
"visible": {
|
|
912
|
+
"type": "boolean",
|
|
913
|
+
"default": true
|
|
914
|
+
},
|
|
915
|
+
"mode": {
|
|
916
|
+
"type": "string",
|
|
917
|
+
"enum": ["standard", "cards", "bubble", "external"],
|
|
918
|
+
"default": "standard"
|
|
919
|
+
},
|
|
920
|
+
"showMainPlot": {
|
|
921
|
+
"type": "boolean",
|
|
922
|
+
"default": false
|
|
923
|
+
},
|
|
924
|
+
"backgroundColor": {
|
|
925
|
+
"$ref": "#/definitions/color",
|
|
926
|
+
"default": "rgba(255, 255, 255, 0.85)"
|
|
927
|
+
},
|
|
928
|
+
"borderColor": {
|
|
929
|
+
"$ref": "#/definitions/color",
|
|
930
|
+
"default": "#000"
|
|
931
|
+
},
|
|
932
|
+
"hideSymbols": {
|
|
933
|
+
"type": "boolean"
|
|
934
|
+
},
|
|
935
|
+
"revealingClose": {
|
|
936
|
+
"type": "boolean"
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
},
|
|
940
|
+
"data": {
|
|
941
|
+
"type": "object",
|
|
942
|
+
"additionalProperties": false,
|
|
943
|
+
"properties": {
|
|
944
|
+
"aggregation": {
|
|
945
|
+
"$ref": "#/definitions/aggregation"
|
|
946
|
+
},
|
|
947
|
+
"maxDataPoints": {
|
|
948
|
+
"type": "number"
|
|
949
|
+
},
|
|
950
|
+
"range": {
|
|
951
|
+
"$ref": "#/definitions/range"
|
|
952
|
+
},
|
|
953
|
+
"checkRange": {
|
|
954
|
+
"type": "boolean"
|
|
955
|
+
}
|
|
956
|
+
},
|
|
957
|
+
"required": ["aggregation"]
|
|
958
|
+
},
|
|
959
|
+
"display": {
|
|
960
|
+
"type": "object",
|
|
961
|
+
"additionalProperties": false,
|
|
962
|
+
"properties": {
|
|
963
|
+
"period": {
|
|
964
|
+
"$ref": "#/definitions/period"
|
|
965
|
+
},
|
|
966
|
+
"density": {
|
|
967
|
+
"$ref": "#/definitions/density"
|
|
968
|
+
},
|
|
969
|
+
"chart": {
|
|
970
|
+
"$ref": "#/definitions/displayChart"
|
|
971
|
+
},
|
|
972
|
+
"scrollbar": {
|
|
973
|
+
"$ref": "#/definitions/scrollbar"
|
|
974
|
+
},
|
|
975
|
+
"scrollBehavior": {
|
|
976
|
+
"type": "string",
|
|
977
|
+
"enum": ["wheel", "wheel+shift", "none"],
|
|
978
|
+
"default": "wheel"
|
|
979
|
+
},
|
|
980
|
+
"tooltip": {
|
|
981
|
+
"$ref": "#/definitions/tooltip"
|
|
982
|
+
},
|
|
983
|
+
"yAxis": {
|
|
984
|
+
"allOf": [
|
|
985
|
+
{
|
|
986
|
+
"$ref": "#/definitions/displayAxis"
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
"properties": {
|
|
990
|
+
"showLastValue": {
|
|
991
|
+
"type": "string",
|
|
992
|
+
"enum": ["None", "All", "Main"],
|
|
993
|
+
"default": "All"
|
|
994
|
+
},
|
|
995
|
+
"preventLabelOverlap": {
|
|
996
|
+
"type": "boolean",
|
|
997
|
+
"default": false
|
|
998
|
+
},
|
|
999
|
+
"snapAnnotationsToPrices": {
|
|
1000
|
+
"type": "boolean",
|
|
1001
|
+
"default": false
|
|
1002
|
+
},
|
|
1003
|
+
"minPaddingPercent": {
|
|
1004
|
+
"$ref": "#/definitions/paddingPercent"
|
|
1005
|
+
},
|
|
1006
|
+
"maxPaddingPercent": {
|
|
1007
|
+
"$ref": "#/definitions/paddingPercent"
|
|
1008
|
+
},
|
|
1009
|
+
"primaryOnTheLeft": {
|
|
1010
|
+
"type": "boolean"
|
|
1011
|
+
}
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
]
|
|
1015
|
+
},
|
|
1016
|
+
"xAxis": {
|
|
1017
|
+
"allOf": [
|
|
1018
|
+
{
|
|
1019
|
+
"$ref": "#/definitions/displayAxis"
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
"properties": {
|
|
1023
|
+
"format": {
|
|
1024
|
+
"type": "string",
|
|
1025
|
+
"minLength": 1
|
|
1026
|
+
},
|
|
1027
|
+
"minTickInterval": {
|
|
1028
|
+
"type": "number",
|
|
1029
|
+
"default": 0
|
|
1030
|
+
},
|
|
1031
|
+
"tickPixelInterval": {
|
|
1032
|
+
"type": "number",
|
|
1033
|
+
"default": 0
|
|
1034
|
+
},
|
|
1035
|
+
"visibleRange": {
|
|
1036
|
+
"$ref": "#/definitions/range"
|
|
1037
|
+
},
|
|
1038
|
+
"equidistant": {
|
|
1039
|
+
"type": "boolean",
|
|
1040
|
+
"default": true
|
|
1041
|
+
},
|
|
1042
|
+
"marginBars": {
|
|
1043
|
+
"type": "number",
|
|
1044
|
+
"minimum": 0,
|
|
1045
|
+
"default": 0
|
|
1046
|
+
},
|
|
1047
|
+
"zoom": {
|
|
1048
|
+
"type": "number",
|
|
1049
|
+
"default": 0
|
|
1050
|
+
},
|
|
1051
|
+
"resizeHandles": {
|
|
1052
|
+
"type": "boolean",
|
|
1053
|
+
"default": false
|
|
1054
|
+
},
|
|
1055
|
+
"forceTicksVisible": {
|
|
1056
|
+
"type": "boolean"
|
|
1057
|
+
},
|
|
1058
|
+
"panning": {
|
|
1059
|
+
"type": "boolean"
|
|
1060
|
+
},
|
|
1061
|
+
"isOrdinal": {
|
|
1062
|
+
"type": "boolean"
|
|
1063
|
+
}
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
]
|
|
1067
|
+
},
|
|
1068
|
+
"annotationTraits": {
|
|
1069
|
+
"$ref": "#/definitions/annTraits"
|
|
1070
|
+
},
|
|
1071
|
+
"curveTraits": {
|
|
1072
|
+
"type": "array",
|
|
1073
|
+
"items": {
|
|
1074
|
+
"$ref": "#/definitions/curveTrait"
|
|
1075
|
+
}
|
|
1076
|
+
},
|
|
1077
|
+
"allAnnotationsLocked": {
|
|
1078
|
+
"type": "boolean",
|
|
1079
|
+
"default": false
|
|
1080
|
+
}
|
|
1081
|
+
}
|
|
1082
|
+
},
|
|
1083
|
+
"curveZone": {
|
|
1084
|
+
"type": "object",
|
|
1085
|
+
"additionalProperties": false,
|
|
1086
|
+
"properties": {
|
|
1087
|
+
"value": {
|
|
1088
|
+
"type": "number"
|
|
1089
|
+
},
|
|
1090
|
+
"colors": {
|
|
1091
|
+
"type": "number"
|
|
1092
|
+
},
|
|
1093
|
+
"gradient": {
|
|
1094
|
+
"type": "string",
|
|
1095
|
+
"enum": ["linLighten", "linDarken"]
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
},
|
|
1099
|
+
"curveNonStrict": {
|
|
1100
|
+
"type": "object",
|
|
1101
|
+
"additionalProperties": false,
|
|
1102
|
+
"properties": {
|
|
1103
|
+
"attributes": {
|
|
1104
|
+
"type": "array",
|
|
1105
|
+
"items": {
|
|
1106
|
+
"$ref": "#/definitions/curveAttr"
|
|
1107
|
+
}
|
|
1108
|
+
},
|
|
1109
|
+
"colors": {
|
|
1110
|
+
"type": "array",
|
|
1111
|
+
"minItems": 1,
|
|
1112
|
+
"items": {
|
|
1113
|
+
"$ref": "#/definitions/color"
|
|
1114
|
+
}
|
|
1115
|
+
},
|
|
1116
|
+
"fields": {
|
|
1117
|
+
"type": "array",
|
|
1118
|
+
"minItems": 1,
|
|
1119
|
+
"items": {
|
|
1120
|
+
"$ref": "#/definitions/curveField"
|
|
1121
|
+
}
|
|
1122
|
+
},
|
|
1123
|
+
"style": {
|
|
1124
|
+
"$ref": "#/definitions/curveStyle",
|
|
1125
|
+
"default": "Line"
|
|
1126
|
+
},
|
|
1127
|
+
"lineWidth": {
|
|
1128
|
+
"type": "number",
|
|
1129
|
+
"default": 2
|
|
1130
|
+
},
|
|
1131
|
+
"dashStyle": {
|
|
1132
|
+
"$ref": "#/definitions/dashStyle"
|
|
1133
|
+
},
|
|
1134
|
+
"varyColorPerBar": {
|
|
1135
|
+
"type": "boolean",
|
|
1136
|
+
"default": false
|
|
1137
|
+
},
|
|
1138
|
+
"visible": {
|
|
1139
|
+
"type": "boolean",
|
|
1140
|
+
"default": true
|
|
1141
|
+
},
|
|
1142
|
+
"zones": {
|
|
1143
|
+
"type": "array",
|
|
1144
|
+
"items": {
|
|
1145
|
+
"$ref": "#/definitions/curveZone"
|
|
1146
|
+
}
|
|
1147
|
+
},
|
|
1148
|
+
"shift": {
|
|
1149
|
+
"type": "integer"
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
},
|
|
1153
|
+
"curve": {
|
|
1154
|
+
"allOf": [
|
|
1155
|
+
{
|
|
1156
|
+
"$ref": "#/definitions/curveNonStrict"
|
|
1157
|
+
}
|
|
1158
|
+
],
|
|
1159
|
+
"required": ["colors", "fields"]
|
|
1160
|
+
},
|
|
1161
|
+
"plotEventDividends": {
|
|
1162
|
+
"type": "object",
|
|
1163
|
+
"additionalProperties": false,
|
|
1164
|
+
"properties": {
|
|
1165
|
+
"show": {
|
|
1166
|
+
"type": "boolean",
|
|
1167
|
+
"default": false
|
|
1168
|
+
},
|
|
1169
|
+
"color": {
|
|
1170
|
+
"$ref": "#/definitions/color",
|
|
1171
|
+
"default": "#037c27"
|
|
1172
|
+
},
|
|
1173
|
+
"title": {
|
|
1174
|
+
"type": "string",
|
|
1175
|
+
"default": "D"
|
|
1176
|
+
}
|
|
1177
|
+
},
|
|
1178
|
+
"required": ["show"]
|
|
1179
|
+
},
|
|
1180
|
+
"plotEventEarnings": {
|
|
1181
|
+
"type": "object",
|
|
1182
|
+
"additionalProperties": false,
|
|
1183
|
+
"properties": {
|
|
1184
|
+
"show": {
|
|
1185
|
+
"type": "boolean",
|
|
1186
|
+
"default": false
|
|
1187
|
+
},
|
|
1188
|
+
"color": {
|
|
1189
|
+
"$ref": "#/definitions/color",
|
|
1190
|
+
"default": "#08a0c9"
|
|
1191
|
+
},
|
|
1192
|
+
"title": {
|
|
1193
|
+
"type": "string",
|
|
1194
|
+
"default": "E"
|
|
1195
|
+
}
|
|
1196
|
+
},
|
|
1197
|
+
"required": ["show"]
|
|
1198
|
+
},
|
|
1199
|
+
"plotEventSplits": {
|
|
1200
|
+
"type": "object",
|
|
1201
|
+
"additionalProperties": false,
|
|
1202
|
+
"properties": {
|
|
1203
|
+
"show": {
|
|
1204
|
+
"type": "boolean",
|
|
1205
|
+
"default": false
|
|
1206
|
+
},
|
|
1207
|
+
"color": {
|
|
1208
|
+
"$ref": "#/definitions/color",
|
|
1209
|
+
"default": "#de7726"
|
|
1210
|
+
},
|
|
1211
|
+
"title": {
|
|
1212
|
+
"type": "string",
|
|
1213
|
+
"default": "S"
|
|
1214
|
+
}
|
|
1215
|
+
},
|
|
1216
|
+
"required": ["show"]
|
|
1217
|
+
},
|
|
1218
|
+
"plotEventCustom": {
|
|
1219
|
+
"type": "object",
|
|
1220
|
+
"additionalProperties": false,
|
|
1221
|
+
"properties": {
|
|
1222
|
+
"show": {
|
|
1223
|
+
"type": "boolean",
|
|
1224
|
+
"default": false
|
|
1225
|
+
},
|
|
1226
|
+
"color": {
|
|
1227
|
+
"$ref": "#/definitions/color",
|
|
1228
|
+
"default": "#be7404"
|
|
1229
|
+
},
|
|
1230
|
+
"title": {
|
|
1231
|
+
"type": "string",
|
|
1232
|
+
"default": "C"
|
|
1233
|
+
}
|
|
1234
|
+
},
|
|
1235
|
+
"required": ["show"]
|
|
1236
|
+
},
|
|
1237
|
+
"plotEvents": {
|
|
1238
|
+
"type": "object",
|
|
1239
|
+
"additionalProperties": false,
|
|
1240
|
+
"properties": {
|
|
1241
|
+
"dividends": {
|
|
1242
|
+
"$ref": "#/definitions/plotEventDividends"
|
|
1243
|
+
},
|
|
1244
|
+
"earnings": {
|
|
1245
|
+
"$ref": "#/definitions/plotEventEarnings"
|
|
1246
|
+
},
|
|
1247
|
+
"splits": {
|
|
1248
|
+
"$ref": "#/definitions/plotEventSplits"
|
|
1249
|
+
},
|
|
1250
|
+
"custom": {
|
|
1251
|
+
"$ref": "#/definitions/plotEventCustom"
|
|
1252
|
+
},
|
|
1253
|
+
"placement": {
|
|
1254
|
+
"$ref": "#/definitions/plotPlacement",
|
|
1255
|
+
"default": "WithSeries"
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
},
|
|
1259
|
+
"fundamentalFrequency": {
|
|
1260
|
+
"type": "string",
|
|
1261
|
+
"enum": ["Quarter", "Year"]
|
|
1262
|
+
},
|
|
1263
|
+
"numberInput": {
|
|
1264
|
+
"additionalProperties": false,
|
|
1265
|
+
"properties": {
|
|
1266
|
+
"name": {
|
|
1267
|
+
"type": "string"
|
|
1268
|
+
},
|
|
1269
|
+
"value": {
|
|
1270
|
+
"type": "number"
|
|
1271
|
+
}
|
|
1272
|
+
}
|
|
1273
|
+
},
|
|
1274
|
+
"stringInput": {
|
|
1275
|
+
"additionalProperties": false,
|
|
1276
|
+
"properties": {
|
|
1277
|
+
"name": {
|
|
1278
|
+
"type": "string"
|
|
1279
|
+
},
|
|
1280
|
+
"value": {
|
|
1281
|
+
"type": "string"
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
},
|
|
1285
|
+
"input": {
|
|
1286
|
+
"type": "object",
|
|
1287
|
+
"oneOf": [
|
|
1288
|
+
{
|
|
1289
|
+
"$ref": "#/definitions/numberInput"
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
"$ref": "#/definitions/stringInput"
|
|
1293
|
+
}
|
|
1294
|
+
]
|
|
1295
|
+
},
|
|
1296
|
+
"inputs": {
|
|
1297
|
+
"type": "array",
|
|
1298
|
+
"minItems": 1,
|
|
1299
|
+
"items": {
|
|
1300
|
+
"$ref": "#/definitions/input"
|
|
1301
|
+
}
|
|
1302
|
+
},
|
|
1303
|
+
"curves": {
|
|
1304
|
+
"type": "array",
|
|
1305
|
+
"minItems": 1,
|
|
1306
|
+
"items": {
|
|
1307
|
+
"$ref": "#/definitions/curve"
|
|
1308
|
+
}
|
|
1309
|
+
},
|
|
1310
|
+
"symbolType": {
|
|
1311
|
+
"type": "string",
|
|
1312
|
+
"pattern": "Symbol"
|
|
1313
|
+
},
|
|
1314
|
+
"symbolPlot": {
|
|
1315
|
+
"type": "object",
|
|
1316
|
+
"additionalProperties": false,
|
|
1317
|
+
"properties": {
|
|
1318
|
+
"curves": {
|
|
1319
|
+
"$ref": "#/definitions/curves"
|
|
1320
|
+
},
|
|
1321
|
+
"symbol": {
|
|
1322
|
+
"type": "string"
|
|
1323
|
+
},
|
|
1324
|
+
"events": {
|
|
1325
|
+
"$ref": "#/definitions/plotEvents"
|
|
1326
|
+
},
|
|
1327
|
+
"showPrevious": {
|
|
1328
|
+
"type": "boolean",
|
|
1329
|
+
"default": false
|
|
1330
|
+
},
|
|
1331
|
+
"type": {
|
|
1332
|
+
"$ref": "#/definitions/symbolType"
|
|
1333
|
+
},
|
|
1334
|
+
"main": {
|
|
1335
|
+
"type": "boolean",
|
|
1336
|
+
"default": false
|
|
1337
|
+
},
|
|
1338
|
+
"inputs": {
|
|
1339
|
+
"$ref": "#/definitions/inputs"
|
|
1340
|
+
}
|
|
1341
|
+
},
|
|
1342
|
+
"required": ["curves", "symbol", "type"]
|
|
1343
|
+
},
|
|
1344
|
+
"fundamentalType": {
|
|
1345
|
+
"type": "string",
|
|
1346
|
+
"enum": ["BalanceSheet", "IncomeStatement"]
|
|
1347
|
+
},
|
|
1348
|
+
"fundamentalPlot": {
|
|
1349
|
+
"type": "object",
|
|
1350
|
+
"additionalProperties": false,
|
|
1351
|
+
"properties": {
|
|
1352
|
+
"curves": {
|
|
1353
|
+
"$ref": "#/definitions/curves"
|
|
1354
|
+
},
|
|
1355
|
+
"symbol": {
|
|
1356
|
+
"type": "string"
|
|
1357
|
+
},
|
|
1358
|
+
"fundamental": {
|
|
1359
|
+
"$ref": "#/definitions/fundamentalFrequency",
|
|
1360
|
+
"default": "Quarter"
|
|
1361
|
+
},
|
|
1362
|
+
"type": {
|
|
1363
|
+
"$ref": "#/definitions/fundamentalType"
|
|
1364
|
+
}
|
|
1365
|
+
},
|
|
1366
|
+
"required": ["curves", "symbol", "type"]
|
|
1367
|
+
},
|
|
1368
|
+
"studyLevels": {
|
|
1369
|
+
"type": "array",
|
|
1370
|
+
"items": {
|
|
1371
|
+
"$ref": "#/definitions/studyLevel"
|
|
1372
|
+
}
|
|
1373
|
+
},
|
|
1374
|
+
"studyLevel": {
|
|
1375
|
+
"type": "object",
|
|
1376
|
+
"additionalProperties": false,
|
|
1377
|
+
"properties": {
|
|
1378
|
+
"value": {
|
|
1379
|
+
"type": "number"
|
|
1380
|
+
},
|
|
1381
|
+
"line": {
|
|
1382
|
+
"$ref": "#/definitions/lineTrait"
|
|
1383
|
+
},
|
|
1384
|
+
"name": {
|
|
1385
|
+
"type": "string"
|
|
1386
|
+
}
|
|
1387
|
+
},
|
|
1388
|
+
"required": ["value", "line"]
|
|
1389
|
+
},
|
|
1390
|
+
"studyBands": {
|
|
1391
|
+
"type": "array",
|
|
1392
|
+
"items": {
|
|
1393
|
+
"$ref": "#/definitions/studyBand"
|
|
1394
|
+
}
|
|
1395
|
+
},
|
|
1396
|
+
"studyBand": {
|
|
1397
|
+
"type": "object",
|
|
1398
|
+
"additionalProperties": false,
|
|
1399
|
+
"properties": {
|
|
1400
|
+
"range": {
|
|
1401
|
+
"$ref": "#/definitions/range"
|
|
1402
|
+
},
|
|
1403
|
+
"fill": {
|
|
1404
|
+
"$ref": "#/definitions/fillTrait"
|
|
1405
|
+
}
|
|
1406
|
+
},
|
|
1407
|
+
"required": ["range", "fill"]
|
|
1408
|
+
},
|
|
1409
|
+
"studyType": {
|
|
1410
|
+
"type": "string",
|
|
1411
|
+
"pattern": "Study"
|
|
1412
|
+
},
|
|
1413
|
+
"studyPlot": {
|
|
1414
|
+
"type": "object",
|
|
1415
|
+
"additionalProperties": false,
|
|
1416
|
+
"properties": {
|
|
1417
|
+
"curves": {
|
|
1418
|
+
"$ref": "#/definitions/curves"
|
|
1419
|
+
},
|
|
1420
|
+
"basis": {
|
|
1421
|
+
"type": "string",
|
|
1422
|
+
"default": "$main"
|
|
1423
|
+
},
|
|
1424
|
+
"study": {
|
|
1425
|
+
"$ref": "#/definitions/study"
|
|
1426
|
+
},
|
|
1427
|
+
"source": {
|
|
1428
|
+
"$ref": "#/definitions/curveField"
|
|
1429
|
+
},
|
|
1430
|
+
"inputs": {
|
|
1431
|
+
"$ref": "#/definitions/inputs"
|
|
1432
|
+
},
|
|
1433
|
+
"type": {
|
|
1434
|
+
"$ref": "#/definitions/studyType"
|
|
1435
|
+
},
|
|
1436
|
+
"levels": {
|
|
1437
|
+
"$ref": "#/definitions/studyLevels"
|
|
1438
|
+
},
|
|
1439
|
+
"bands": {
|
|
1440
|
+
"$ref": "#/definitions/studyBands"
|
|
1441
|
+
},
|
|
1442
|
+
"detachedScale": {
|
|
1443
|
+
"$ref": "#/definitions/detachedScale"
|
|
1444
|
+
}
|
|
1445
|
+
},
|
|
1446
|
+
"required": ["study", "type"]
|
|
1447
|
+
},
|
|
1448
|
+
"exprType": {
|
|
1449
|
+
"type": "string",
|
|
1450
|
+
"pattern": "Expression"
|
|
1451
|
+
},
|
|
1452
|
+
"exprPlot": {
|
|
1453
|
+
"type": "object",
|
|
1454
|
+
"additionalProperties": false,
|
|
1455
|
+
"properties": {
|
|
1456
|
+
"curves": {
|
|
1457
|
+
"$ref": "#/definitions/curves",
|
|
1458
|
+
"default": [
|
|
1459
|
+
{
|
|
1460
|
+
"fields": ["Close"],
|
|
1461
|
+
"style": "Line",
|
|
1462
|
+
"lineWidth": 2,
|
|
1463
|
+
"visible": true,
|
|
1464
|
+
"colors": ["#888"],
|
|
1465
|
+
"varyColorPerBar": false
|
|
1466
|
+
}
|
|
1467
|
+
]
|
|
1468
|
+
},
|
|
1469
|
+
"expression": {
|
|
1470
|
+
"type": "string"
|
|
1471
|
+
},
|
|
1472
|
+
"type": {
|
|
1473
|
+
"$ref": "#/definitions/exprType"
|
|
1474
|
+
},
|
|
1475
|
+
"main": {
|
|
1476
|
+
"type": "boolean",
|
|
1477
|
+
"default": false
|
|
1478
|
+
}
|
|
1479
|
+
},
|
|
1480
|
+
"required": ["expression", "type"]
|
|
1481
|
+
},
|
|
1482
|
+
"forwardType": {
|
|
1483
|
+
"type": "string",
|
|
1484
|
+
"pattern": "Forward"
|
|
1485
|
+
},
|
|
1486
|
+
"intOffset": {
|
|
1487
|
+
"type": "integer",
|
|
1488
|
+
"minimum": 0,
|
|
1489
|
+
"multipleOf": 1
|
|
1490
|
+
},
|
|
1491
|
+
"intOffsets": {
|
|
1492
|
+
"type": "array",
|
|
1493
|
+
"minItems": 1,
|
|
1494
|
+
"items": {
|
|
1495
|
+
"$ref": "#/definitions/intOffset"
|
|
1496
|
+
}
|
|
1497
|
+
},
|
|
1498
|
+
"forwardPlot": {
|
|
1499
|
+
"type": "object",
|
|
1500
|
+
"additionalProperties": false,
|
|
1501
|
+
"properties": {
|
|
1502
|
+
"curves": {
|
|
1503
|
+
"$ref": "#/definitions/curves",
|
|
1504
|
+
"default": [
|
|
1505
|
+
{
|
|
1506
|
+
"fields": ["Close"],
|
|
1507
|
+
"style": "Line",
|
|
1508
|
+
"lineWidth": 2,
|
|
1509
|
+
"visible": true,
|
|
1510
|
+
"colors": ["#888"],
|
|
1511
|
+
"varyColorPerBar": false
|
|
1512
|
+
}
|
|
1513
|
+
]
|
|
1514
|
+
},
|
|
1515
|
+
"forward": {
|
|
1516
|
+
"type": "string"
|
|
1517
|
+
},
|
|
1518
|
+
"offsets": {
|
|
1519
|
+
"$ref": "#/definitions/intOffsets",
|
|
1520
|
+
"default": [0]
|
|
1521
|
+
},
|
|
1522
|
+
"main": {
|
|
1523
|
+
"type": "boolean",
|
|
1524
|
+
"default": true
|
|
1525
|
+
},
|
|
1526
|
+
"type": {
|
|
1527
|
+
"$ref": "#/definitions/forwardType"
|
|
1528
|
+
}
|
|
1529
|
+
},
|
|
1530
|
+
"required": ["forward", "type"]
|
|
1531
|
+
},
|
|
1532
|
+
"annualType": {
|
|
1533
|
+
"type": "string",
|
|
1534
|
+
"pattern": "Annual"
|
|
1535
|
+
},
|
|
1536
|
+
"annualPlot": {
|
|
1537
|
+
"type": "object",
|
|
1538
|
+
"additionalProperties": false,
|
|
1539
|
+
"properties": {
|
|
1540
|
+
"curves": {
|
|
1541
|
+
"$ref": "#/definitions/curves",
|
|
1542
|
+
"default": [
|
|
1543
|
+
{
|
|
1544
|
+
"colors": ["#00b04b"],
|
|
1545
|
+
"fields": ["Close", "Change"],
|
|
1546
|
+
"style": "Line",
|
|
1547
|
+
"lineWidth": 2,
|
|
1548
|
+
"visible": true,
|
|
1549
|
+
"varyColorPerBar": false
|
|
1550
|
+
},
|
|
1551
|
+
{
|
|
1552
|
+
"colors": ["#8b6038"],
|
|
1553
|
+
"fields": ["Close"],
|
|
1554
|
+
"style": "Line",
|
|
1555
|
+
"lineWidth": 2,
|
|
1556
|
+
"visible": true,
|
|
1557
|
+
"varyColorPerBar": false
|
|
1558
|
+
}
|
|
1559
|
+
]
|
|
1560
|
+
},
|
|
1561
|
+
"annual": {
|
|
1562
|
+
"type": "string"
|
|
1563
|
+
},
|
|
1564
|
+
"main": {
|
|
1565
|
+
"type": "boolean",
|
|
1566
|
+
"default": true
|
|
1567
|
+
},
|
|
1568
|
+
"type": {
|
|
1569
|
+
"$ref": "#/definitions/annualType"
|
|
1570
|
+
}
|
|
1571
|
+
},
|
|
1572
|
+
"required": ["annual", "type"]
|
|
1573
|
+
},
|
|
1574
|
+
"seasonalType": {
|
|
1575
|
+
"type": "string",
|
|
1576
|
+
"pattern": "Seasonal"
|
|
1577
|
+
},
|
|
1578
|
+
"seasonalPlot": {
|
|
1579
|
+
"type": "object",
|
|
1580
|
+
"additionalProperties": false,
|
|
1581
|
+
"properties": {
|
|
1582
|
+
"curves": {
|
|
1583
|
+
"$ref": "#/definitions/curves",
|
|
1584
|
+
"default": [
|
|
1585
|
+
{
|
|
1586
|
+
"fields": ["Close"],
|
|
1587
|
+
"style": "Line",
|
|
1588
|
+
"lineWidth": 2,
|
|
1589
|
+
"visible": true,
|
|
1590
|
+
"colors": ["#888"],
|
|
1591
|
+
"varyColorPerBar": false
|
|
1592
|
+
}
|
|
1593
|
+
]
|
|
1594
|
+
},
|
|
1595
|
+
"seasonal": {
|
|
1596
|
+
"type": "string"
|
|
1597
|
+
},
|
|
1598
|
+
"offsets": {
|
|
1599
|
+
"$ref": "#/definitions/intOffsets",
|
|
1600
|
+
"default": [0]
|
|
1601
|
+
},
|
|
1602
|
+
"main": {
|
|
1603
|
+
"type": "boolean",
|
|
1604
|
+
"default": true
|
|
1605
|
+
},
|
|
1606
|
+
"type": {
|
|
1607
|
+
"$ref": "#/definitions/seasonalType"
|
|
1608
|
+
}
|
|
1609
|
+
},
|
|
1610
|
+
"required": ["seasonal", "type"]
|
|
1611
|
+
},
|
|
1612
|
+
"annPoint": {
|
|
1613
|
+
"type": "object",
|
|
1614
|
+
"additionalProperties": false,
|
|
1615
|
+
"properties": {
|
|
1616
|
+
"price": {
|
|
1617
|
+
"type": "number"
|
|
1618
|
+
},
|
|
1619
|
+
"time": {
|
|
1620
|
+
"type": "number"
|
|
1621
|
+
}
|
|
1622
|
+
},
|
|
1623
|
+
"required": ["price", "time"]
|
|
1624
|
+
},
|
|
1625
|
+
"lineTrait": {
|
|
1626
|
+
"type": "object",
|
|
1627
|
+
"additionalProperties": false,
|
|
1628
|
+
"properties": {
|
|
1629
|
+
"width": {
|
|
1630
|
+
"type": "number",
|
|
1631
|
+
"minimum": 0,
|
|
1632
|
+
"default": 1
|
|
1633
|
+
},
|
|
1634
|
+
"color": {
|
|
1635
|
+
"$ref": "#/definitions/color",
|
|
1636
|
+
"default": "#000"
|
|
1637
|
+
},
|
|
1638
|
+
"dashStyle": {
|
|
1639
|
+
"$ref": "#/definitions/dashStyle",
|
|
1640
|
+
"default": "Solid"
|
|
1641
|
+
}
|
|
1642
|
+
}
|
|
1643
|
+
},
|
|
1644
|
+
"fillTrait": {
|
|
1645
|
+
"type": "object",
|
|
1646
|
+
"additionalProperties": false,
|
|
1647
|
+
"properties": {
|
|
1648
|
+
"color": {
|
|
1649
|
+
"$ref": "#/definitions/color"
|
|
1650
|
+
}
|
|
1651
|
+
}
|
|
1652
|
+
},
|
|
1653
|
+
"markerTrait": {
|
|
1654
|
+
"type": "object",
|
|
1655
|
+
"additionalProperties": false,
|
|
1656
|
+
"properties": {
|
|
1657
|
+
"vertex": {
|
|
1658
|
+
"enum": ["start", "end", "both", "none"]
|
|
1659
|
+
},
|
|
1660
|
+
"kind": {
|
|
1661
|
+
"enum": ["arrow"],
|
|
1662
|
+
"default": "arrow"
|
|
1663
|
+
}
|
|
1664
|
+
},
|
|
1665
|
+
"required": ["vertex"]
|
|
1666
|
+
},
|
|
1667
|
+
"curveTrait": {
|
|
1668
|
+
"type": "object",
|
|
1669
|
+
"additionalProperties": false,
|
|
1670
|
+
"properties": {
|
|
1671
|
+
"curveStyle": {
|
|
1672
|
+
"$ref": "#/definitions/curveStyle"
|
|
1673
|
+
},
|
|
1674
|
+
"line": {
|
|
1675
|
+
"$ref": "#/definitions/lineTrait"
|
|
1676
|
+
},
|
|
1677
|
+
"fill": {
|
|
1678
|
+
"$ref": "#/definitions/fillTrait"
|
|
1679
|
+
}
|
|
1680
|
+
},
|
|
1681
|
+
"required": ["curveStyle"]
|
|
1682
|
+
},
|
|
1683
|
+
"annTraits": {
|
|
1684
|
+
"type": "object",
|
|
1685
|
+
"additionalProperties": true,
|
|
1686
|
+
"properties": {
|
|
1687
|
+
"line": {
|
|
1688
|
+
"$ref": "#/definitions/lineTrait"
|
|
1689
|
+
},
|
|
1690
|
+
"fill": {
|
|
1691
|
+
"$ref": "#/definitions/fillTrait"
|
|
1692
|
+
},
|
|
1693
|
+
"marker": {
|
|
1694
|
+
"$ref": "#/definitions/markerTrait"
|
|
1695
|
+
},
|
|
1696
|
+
"zIndex": {
|
|
1697
|
+
"type": "number",
|
|
1698
|
+
"minimum": 1
|
|
1699
|
+
}
|
|
1700
|
+
}
|
|
1701
|
+
},
|
|
1702
|
+
"annotation": {
|
|
1703
|
+
"type": "object",
|
|
1704
|
+
"additionalProperties": false,
|
|
1705
|
+
"properties": {
|
|
1706
|
+
"id": {
|
|
1707
|
+
"$ref": "#/definitions/annId"
|
|
1708
|
+
},
|
|
1709
|
+
"uid": {
|
|
1710
|
+
"type": "string"
|
|
1711
|
+
},
|
|
1712
|
+
"visible": {
|
|
1713
|
+
"type": "boolean",
|
|
1714
|
+
"default": true
|
|
1715
|
+
},
|
|
1716
|
+
"locked": {
|
|
1717
|
+
"type": "boolean",
|
|
1718
|
+
"default": false
|
|
1719
|
+
},
|
|
1720
|
+
"points": {
|
|
1721
|
+
"type": "array",
|
|
1722
|
+
"minItems": 1,
|
|
1723
|
+
"items": {
|
|
1724
|
+
"$ref": "#/definitions/annPoint"
|
|
1725
|
+
}
|
|
1726
|
+
},
|
|
1727
|
+
"traits": {
|
|
1728
|
+
"$ref": "#/definitions/annTraits"
|
|
1729
|
+
}
|
|
1730
|
+
},
|
|
1731
|
+
"required": ["id", "uid", "points"]
|
|
1732
|
+
},
|
|
1733
|
+
"plot": {
|
|
1734
|
+
"type": "object",
|
|
1735
|
+
"oneOf": [
|
|
1736
|
+
{
|
|
1737
|
+
"$ref": "#/definitions/annualPlot"
|
|
1738
|
+
},
|
|
1739
|
+
{
|
|
1740
|
+
"$ref": "#/definitions/seasonalPlot"
|
|
1741
|
+
},
|
|
1742
|
+
{
|
|
1743
|
+
"$ref": "#/definitions/forwardPlot"
|
|
1744
|
+
},
|
|
1745
|
+
{
|
|
1746
|
+
"$ref": "#/definitions/exprPlot"
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
"$ref": "#/definitions/symbolPlot"
|
|
1750
|
+
},
|
|
1751
|
+
{
|
|
1752
|
+
"$ref": "#/definitions/fundamentalPlot"
|
|
1753
|
+
},
|
|
1754
|
+
{
|
|
1755
|
+
"$ref": "#/definitions/studyPlot"
|
|
1756
|
+
}
|
|
1757
|
+
]
|
|
1758
|
+
},
|
|
1759
|
+
"annCacheEntry": {
|
|
1760
|
+
"type": "object",
|
|
1761
|
+
"additionalProperties": false,
|
|
1762
|
+
"properties": {
|
|
1763
|
+
"symbol": {
|
|
1764
|
+
"type": "string"
|
|
1765
|
+
},
|
|
1766
|
+
"annotations": {
|
|
1767
|
+
"type": "array",
|
|
1768
|
+
"minItems": 1,
|
|
1769
|
+
"items": {
|
|
1770
|
+
"$ref": "#/definitions/annotation"
|
|
1771
|
+
}
|
|
1772
|
+
}
|
|
1773
|
+
},
|
|
1774
|
+
"required": ["symbol", "annotations"]
|
|
1775
|
+
},
|
|
1776
|
+
"axis": {
|
|
1777
|
+
"type": "object",
|
|
1778
|
+
"additionalProperties": false,
|
|
1779
|
+
"properties": {
|
|
1780
|
+
"comparison": {
|
|
1781
|
+
"$ref": "#/definitions/comparison",
|
|
1782
|
+
"default": "None"
|
|
1783
|
+
},
|
|
1784
|
+
"plots": {
|
|
1785
|
+
"type": "array",
|
|
1786
|
+
"minItems": 1,
|
|
1787
|
+
"items": {
|
|
1788
|
+
"$ref": "#/definitions/plot"
|
|
1789
|
+
}
|
|
1790
|
+
},
|
|
1791
|
+
"annotations": {
|
|
1792
|
+
"type": "array",
|
|
1793
|
+
"minItems": 0,
|
|
1794
|
+
"items": {
|
|
1795
|
+
"$ref": "#/definitions/annotation"
|
|
1796
|
+
}
|
|
1797
|
+
},
|
|
1798
|
+
"scale": {
|
|
1799
|
+
"$ref": "#/definitions/scale",
|
|
1800
|
+
"default": "Linear"
|
|
1801
|
+
},
|
|
1802
|
+
"annCache": {
|
|
1803
|
+
"type": "array",
|
|
1804
|
+
"minItems": 0,
|
|
1805
|
+
"items": {
|
|
1806
|
+
"$ref": "#/definitions/annCacheEntry"
|
|
1807
|
+
}
|
|
1808
|
+
},
|
|
1809
|
+
"label": {
|
|
1810
|
+
"type": "string"
|
|
1811
|
+
}
|
|
1812
|
+
},
|
|
1813
|
+
"required": ["plots"]
|
|
1814
|
+
},
|
|
1815
|
+
"pane": {
|
|
1816
|
+
"type": "object",
|
|
1817
|
+
"additionalProperties": false,
|
|
1818
|
+
"properties": {
|
|
1819
|
+
"axes": {
|
|
1820
|
+
"type": "array",
|
|
1821
|
+
"minItems": 1,
|
|
1822
|
+
"items": {
|
|
1823
|
+
"$ref": "#/definitions/axis"
|
|
1824
|
+
}
|
|
1825
|
+
},
|
|
1826
|
+
"height": {
|
|
1827
|
+
"$ref": "#/definitions/paneHeight",
|
|
1828
|
+
"default": 1
|
|
1829
|
+
},
|
|
1830
|
+
"alignOnExpirations": {
|
|
1831
|
+
"type": "boolean",
|
|
1832
|
+
"default": false
|
|
1833
|
+
}
|
|
1834
|
+
},
|
|
1835
|
+
"required": ["axes"]
|
|
1836
|
+
}
|
|
1837
|
+
},
|
|
1838
|
+
"type": "object",
|
|
1839
|
+
"additionalProperties": false,
|
|
1840
|
+
"properties": {
|
|
1841
|
+
"data": {
|
|
1842
|
+
"$ref": "#/definitions/data"
|
|
1843
|
+
},
|
|
1844
|
+
"display": {
|
|
1845
|
+
"$ref": "#/definitions/display"
|
|
1846
|
+
},
|
|
1847
|
+
"panes": {
|
|
1848
|
+
"type": "array",
|
|
1849
|
+
"minItems": 1,
|
|
1850
|
+
"items": {
|
|
1851
|
+
"$ref": "#/definitions/pane"
|
|
1852
|
+
}
|
|
1853
|
+
},
|
|
1854
|
+
"version": {
|
|
1855
|
+
"type": "integer",
|
|
1856
|
+
"minimum": 83,
|
|
1857
|
+
"multipleOf": 1
|
|
1858
|
+
}
|
|
1859
|
+
},
|
|
1860
|
+
"required": ["panes", "version"]
|
|
1861
|
+
}
|