@ariva-mds/mds 2.61.0 → 2.63.0

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.
Files changed (81) hide show
  1. package/lib/cjs/api/MdsConnection.js +21 -9
  2. package/lib/cjs/models/FiscalYearValue.js +52 -0
  3. package/lib/cjs/models/FiscalYearValueAllOf.js +52 -0
  4. package/lib/cjs/models/FwwTimeseriesGet200ResponseInner.js +53 -0
  5. package/lib/cjs/models/FwwTimeseriesGet200ResponseInnerMeta.js +54 -0
  6. package/lib/cjs/models/FwwTimeseriesGet200ResponseInnerTsInnerInner.js +44 -0
  7. package/lib/cjs/models/GeneralInformationInstrumentChangesGet200Response.js +51 -0
  8. package/lib/cjs/models/InstrumentChangeData.js +54 -0
  9. package/lib/cjs/models/InstrumentsGet200Response.js +0 -2
  10. package/lib/cjs/models/KpiData.js +145 -110
  11. package/lib/cjs/models/KpiDataAllOf.js +145 -110
  12. package/lib/cjs/models/MovingAverage.js +53 -0
  13. package/lib/cjs/models/MovingAverageAllOf.js +53 -0
  14. package/lib/cjs/models/OfficialSymbols.js +2 -0
  15. package/lib/cjs/models/Oscillator.js +64 -0
  16. package/lib/cjs/models/OscillatorAllOf.js +64 -0
  17. package/lib/cjs/models/Resolution.js +2 -0
  18. package/lib/cjs/models/WebSocketCommandListMasterdata.js +50 -0
  19. package/lib/cjs/models/WebSocketRequest.js +3 -0
  20. package/lib/cjs/models/index.js +12 -1
  21. package/lib/esm/api/MdsConnection.js +22 -10
  22. package/lib/esm/models/FiscalYearValue.js +45 -0
  23. package/lib/esm/models/FiscalYearValueAllOf.js +45 -0
  24. package/lib/esm/models/FwwTimeseriesGet200ResponseInner.js +46 -0
  25. package/lib/esm/models/FwwTimeseriesGet200ResponseInnerMeta.js +47 -0
  26. package/lib/esm/models/FwwTimeseriesGet200ResponseInnerTsInnerInner.js +38 -0
  27. package/lib/esm/models/GeneralInformationInstrumentChangesGet200Response.js +44 -0
  28. package/lib/esm/models/InstrumentChangeData.js +47 -0
  29. package/lib/esm/models/InstrumentsGet200Response.js +0 -2
  30. package/lib/esm/models/KpiData.js +145 -110
  31. package/lib/esm/models/KpiDataAllOf.js +145 -110
  32. package/lib/esm/models/MovingAverage.js +46 -0
  33. package/lib/esm/models/MovingAverageAllOf.js +46 -0
  34. package/lib/esm/models/OfficialSymbols.js +2 -0
  35. package/lib/esm/models/Oscillator.js +57 -0
  36. package/lib/esm/models/OscillatorAllOf.js +57 -0
  37. package/lib/esm/models/Resolution.js +2 -0
  38. package/lib/esm/models/WebSocketCommandListMasterdata.js +43 -0
  39. package/lib/esm/models/WebSocketRequest.js +3 -0
  40. package/lib/esm/models/index.js +12 -1
  41. package/lib/types/api/MdsConnection.d.ts +10 -5
  42. package/lib/types/api/MdsConnection.d.ts.map +1 -1
  43. package/lib/types/models/FiscalYearValue.d.ts +38 -0
  44. package/lib/types/models/FiscalYearValue.d.ts.map +1 -0
  45. package/lib/types/models/FiscalYearValueAllOf.d.ts +38 -0
  46. package/lib/types/models/FiscalYearValueAllOf.d.ts.map +1 -0
  47. package/lib/types/models/FwwTimeseriesGet200ResponseInner.d.ts +40 -0
  48. package/lib/types/models/FwwTimeseriesGet200ResponseInner.d.ts.map +1 -0
  49. package/lib/types/models/FwwTimeseriesGet200ResponseInnerMeta.d.ts +44 -0
  50. package/lib/types/models/FwwTimeseriesGet200ResponseInnerMeta.d.ts.map +1 -0
  51. package/lib/types/models/FwwTimeseriesGet200ResponseInnerTsInnerInner.d.ts +21 -0
  52. package/lib/types/models/FwwTimeseriesGet200ResponseInnerTsInnerInner.d.ts.map +1 -0
  53. package/lib/types/models/GeneralInformationInstrumentChangesGet200Response.d.ts +33 -0
  54. package/lib/types/models/GeneralInformationInstrumentChangesGet200Response.d.ts.map +1 -0
  55. package/lib/types/models/InstrumentChangeData.d.ts +44 -0
  56. package/lib/types/models/InstrumentChangeData.d.ts.map +1 -0
  57. package/lib/types/models/InstrumentsGet200Response.d.ts +0 -6
  58. package/lib/types/models/InstrumentsGet200Response.d.ts.map +1 -1
  59. package/lib/types/models/KpiData.d.ts +224 -125
  60. package/lib/types/models/KpiData.d.ts.map +1 -1
  61. package/lib/types/models/KpiDataAllOf.d.ts +224 -125
  62. package/lib/types/models/KpiDataAllOf.d.ts.map +1 -1
  63. package/lib/types/models/MovingAverage.d.ts +39 -0
  64. package/lib/types/models/MovingAverage.d.ts.map +1 -0
  65. package/lib/types/models/MovingAverageAllOf.d.ts +39 -0
  66. package/lib/types/models/MovingAverageAllOf.d.ts.map +1 -0
  67. package/lib/types/models/OfficialSymbols.d.ts +6 -0
  68. package/lib/types/models/OfficialSymbols.d.ts.map +1 -1
  69. package/lib/types/models/Oscillator.d.ts +51 -0
  70. package/lib/types/models/Oscillator.d.ts.map +1 -0
  71. package/lib/types/models/OscillatorAllOf.d.ts +51 -0
  72. package/lib/types/models/OscillatorAllOf.d.ts.map +1 -0
  73. package/lib/types/models/Resolution.d.ts +2 -0
  74. package/lib/types/models/Resolution.d.ts.map +1 -1
  75. package/lib/types/models/WebSocketCommandListMasterdata.d.ts +32 -0
  76. package/lib/types/models/WebSocketCommandListMasterdata.d.ts.map +1 -0
  77. package/lib/types/models/WebSocketRequest.d.ts +7 -0
  78. package/lib/types/models/WebSocketRequest.d.ts.map +1 -1
  79. package/lib/types/models/index.d.ts +12 -1
  80. package/lib/types/models/index.d.ts.map +1 -1
  81. package/package.json +1 -1
@@ -12,6 +12,9 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { exists } from '../runtime';
15
+ import { FiscalYearValueFromJSON, FiscalYearValueToJSON, } from './FiscalYearValue';
16
+ import { MovingAverageFromJSON, MovingAverageToJSON, } from './MovingAverage';
17
+ import { OscillatorFromJSON, OscillatorToJSON, } from './Oscillator';
15
18
  /**
16
19
  * Check if a given object implements the KpiDataAllOf interface.
17
20
  */
@@ -29,67 +32,83 @@ export function KpiDataAllOfFromJSONTyped(json, ignoreDiscriminator) {
29
32
  return {
30
33
  'kpiSourceId': !exists(json, 'kpiSourceId') ? undefined : json['kpiSourceId'],
31
34
  'divYield': !exists(json, 'divYield') ? undefined : json['divYield'],
32
- 'divYield5': !exists(json, 'divYield5') ? undefined : json['divYield5'],
33
- 'divYield10': !exists(json, 'divYield10') ? undefined : json['divYield10'],
34
- 'divYieldPercentage': !exists(json, 'divYieldPercentage') ? undefined : json['divYieldPercentage'],
35
- 'dpsGrowthYoy': !exists(json, 'dpsGrowthYoy') ? undefined : json['dpsGrowthYoy'],
36
- 'dpsGrowthYoy5': !exists(json, 'dpsGrowthYoy5') ? undefined : json['dpsGrowthYoy5'],
37
- 'dpsGrowthYoy10': !exists(json, 'dpsGrowthYoy10') ? undefined : json['dpsGrowthYoy10'],
38
- 'contDivPayment': !exists(json, 'contDivPayment') ? undefined : json['contDivPayment'],
39
- 'contDivGrowth': !exists(json, 'contDivGrowth') ? undefined : json['contDivGrowth'],
40
- 'divPayoutRatio': !exists(json, 'divPayoutRatio') ? undefined : json['divPayoutRatio'],
35
+ 'divYield5Y': !exists(json, 'divYield5Y') ? undefined : json['divYield5Y'],
36
+ 'divYield10Y': !exists(json, 'divYield10Y') ? undefined : json['divYield10Y'],
37
+ 'dpsGrowth': !exists(json, 'dpsGrowth') ? undefined : FiscalYearValueFromJSON(json['dpsGrowth']),
38
+ 'dpsGrowth5Y': !exists(json, 'dpsGrowth5Y') ? undefined : FiscalYearValueFromJSON(json['dpsGrowth5Y']),
39
+ 'dpsGrowth10Y': !exists(json, 'dpsGrowth10Y') ? undefined : FiscalYearValueFromJSON(json['dpsGrowth10Y']),
40
+ 'contDivPayment': !exists(json, 'contDivPayment') ? undefined : FiscalYearValueFromJSON(json['contDivPayment']),
41
+ 'contDivGrowth': !exists(json, 'contDivGrowth') ? undefined : FiscalYearValueFromJSON(json['contDivGrowth']),
42
+ 'divPayoutRatio': !exists(json, 'divPayoutRatio') ? undefined : FiscalYearValueFromJSON(json['divPayoutRatio']),
41
43
  'marketCap': !exists(json, 'marketCap') ? undefined : json['marketCap'],
42
- 'volatility1': !exists(json, 'volatility1') ? undefined : json['volatility1'],
43
- 'volatility3': !exists(json, 'volatility3') ? undefined : json['volatility3'],
44
- 'avgTradingVolume': !exists(json, 'avgTradingVolume') ? undefined : json['avgTradingVolume'],
45
- 'avgTradingVolume3m': !exists(json, 'avgTradingVolume3m') ? undefined : json['avgTradingVolume3m'],
46
- 'priceToEarningsRatio': !exists(json, 'priceToEarningsRatio') ? undefined : json['priceToEarningsRatio'],
47
- 'priceToEarningsGrowthRatio': !exists(json, 'priceToEarningsGrowthRatio') ? undefined : json['priceToEarningsGrowthRatio'],
48
- 'priceToGrowthRatio4': !exists(json, 'priceToGrowthRatio4') ? undefined : json['priceToGrowthRatio4'],
49
- 'priceToCashFlowRatio': !exists(json, 'priceToCashFlowRatio') ? undefined : json['priceToCashFlowRatio'],
50
- 'cashDebtRatio': !exists(json, 'cashDebtRatio') ? undefined : json['cashDebtRatio'],
51
- 'operatingMargin': !exists(json, 'operatingMargin') ? undefined : json['operatingMargin'],
52
- 'ebitdaGrowth': !exists(json, 'ebitdaGrowth') ? undefined : json['ebitdaGrowth'],
53
- 'epsGrowth': !exists(json, 'epsGrowth') ? undefined : json['epsGrowth'],
54
- 'freeCashFlowGrowth': !exists(json, 'freeCashFlowGrowth') ? undefined : json['freeCashFlowGrowth'],
55
- 'grossProfitGrowth': !exists(json, 'grossProfitGrowth') ? undefined : json['grossProfitGrowth'],
56
- 'revenueGrowth': !exists(json, 'revenueGrowth') ? undefined : json['revenueGrowth'],
57
- 'totalDebtGrowth': !exists(json, 'totalDebtGrowth') ? undefined : json['totalDebtGrowth'],
58
- 'pretaxMargin': !exists(json, 'pretaxMargin') ? undefined : json['pretaxMargin'],
59
- 'cfRatio': !exists(json, 'cfRatio') ? undefined : json['cfRatio'],
60
- 'fcfMargin': !exists(json, 'fcfMargin') ? undefined : json['fcfMargin'],
61
- 'roa': !exists(json, 'roa') ? undefined : json['roa'],
62
- 'roe': !exists(json, 'roe') ? undefined : json['roe'],
63
- 'roic': !exists(json, 'roic') ? undefined : json['roic'],
64
- 'rdRatio': !exists(json, 'rdRatio') ? undefined : json['rdRatio'],
65
- 'sgARatio': !exists(json, 'sgARatio') ? undefined : json['sgARatio'],
66
- 'stockPricePerformance3m': !exists(json, 'stockPricePerformance3m') ? undefined : json['stockPricePerformance3m'],
67
- 'stockPricePerformance6m': !exists(json, 'stockPricePerformance6m') ? undefined : json['stockPricePerformance6m'],
68
- 'stockPricePerformance1y': !exists(json, 'stockPricePerformance1y') ? undefined : json['stockPricePerformance1y'],
69
- 'stockPricePerformance3y': !exists(json, 'stockPricePerformance3y') ? undefined : json['stockPricePerformance3y'],
70
- 'marketCapPerformance6m': !exists(json, 'marketCapPerformance6m') ? undefined : json['marketCapPerformance6m'],
71
- 'marketCapPerformance1y': !exists(json, 'marketCapPerformance1y') ? undefined : json['marketCapPerformance1y'],
72
- 'marketCapPerformance3y': !exists(json, 'marketCapPerformance3y') ? undefined : json['marketCapPerformance3y'],
73
- 'quickRatio': !exists(json, 'quickRatio') ? undefined : json['quickRatio'],
74
- 'debtToEquityRatio': !exists(json, 'debtToEquityRatio') ? undefined : json['debtToEquityRatio'],
75
- 'grossProfitMargin': !exists(json, 'grossProfitMargin') ? undefined : json['grossProfitMargin'],
76
- 'priceToSalesRatio': !exists(json, 'priceToSalesRatio') ? undefined : json['priceToSalesRatio'],
77
- 'priceToBookRatio': !exists(json, 'priceToBookRatio') ? undefined : json['priceToBookRatio'],
78
- 'priceToFreeCashFlowRatio': !exists(json, 'priceToFreeCashFlowRatio') ? undefined : json['priceToFreeCashFlowRatio'],
79
- 'priceToCashRatio': !exists(json, 'priceToCashRatio') ? undefined : json['priceToCashRatio'],
80
- 'rsi': !exists(json, 'rsi') ? undefined : json['rsi'],
81
- 'stochastic': !exists(json, 'stochastic') ? undefined : json['stochastic'],
82
- 'commodityChannelIndex': !exists(json, 'commodityChannelIndex') ? undefined : json['commodityChannelIndex'],
44
+ 'volatility1MO': !exists(json, 'volatility1MO') ? undefined : json['volatility1MO'],
45
+ 'volatility3MO': !exists(json, 'volatility3MO') ? undefined : json['volatility3MO'],
46
+ 'volatility1Y': !exists(json, 'volatility1Y') ? undefined : json['volatility1Y'],
47
+ 'avgTradingVolume1MO': !exists(json, 'avgTradingVolume1MO') ? undefined : json['avgTradingVolume1MO'],
48
+ 'avgTradingVolume3MO': !exists(json, 'avgTradingVolume3MO') ? undefined : json['avgTradingVolume3MO'],
49
+ 'priceToEarningsRatio': !exists(json, 'priceToEarningsRatio') ? undefined : FiscalYearValueFromJSON(json['priceToEarningsRatio']),
50
+ 'priceToEarningsGrowthRatio': !exists(json, 'priceToEarningsGrowthRatio') ? undefined : FiscalYearValueFromJSON(json['priceToEarningsGrowthRatio']),
51
+ 'priceToCashFlowRatio': !exists(json, 'priceToCashFlowRatio') ? undefined : FiscalYearValueFromJSON(json['priceToCashFlowRatio']),
52
+ 'cashDebtRatio': !exists(json, 'cashDebtRatio') ? undefined : FiscalYearValueFromJSON(json['cashDebtRatio']),
53
+ 'operatingMargin': !exists(json, 'operatingMargin') ? undefined : FiscalYearValueFromJSON(json['operatingMargin']),
54
+ 'ebitdaGrowth': !exists(json, 'ebitdaGrowth') ? undefined : FiscalYearValueFromJSON(json['ebitdaGrowth']),
55
+ 'epsGrowth': !exists(json, 'epsGrowth') ? undefined : FiscalYearValueFromJSON(json['epsGrowth']),
56
+ 'freeCashFlowGrowth': !exists(json, 'freeCashFlowGrowth') ? undefined : FiscalYearValueFromJSON(json['freeCashFlowGrowth']),
57
+ 'grossProfitGrowth': !exists(json, 'grossProfitGrowth') ? undefined : FiscalYearValueFromJSON(json['grossProfitGrowth']),
58
+ 'revenueGrowth': !exists(json, 'revenueGrowth') ? undefined : FiscalYearValueFromJSON(json['revenueGrowth']),
59
+ 'totalDebtGrowth': !exists(json, 'totalDebtGrowth') ? undefined : FiscalYearValueFromJSON(json['totalDebtGrowth']),
60
+ 'pretaxMargin': !exists(json, 'pretaxMargin') ? undefined : FiscalYearValueFromJSON(json['pretaxMargin']),
61
+ 'cfRatio': !exists(json, 'cfRatio') ? undefined : FiscalYearValueFromJSON(json['cfRatio']),
62
+ 'fcfMargin': !exists(json, 'fcfMargin') ? undefined : FiscalYearValueFromJSON(json['fcfMargin']),
63
+ 'roa': !exists(json, 'roa') ? undefined : FiscalYearValueFromJSON(json['roa']),
64
+ 'roe': !exists(json, 'roe') ? undefined : FiscalYearValueFromJSON(json['roe']),
65
+ 'roic': !exists(json, 'roic') ? undefined : FiscalYearValueFromJSON(json['roic']),
66
+ 'rdRatio': !exists(json, 'rdRatio') ? undefined : FiscalYearValueFromJSON(json['rdRatio']),
67
+ 'sgARatio': !exists(json, 'sgARatio') ? undefined : FiscalYearValueFromJSON(json['sgARatio']),
68
+ 'stockPricePerformance3MO': !exists(json, 'stockPricePerformance3MO') ? undefined : json['stockPricePerformance3MO'],
69
+ 'stockPricePerformance6MO': !exists(json, 'stockPricePerformance6MO') ? undefined : json['stockPricePerformance6MO'],
70
+ 'stockPricePerformance1Y': !exists(json, 'stockPricePerformance1Y') ? undefined : json['stockPricePerformance1Y'],
71
+ 'stockPricePerformance3Y': !exists(json, 'stockPricePerformance3Y') ? undefined : json['stockPricePerformance3Y'],
72
+ 'marketCapPerformance6MO': !exists(json, 'marketCapPerformance6MO') ? undefined : json['marketCapPerformance6MO'],
73
+ 'marketCapPerformance1Y': !exists(json, 'marketCapPerformance1Y') ? undefined : json['marketCapPerformance1Y'],
74
+ 'marketCapPerformance3Y': !exists(json, 'marketCapPerformance3Y') ? undefined : json['marketCapPerformance3Y'],
75
+ 'quickRatio': !exists(json, 'quickRatio') ? undefined : FiscalYearValueFromJSON(json['quickRatio']),
76
+ 'debtToEquityRatio': !exists(json, 'debtToEquityRatio') ? undefined : FiscalYearValueFromJSON(json['debtToEquityRatio']),
77
+ 'grossProfitMargin': !exists(json, 'grossProfitMargin') ? undefined : FiscalYearValueFromJSON(json['grossProfitMargin']),
78
+ 'priceToSalesRatio': !exists(json, 'priceToSalesRatio') ? undefined : FiscalYearValueFromJSON(json['priceToSalesRatio']),
79
+ 'priceToBookRatio': !exists(json, 'priceToBookRatio') ? undefined : FiscalYearValueFromJSON(json['priceToBookRatio']),
80
+ 'priceToFreeCashFlowRatio': !exists(json, 'priceToFreeCashFlowRatio') ? undefined : FiscalYearValueFromJSON(json['priceToFreeCashFlowRatio']),
81
+ 'priceToCashRatio': !exists(json, 'priceToCashRatio') ? undefined : FiscalYearValueFromJSON(json['priceToCashRatio']),
82
+ 'rsi': !exists(json, 'rsi') ? undefined : OscillatorFromJSON(json['rsi']),
83
+ 'stochastic': !exists(json, 'stochastic') ? undefined : OscillatorFromJSON(json['stochastic']),
84
+ 'commodityChannelIndex': !exists(json, 'commodityChannelIndex') ? undefined : OscillatorFromJSON(json['commodityChannelIndex']),
83
85
  'averageDirectionalIndex': !exists(json, 'averageDirectionalIndex') ? undefined : json['averageDirectionalIndex'],
84
86
  'awesomeOscillator': !exists(json, 'awesomeOscillator') ? undefined : json['awesomeOscillator'],
85
87
  'momentum': !exists(json, 'momentum') ? undefined : json['momentum'],
86
- 'macd': !exists(json, 'macd') ? undefined : json['macd'],
87
- 'stochasticRsi': !exists(json, 'stochasticRsi') ? undefined : json['stochasticRsi'],
88
- 'williamsPercentRange': !exists(json, 'williamsPercentRange') ? undefined : json['williamsPercentRange'],
88
+ 'macd': !exists(json, 'macd') ? undefined : OscillatorFromJSON(json['macd']),
89
+ 'macdSignal': !exists(json, 'macdSignal') ? undefined : json['macdSignal'],
90
+ 'stochasticRsi': !exists(json, 'stochasticRsi') ? undefined : OscillatorFromJSON(json['stochasticRsi']),
91
+ 'williamsPercentRange': !exists(json, 'williamsPercentRange') ? undefined : OscillatorFromJSON(json['williamsPercentRange']),
89
92
  'bullsPower': !exists(json, 'bullsPower') ? undefined : json['bullsPower'],
90
93
  'bearsPower': !exists(json, 'bearsPower') ? undefined : json['bearsPower'],
91
- 'ultimateOscillator': !exists(json, 'ultimateOscillator') ? undefined : json['ultimateOscillator'],
92
- 'oscillatorAverage': !exists(json, 'oscillatorAverage') ? undefined : json['oscillatorAverage'],
94
+ 'bullsBearsPower': !exists(json, 'bullsBearsPower') ? undefined : OscillatorFromJSON(json['bullsBearsPower']),
95
+ 'ultimateOscillator': !exists(json, 'ultimateOscillator') ? undefined : OscillatorFromJSON(json['ultimateOscillator']),
96
+ 'oscillatorAverage': !exists(json, 'oscillatorAverage') ? undefined : OscillatorFromJSON(json['oscillatorAverage']),
97
+ 'ma5': !exists(json, 'ma5') ? undefined : MovingAverageFromJSON(json['ma5']),
98
+ 'ma10': !exists(json, 'ma10') ? undefined : MovingAverageFromJSON(json['ma10']),
99
+ 'ma20': !exists(json, 'ma20') ? undefined : MovingAverageFromJSON(json['ma20']),
100
+ 'ma50': !exists(json, 'ma50') ? undefined : MovingAverageFromJSON(json['ma50']),
101
+ 'ma100': !exists(json, 'ma100') ? undefined : MovingAverageFromJSON(json['ma100']),
102
+ 'ma200': !exists(json, 'ma200') ? undefined : MovingAverageFromJSON(json['ma200']),
103
+ 'tripleMovingAverageCrossover': !exists(json, 'tripleMovingAverageCrossover') ? undefined : OscillatorFromJSON(json['tripleMovingAverageCrossover']),
104
+ 'longTermMovingAverageCrossover': !exists(json, 'longTermMovingAverageCrossover') ? undefined : OscillatorFromJSON(json['longTermMovingAverageCrossover']),
105
+ 'allMovingAveragesRating': !exists(json, 'allMovingAveragesRating') ? undefined : OscillatorFromJSON(json['allMovingAveragesRating']),
106
+ 'tenkanSen': !exists(json, 'tenkanSen') ? undefined : json['tenkanSen'],
107
+ 'kijunSen': !exists(json, 'kijunSen') ? undefined : json['kijunSen'],
108
+ 'senkouSpanA': !exists(json, 'senkouSpanA') ? undefined : json['senkouSpanA'],
109
+ 'senkouSpanB': !exists(json, 'senkouSpanB') ? undefined : json['senkouSpanB'],
110
+ 'chikouSpan': !exists(json, 'chikouSpan') ? undefined : json['chikouSpan'],
111
+ 'ichimokuInterpretation': !exists(json, 'ichimokuInterpretation') ? undefined : OscillatorFromJSON(json['ichimokuInterpretation']),
93
112
  };
94
113
  }
95
114
  export function KpiDataAllOfToJSON(value) {
@@ -102,66 +121,82 @@ export function KpiDataAllOfToJSON(value) {
102
121
  return {
103
122
  'kpiSourceId': value.kpiSourceId,
104
123
  'divYield': value.divYield,
105
- 'divYield5': value.divYield5,
106
- 'divYield10': value.divYield10,
107
- 'divYieldPercentage': value.divYieldPercentage,
108
- 'dpsGrowthYoy': value.dpsGrowthYoy,
109
- 'dpsGrowthYoy5': value.dpsGrowthYoy5,
110
- 'dpsGrowthYoy10': value.dpsGrowthYoy10,
111
- 'contDivPayment': value.contDivPayment,
112
- 'contDivGrowth': value.contDivGrowth,
113
- 'divPayoutRatio': value.divPayoutRatio,
124
+ 'divYield5Y': value.divYield5Y,
125
+ 'divYield10Y': value.divYield10Y,
126
+ 'dpsGrowth': FiscalYearValueToJSON(value.dpsGrowth),
127
+ 'dpsGrowth5Y': FiscalYearValueToJSON(value.dpsGrowth5Y),
128
+ 'dpsGrowth10Y': FiscalYearValueToJSON(value.dpsGrowth10Y),
129
+ 'contDivPayment': FiscalYearValueToJSON(value.contDivPayment),
130
+ 'contDivGrowth': FiscalYearValueToJSON(value.contDivGrowth),
131
+ 'divPayoutRatio': FiscalYearValueToJSON(value.divPayoutRatio),
114
132
  'marketCap': value.marketCap,
115
- 'volatility1': value.volatility1,
116
- 'volatility3': value.volatility3,
117
- 'avgTradingVolume': value.avgTradingVolume,
118
- 'avgTradingVolume3m': value.avgTradingVolume3m,
119
- 'priceToEarningsRatio': value.priceToEarningsRatio,
120
- 'priceToEarningsGrowthRatio': value.priceToEarningsGrowthRatio,
121
- 'priceToGrowthRatio4': value.priceToGrowthRatio4,
122
- 'priceToCashFlowRatio': value.priceToCashFlowRatio,
123
- 'cashDebtRatio': value.cashDebtRatio,
124
- 'operatingMargin': value.operatingMargin,
125
- 'ebitdaGrowth': value.ebitdaGrowth,
126
- 'epsGrowth': value.epsGrowth,
127
- 'freeCashFlowGrowth': value.freeCashFlowGrowth,
128
- 'grossProfitGrowth': value.grossProfitGrowth,
129
- 'revenueGrowth': value.revenueGrowth,
130
- 'totalDebtGrowth': value.totalDebtGrowth,
131
- 'pretaxMargin': value.pretaxMargin,
132
- 'cfRatio': value.cfRatio,
133
- 'fcfMargin': value.fcfMargin,
134
- 'roa': value.roa,
135
- 'roe': value.roe,
136
- 'roic': value.roic,
137
- 'rdRatio': value.rdRatio,
138
- 'sgARatio': value.sgARatio,
139
- 'stockPricePerformance3m': value.stockPricePerformance3m,
140
- 'stockPricePerformance6m': value.stockPricePerformance6m,
141
- 'stockPricePerformance1y': value.stockPricePerformance1y,
142
- 'stockPricePerformance3y': value.stockPricePerformance3y,
143
- 'marketCapPerformance6m': value.marketCapPerformance6m,
144
- 'marketCapPerformance1y': value.marketCapPerformance1y,
145
- 'marketCapPerformance3y': value.marketCapPerformance3y,
146
- 'quickRatio': value.quickRatio,
147
- 'debtToEquityRatio': value.debtToEquityRatio,
148
- 'grossProfitMargin': value.grossProfitMargin,
149
- 'priceToSalesRatio': value.priceToSalesRatio,
150
- 'priceToBookRatio': value.priceToBookRatio,
151
- 'priceToFreeCashFlowRatio': value.priceToFreeCashFlowRatio,
152
- 'priceToCashRatio': value.priceToCashRatio,
153
- 'rsi': value.rsi,
154
- 'stochastic': value.stochastic,
155
- 'commodityChannelIndex': value.commodityChannelIndex,
133
+ 'volatility1MO': value.volatility1MO,
134
+ 'volatility3MO': value.volatility3MO,
135
+ 'volatility1Y': value.volatility1Y,
136
+ 'avgTradingVolume1MO': value.avgTradingVolume1MO,
137
+ 'avgTradingVolume3MO': value.avgTradingVolume3MO,
138
+ 'priceToEarningsRatio': FiscalYearValueToJSON(value.priceToEarningsRatio),
139
+ 'priceToEarningsGrowthRatio': FiscalYearValueToJSON(value.priceToEarningsGrowthRatio),
140
+ 'priceToCashFlowRatio': FiscalYearValueToJSON(value.priceToCashFlowRatio),
141
+ 'cashDebtRatio': FiscalYearValueToJSON(value.cashDebtRatio),
142
+ 'operatingMargin': FiscalYearValueToJSON(value.operatingMargin),
143
+ 'ebitdaGrowth': FiscalYearValueToJSON(value.ebitdaGrowth),
144
+ 'epsGrowth': FiscalYearValueToJSON(value.epsGrowth),
145
+ 'freeCashFlowGrowth': FiscalYearValueToJSON(value.freeCashFlowGrowth),
146
+ 'grossProfitGrowth': FiscalYearValueToJSON(value.grossProfitGrowth),
147
+ 'revenueGrowth': FiscalYearValueToJSON(value.revenueGrowth),
148
+ 'totalDebtGrowth': FiscalYearValueToJSON(value.totalDebtGrowth),
149
+ 'pretaxMargin': FiscalYearValueToJSON(value.pretaxMargin),
150
+ 'cfRatio': FiscalYearValueToJSON(value.cfRatio),
151
+ 'fcfMargin': FiscalYearValueToJSON(value.fcfMargin),
152
+ 'roa': FiscalYearValueToJSON(value.roa),
153
+ 'roe': FiscalYearValueToJSON(value.roe),
154
+ 'roic': FiscalYearValueToJSON(value.roic),
155
+ 'rdRatio': FiscalYearValueToJSON(value.rdRatio),
156
+ 'sgARatio': FiscalYearValueToJSON(value.sgARatio),
157
+ 'stockPricePerformance3MO': value.stockPricePerformance3MO,
158
+ 'stockPricePerformance6MO': value.stockPricePerformance6MO,
159
+ 'stockPricePerformance1Y': value.stockPricePerformance1Y,
160
+ 'stockPricePerformance3Y': value.stockPricePerformance3Y,
161
+ 'marketCapPerformance6MO': value.marketCapPerformance6MO,
162
+ 'marketCapPerformance1Y': value.marketCapPerformance1Y,
163
+ 'marketCapPerformance3Y': value.marketCapPerformance3Y,
164
+ 'quickRatio': FiscalYearValueToJSON(value.quickRatio),
165
+ 'debtToEquityRatio': FiscalYearValueToJSON(value.debtToEquityRatio),
166
+ 'grossProfitMargin': FiscalYearValueToJSON(value.grossProfitMargin),
167
+ 'priceToSalesRatio': FiscalYearValueToJSON(value.priceToSalesRatio),
168
+ 'priceToBookRatio': FiscalYearValueToJSON(value.priceToBookRatio),
169
+ 'priceToFreeCashFlowRatio': FiscalYearValueToJSON(value.priceToFreeCashFlowRatio),
170
+ 'priceToCashRatio': FiscalYearValueToJSON(value.priceToCashRatio),
171
+ 'rsi': OscillatorToJSON(value.rsi),
172
+ 'stochastic': OscillatorToJSON(value.stochastic),
173
+ 'commodityChannelIndex': OscillatorToJSON(value.commodityChannelIndex),
156
174
  'averageDirectionalIndex': value.averageDirectionalIndex,
157
175
  'awesomeOscillator': value.awesomeOscillator,
158
176
  'momentum': value.momentum,
159
- 'macd': value.macd,
160
- 'stochasticRsi': value.stochasticRsi,
161
- 'williamsPercentRange': value.williamsPercentRange,
177
+ 'macd': OscillatorToJSON(value.macd),
178
+ 'macdSignal': value.macdSignal,
179
+ 'stochasticRsi': OscillatorToJSON(value.stochasticRsi),
180
+ 'williamsPercentRange': OscillatorToJSON(value.williamsPercentRange),
162
181
  'bullsPower': value.bullsPower,
163
182
  'bearsPower': value.bearsPower,
164
- 'ultimateOscillator': value.ultimateOscillator,
165
- 'oscillatorAverage': value.oscillatorAverage,
183
+ 'bullsBearsPower': OscillatorToJSON(value.bullsBearsPower),
184
+ 'ultimateOscillator': OscillatorToJSON(value.ultimateOscillator),
185
+ 'oscillatorAverage': OscillatorToJSON(value.oscillatorAverage),
186
+ 'ma5': MovingAverageToJSON(value.ma5),
187
+ 'ma10': MovingAverageToJSON(value.ma10),
188
+ 'ma20': MovingAverageToJSON(value.ma20),
189
+ 'ma50': MovingAverageToJSON(value.ma50),
190
+ 'ma100': MovingAverageToJSON(value.ma100),
191
+ 'ma200': MovingAverageToJSON(value.ma200),
192
+ 'tripleMovingAverageCrossover': OscillatorToJSON(value.tripleMovingAverageCrossover),
193
+ 'longTermMovingAverageCrossover': OscillatorToJSON(value.longTermMovingAverageCrossover),
194
+ 'allMovingAveragesRating': OscillatorToJSON(value.allMovingAveragesRating),
195
+ 'tenkanSen': value.tenkanSen,
196
+ 'kijunSen': value.kijunSen,
197
+ 'senkouSpanA': value.senkouSpanA,
198
+ 'senkouSpanB': value.senkouSpanB,
199
+ 'chikouSpan': value.chikouSpan,
200
+ 'ichimokuInterpretation': OscillatorToJSON(value.ichimokuInterpretation),
166
201
  };
167
202
  }
@@ -0,0 +1,46 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * MDS API
5
+ * Please note the following definitions used throughout this API: **Source**: A source can be any kind of marketplace (exchange) or an entity that calculates prices/values for instruments. **Instrument**: An instrument is e.g. a stock, a bond, an index, a currency-pair, or a specific future/option contract. An instrument is identified by an InstrumentId. Some information in MDS is linked to instruments: Masterdata (names, instrument types,...), Fundamental stock data, News,... **Listing**: An instrument can be traded/calculated on multiple sources. Some sources even support multiple listings of the same instrument, e.g. lisings in different currencies. A listing is identified by a MarketstateId. Most information in MDS is linked to listings: Marketstate (prices/quotes), Tickdata (price/quote history), Performance data,... **Instrument** **vs** **Listing**: The Microsoft stock is an instrument identified by the InstrumentId \"US5949181045\". It is listed and traded on many exchanges. Each of these listings is identified by a unique MarketstateId, i.e. \"US5949181045@GAT\" (listing on Tradegate) or \"US5949181045,USD@SIX\" (USD-listing on SIX), or \"US5949181045,CHF@SIX\" (CHF-listing on SIX). **Marketstate** defines the current state of an instrument listed on a source. In our case besides open, close, post and pre market also latest trade and quote information... **MarketstateQuery**: When you request a price/quote in MDS, you have to select the listing(s) you wish to receive them for. Most API calls use a MarketstateQuery as a parameter to express a filter for one or more Marketstates. The query often takes the form of \"DE0007100000@ETR\" and can also utilize wildcards like \"*\" or \"?\". <br> See here for a full specification <a href=\"#model-MarketstateQuery\">MarketstateQuery</a> **Timestamps**: Most events covered in MDS have a known instant they refer to. A trade on an exchange usually has an exact time when it was executed. However depending on source and context some events can refer to a whole trading day without specifying a time of day. ECB currency rates for instance are determined for the whole day. In other cases an exact time is not part of the licensed data, e.g. when looking at the end-of-day quality of some exchanges. If an exact time is known, this is transmitted in a field \"datetime\". If only a date is given the field \"date\" is used. If you see \"00:00:00.000\" in a datetime field, this actually means something happened exactly at midnight, it is not a special value indicating \\\"no date available\\\". **SSE-NOTE**: Many endpoints support Server Sent Events (SSE) to get pushed updates. To receive SSE the client needs to request the content-type \"text/event-stream\" via the \"accept\" http request-header. <br>Unfortunately Swagger UI does not support SSE! To test SSE on an endpoint use the curl command shown in the snapshot response and modify the \"accept\" HTTP request-header as described above. **CURL-NOTE**: When use curl use the option -i to see the response headers. If the return status is 401 then you have to reauthorize. Otherwise you do not see whether the token is expired and wondering that there is no response.
6
+ *
7
+ * The version of the OpenAPI document: 0.4.34
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ import { OscillatorFromJSON, OscillatorToJSON, } from './Oscillator';
16
+ /**
17
+ * Check if a given object implements the MovingAverage interface.
18
+ */
19
+ export function instanceOfMovingAverage(value) {
20
+ let isInstance = true;
21
+ return isInstance;
22
+ }
23
+ export function MovingAverageFromJSON(json) {
24
+ return MovingAverageFromJSONTyped(json, false);
25
+ }
26
+ export function MovingAverageFromJSONTyped(json, ignoreDiscriminator) {
27
+ if ((json === undefined) || (json === null)) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'sma': !exists(json, 'sma') ? undefined : OscillatorFromJSON(json['sma']),
32
+ 'ema': !exists(json, 'ema') ? undefined : OscillatorFromJSON(json['ema']),
33
+ };
34
+ }
35
+ export function MovingAverageToJSON(value) {
36
+ if (value === undefined) {
37
+ return undefined;
38
+ }
39
+ if (value === null) {
40
+ return null;
41
+ }
42
+ return {
43
+ 'sma': OscillatorToJSON(value.sma),
44
+ 'ema': OscillatorToJSON(value.ema),
45
+ };
46
+ }
@@ -0,0 +1,46 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * MDS API
5
+ * Please note the following definitions used throughout this API: **Source**: A source can be any kind of marketplace (exchange) or an entity that calculates prices/values for instruments. **Instrument**: An instrument is e.g. a stock, a bond, an index, a currency-pair, or a specific future/option contract. An instrument is identified by an InstrumentId. Some information in MDS is linked to instruments: Masterdata (names, instrument types,...), Fundamental stock data, News,... **Listing**: An instrument can be traded/calculated on multiple sources. Some sources even support multiple listings of the same instrument, e.g. lisings in different currencies. A listing is identified by a MarketstateId. Most information in MDS is linked to listings: Marketstate (prices/quotes), Tickdata (price/quote history), Performance data,... **Instrument** **vs** **Listing**: The Microsoft stock is an instrument identified by the InstrumentId \"US5949181045\". It is listed and traded on many exchanges. Each of these listings is identified by a unique MarketstateId, i.e. \"US5949181045@GAT\" (listing on Tradegate) or \"US5949181045,USD@SIX\" (USD-listing on SIX), or \"US5949181045,CHF@SIX\" (CHF-listing on SIX). **Marketstate** defines the current state of an instrument listed on a source. In our case besides open, close, post and pre market also latest trade and quote information... **MarketstateQuery**: When you request a price/quote in MDS, you have to select the listing(s) you wish to receive them for. Most API calls use a MarketstateQuery as a parameter to express a filter for one or more Marketstates. The query often takes the form of \"DE0007100000@ETR\" and can also utilize wildcards like \"*\" or \"?\". <br> See here for a full specification <a href=\"#model-MarketstateQuery\">MarketstateQuery</a> **Timestamps**: Most events covered in MDS have a known instant they refer to. A trade on an exchange usually has an exact time when it was executed. However depending on source and context some events can refer to a whole trading day without specifying a time of day. ECB currency rates for instance are determined for the whole day. In other cases an exact time is not part of the licensed data, e.g. when looking at the end-of-day quality of some exchanges. If an exact time is known, this is transmitted in a field \"datetime\". If only a date is given the field \"date\" is used. If you see \"00:00:00.000\" in a datetime field, this actually means something happened exactly at midnight, it is not a special value indicating \\\"no date available\\\". **SSE-NOTE**: Many endpoints support Server Sent Events (SSE) to get pushed updates. To receive SSE the client needs to request the content-type \"text/event-stream\" via the \"accept\" http request-header. <br>Unfortunately Swagger UI does not support SSE! To test SSE on an endpoint use the curl command shown in the snapshot response and modify the \"accept\" HTTP request-header as described above. **CURL-NOTE**: When use curl use the option -i to see the response headers. If the return status is 401 then you have to reauthorize. Otherwise you do not see whether the token is expired and wondering that there is no response.
6
+ *
7
+ * The version of the OpenAPI document: 0.4.34
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ import { OscillatorFromJSON, OscillatorToJSON, } from './Oscillator';
16
+ /**
17
+ * Check if a given object implements the MovingAverageAllOf interface.
18
+ */
19
+ export function instanceOfMovingAverageAllOf(value) {
20
+ let isInstance = true;
21
+ return isInstance;
22
+ }
23
+ export function MovingAverageAllOfFromJSON(json) {
24
+ return MovingAverageAllOfFromJSONTyped(json, false);
25
+ }
26
+ export function MovingAverageAllOfFromJSONTyped(json, ignoreDiscriminator) {
27
+ if ((json === undefined) || (json === null)) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'sma': !exists(json, 'sma') ? undefined : OscillatorFromJSON(json['sma']),
32
+ 'ema': !exists(json, 'ema') ? undefined : OscillatorFromJSON(json['ema']),
33
+ };
34
+ }
35
+ export function MovingAverageAllOfToJSON(value) {
36
+ if (value === undefined) {
37
+ return undefined;
38
+ }
39
+ if (value === null) {
40
+ return null;
41
+ }
42
+ return {
43
+ 'sma': OscillatorToJSON(value.sma),
44
+ 'ema': OscillatorToJSON(value.ema),
45
+ };
46
+ }
@@ -48,6 +48,7 @@ export function OfficialSymbolsFromJSONTyped(json, ignoreDiscriminator) {
48
48
  'crypto': !exists(json, 'crypto') ? undefined : OfficialSymbolsCryptoFromJSON(json['crypto']),
49
49
  'eurexOption': !exists(json, 'eurexOption') ? undefined : OfficialSymbolsEurexOptionFromJSON(json['eurexOption']),
50
50
  'eurexFuture': !exists(json, 'eurexFuture') ? undefined : OfficialSymbolsEurexFutureFromJSON(json['eurexFuture']),
51
+ 'bundesbank': !exists(json, 'bundesbank') ? undefined : json['bundesbank'],
51
52
  };
52
53
  }
53
54
  export function OfficialSymbolsToJSON(value) {
@@ -75,5 +76,6 @@ export function OfficialSymbolsToJSON(value) {
75
76
  'crypto': OfficialSymbolsCryptoToJSON(value.crypto),
76
77
  'eurexOption': OfficialSymbolsEurexOptionToJSON(value.eurexOption),
77
78
  'eurexFuture': OfficialSymbolsEurexFutureToJSON(value.eurexFuture),
79
+ 'bundesbank': value.bundesbank,
78
80
  };
79
81
  }
@@ -0,0 +1,57 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * MDS API
5
+ * Please note the following definitions used throughout this API: **Source**: A source can be any kind of marketplace (exchange) or an entity that calculates prices/values for instruments. **Instrument**: An instrument is e.g. a stock, a bond, an index, a currency-pair, or a specific future/option contract. An instrument is identified by an InstrumentId. Some information in MDS is linked to instruments: Masterdata (names, instrument types,...), Fundamental stock data, News,... **Listing**: An instrument can be traded/calculated on multiple sources. Some sources even support multiple listings of the same instrument, e.g. lisings in different currencies. A listing is identified by a MarketstateId. Most information in MDS is linked to listings: Marketstate (prices/quotes), Tickdata (price/quote history), Performance data,... **Instrument** **vs** **Listing**: The Microsoft stock is an instrument identified by the InstrumentId \"US5949181045\". It is listed and traded on many exchanges. Each of these listings is identified by a unique MarketstateId, i.e. \"US5949181045@GAT\" (listing on Tradegate) or \"US5949181045,USD@SIX\" (USD-listing on SIX), or \"US5949181045,CHF@SIX\" (CHF-listing on SIX). **Marketstate** defines the current state of an instrument listed on a source. In our case besides open, close, post and pre market also latest trade and quote information... **MarketstateQuery**: When you request a price/quote in MDS, you have to select the listing(s) you wish to receive them for. Most API calls use a MarketstateQuery as a parameter to express a filter for one or more Marketstates. The query often takes the form of \"DE0007100000@ETR\" and can also utilize wildcards like \"*\" or \"?\". <br> See here for a full specification <a href=\"#model-MarketstateQuery\">MarketstateQuery</a> **Timestamps**: Most events covered in MDS have a known instant they refer to. A trade on an exchange usually has an exact time when it was executed. However depending on source and context some events can refer to a whole trading day without specifying a time of day. ECB currency rates for instance are determined for the whole day. In other cases an exact time is not part of the licensed data, e.g. when looking at the end-of-day quality of some exchanges. If an exact time is known, this is transmitted in a field \"datetime\". If only a date is given the field \"date\" is used. If you see \"00:00:00.000\" in a datetime field, this actually means something happened exactly at midnight, it is not a special value indicating \\\"no date available\\\". **SSE-NOTE**: Many endpoints support Server Sent Events (SSE) to get pushed updates. To receive SSE the client needs to request the content-type \"text/event-stream\" via the \"accept\" http request-header. <br>Unfortunately Swagger UI does not support SSE! To test SSE on an endpoint use the curl command shown in the snapshot response and modify the \"accept\" HTTP request-header as described above. **CURL-NOTE**: When use curl use the option -i to see the response headers. If the return status is 401 then you have to reauthorize. Otherwise you do not see whether the token is expired and wondering that there is no response.
6
+ *
7
+ * The version of the OpenAPI document: 0.4.34
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ /**
16
+ * @export
17
+ */
18
+ export const OscillatorInterpretationEnum = {
19
+ Neutral: 'NEUTRAL',
20
+ Buy: 'BUY',
21
+ Sell: 'SELL',
22
+ Overbought: 'OVERBOUGHT',
23
+ Oversold: 'OVERSOLD',
24
+ StrongBuy: 'STRONG_BUY',
25
+ StrongSell: 'STRONG_SELL'
26
+ };
27
+ /**
28
+ * Check if a given object implements the Oscillator interface.
29
+ */
30
+ export function instanceOfOscillator(value) {
31
+ let isInstance = true;
32
+ return isInstance;
33
+ }
34
+ export function OscillatorFromJSON(json) {
35
+ return OscillatorFromJSONTyped(json, false);
36
+ }
37
+ export function OscillatorFromJSONTyped(json, ignoreDiscriminator) {
38
+ if ((json === undefined) || (json === null)) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'value': !exists(json, 'value') ? undefined : json['value'],
43
+ 'interpretation': !exists(json, 'interpretation') ? undefined : json['interpretation'],
44
+ };
45
+ }
46
+ export function OscillatorToJSON(value) {
47
+ if (value === undefined) {
48
+ return undefined;
49
+ }
50
+ if (value === null) {
51
+ return null;
52
+ }
53
+ return {
54
+ 'value': value.value,
55
+ 'interpretation': value.interpretation,
56
+ };
57
+ }
@@ -0,0 +1,57 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * MDS API
5
+ * Please note the following definitions used throughout this API: **Source**: A source can be any kind of marketplace (exchange) or an entity that calculates prices/values for instruments. **Instrument**: An instrument is e.g. a stock, a bond, an index, a currency-pair, or a specific future/option contract. An instrument is identified by an InstrumentId. Some information in MDS is linked to instruments: Masterdata (names, instrument types,...), Fundamental stock data, News,... **Listing**: An instrument can be traded/calculated on multiple sources. Some sources even support multiple listings of the same instrument, e.g. lisings in different currencies. A listing is identified by a MarketstateId. Most information in MDS is linked to listings: Marketstate (prices/quotes), Tickdata (price/quote history), Performance data,... **Instrument** **vs** **Listing**: The Microsoft stock is an instrument identified by the InstrumentId \"US5949181045\". It is listed and traded on many exchanges. Each of these listings is identified by a unique MarketstateId, i.e. \"US5949181045@GAT\" (listing on Tradegate) or \"US5949181045,USD@SIX\" (USD-listing on SIX), or \"US5949181045,CHF@SIX\" (CHF-listing on SIX). **Marketstate** defines the current state of an instrument listed on a source. In our case besides open, close, post and pre market also latest trade and quote information... **MarketstateQuery**: When you request a price/quote in MDS, you have to select the listing(s) you wish to receive them for. Most API calls use a MarketstateQuery as a parameter to express a filter for one or more Marketstates. The query often takes the form of \"DE0007100000@ETR\" and can also utilize wildcards like \"*\" or \"?\". <br> See here for a full specification <a href=\"#model-MarketstateQuery\">MarketstateQuery</a> **Timestamps**: Most events covered in MDS have a known instant they refer to. A trade on an exchange usually has an exact time when it was executed. However depending on source and context some events can refer to a whole trading day without specifying a time of day. ECB currency rates for instance are determined for the whole day. In other cases an exact time is not part of the licensed data, e.g. when looking at the end-of-day quality of some exchanges. If an exact time is known, this is transmitted in a field \"datetime\". If only a date is given the field \"date\" is used. If you see \"00:00:00.000\" in a datetime field, this actually means something happened exactly at midnight, it is not a special value indicating \\\"no date available\\\". **SSE-NOTE**: Many endpoints support Server Sent Events (SSE) to get pushed updates. To receive SSE the client needs to request the content-type \"text/event-stream\" via the \"accept\" http request-header. <br>Unfortunately Swagger UI does not support SSE! To test SSE on an endpoint use the curl command shown in the snapshot response and modify the \"accept\" HTTP request-header as described above. **CURL-NOTE**: When use curl use the option -i to see the response headers. If the return status is 401 then you have to reauthorize. Otherwise you do not see whether the token is expired and wondering that there is no response.
6
+ *
7
+ * The version of the OpenAPI document: 0.4.34
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ /**
16
+ * @export
17
+ */
18
+ export const OscillatorAllOfInterpretationEnum = {
19
+ Neutral: 'NEUTRAL',
20
+ Buy: 'BUY',
21
+ Sell: 'SELL',
22
+ Overbought: 'OVERBOUGHT',
23
+ Oversold: 'OVERSOLD',
24
+ StrongBuy: 'STRONG_BUY',
25
+ StrongSell: 'STRONG_SELL'
26
+ };
27
+ /**
28
+ * Check if a given object implements the OscillatorAllOf interface.
29
+ */
30
+ export function instanceOfOscillatorAllOf(value) {
31
+ let isInstance = true;
32
+ return isInstance;
33
+ }
34
+ export function OscillatorAllOfFromJSON(json) {
35
+ return OscillatorAllOfFromJSONTyped(json, false);
36
+ }
37
+ export function OscillatorAllOfFromJSONTyped(json, ignoreDiscriminator) {
38
+ if ((json === undefined) || (json === null)) {
39
+ return json;
40
+ }
41
+ return {
42
+ 'value': !exists(json, 'value') ? undefined : json['value'],
43
+ 'interpretation': !exists(json, 'interpretation') ? undefined : json['interpretation'],
44
+ };
45
+ }
46
+ export function OscillatorAllOfToJSON(value) {
47
+ if (value === undefined) {
48
+ return undefined;
49
+ }
50
+ if (value === null) {
51
+ return null;
52
+ }
53
+ return {
54
+ 'value': value.value,
55
+ 'interpretation': value.interpretation,
56
+ };
57
+ }
@@ -20,8 +20,10 @@ export const Resolution = {
20
20
  _5M: '5M',
21
21
  _10M: '10M',
22
22
  _15M: '15M',
23
+ _30M: '30M',
23
24
  _60M: '60M',
24
25
  _1H: '1H',
26
+ _4H: '4H',
25
27
  _1D: '1D',
26
28
  _1W: '1W',
27
29
  _1Mo: '1MO',
@@ -0,0 +1,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * MDS API
5
+ * Please note the following definitions used throughout this API: **Source**: A source can be any kind of marketplace (exchange) or an entity that calculates prices/values for instruments. **Instrument**: An instrument is e.g. a stock, a bond, an index, a currency-pair, or a specific future/option contract. An instrument is identified by an InstrumentId. Some information in MDS is linked to instruments: Masterdata (names, instrument types,...), Fundamental stock data, News,... **Listing**: An instrument can be traded/calculated on multiple sources. Some sources even support multiple listings of the same instrument, e.g. lisings in different currencies. A listing is identified by a MarketstateId. Most information in MDS is linked to listings: Marketstate (prices/quotes), Tickdata (price/quote history), Performance data,... **Instrument** **vs** **Listing**: The Microsoft stock is an instrument identified by the InstrumentId \"US5949181045\". It is listed and traded on many exchanges. Each of these listings is identified by a unique MarketstateId, i.e. \"US5949181045@GAT\" (listing on Tradegate) or \"US5949181045,USD@SIX\" (USD-listing on SIX), or \"US5949181045,CHF@SIX\" (CHF-listing on SIX). **Marketstate** defines the current state of an instrument listed on a source. In our case besides open, close, post and pre market also latest trade and quote information... **MarketstateQuery**: When you request a price/quote in MDS, you have to select the listing(s) you wish to receive them for. Most API calls use a MarketstateQuery as a parameter to express a filter for one or more Marketstates. The query often takes the form of \"DE0007100000@ETR\" and can also utilize wildcards like \"*\" or \"?\". <br> See here for a full specification <a href=\"#model-MarketstateQuery\">MarketstateQuery</a> **Timestamps**: Most events covered in MDS have a known instant they refer to. A trade on an exchange usually has an exact time when it was executed. However depending on source and context some events can refer to a whole trading day without specifying a time of day. ECB currency rates for instance are determined for the whole day. In other cases an exact time is not part of the licensed data, e.g. when looking at the end-of-day quality of some exchanges. If an exact time is known, this is transmitted in a field \"datetime\". If only a date is given the field \"date\" is used. If you see \"00:00:00.000\" in a datetime field, this actually means something happened exactly at midnight, it is not a special value indicating \\\"no date available\\\". **SSE-NOTE**: Many endpoints support Server Sent Events (SSE) to get pushed updates. To receive SSE the client needs to request the content-type \"text/event-stream\" via the \"accept\" http request-header. <br>Unfortunately Swagger UI does not support SSE! To test SSE on an endpoint use the curl command shown in the snapshot response and modify the \"accept\" HTTP request-header as described above. **CURL-NOTE**: When use curl use the option -i to see the response headers. If the return status is 401 then you have to reauthorize. Otherwise you do not see whether the token is expired and wondering that there is no response.
6
+ *
7
+ * The version of the OpenAPI document: 0.4.34
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ /**
16
+ * Check if a given object implements the WebSocketCommandListMasterdata interface.
17
+ */
18
+ export function instanceOfWebSocketCommandListMasterdata(value) {
19
+ let isInstance = true;
20
+ return isInstance;
21
+ }
22
+ export function WebSocketCommandListMasterdataFromJSON(json) {
23
+ return WebSocketCommandListMasterdataFromJSONTyped(json, false);
24
+ }
25
+ export function WebSocketCommandListMasterdataFromJSONTyped(json, ignoreDiscriminator) {
26
+ if ((json === undefined) || (json === null)) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'instrumentIds': !exists(json, 'instrumentIds') ? undefined : json['instrumentIds'],
31
+ };
32
+ }
33
+ export function WebSocketCommandListMasterdataToJSON(value) {
34
+ if (value === undefined) {
35
+ return undefined;
36
+ }
37
+ if (value === null) {
38
+ return null;
39
+ }
40
+ return {
41
+ 'instrumentIds': value.instrumentIds,
42
+ };
43
+ }