@ariva-mds/mds 2.57.0 → 2.58.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 (45) hide show
  1. package/lib/cjs/api/MdsConnection.js +2 -2
  2. package/lib/cjs/models/ChartData.js +70 -0
  3. package/lib/cjs/models/ChartDataAllOf.js +60 -0
  4. package/lib/cjs/models/OfficialSymbols.js +2 -0
  5. package/lib/cjs/models/Resolution.js +2 -0
  6. package/lib/cjs/models/TickHistoryData.js +3 -0
  7. package/lib/cjs/models/WebSocketCommandListCharts.js +74 -0
  8. package/lib/cjs/models/WebSocketCommandListTickHistory.js +2 -2
  9. package/lib/cjs/models/WebSocketMessage.js +3 -0
  10. package/lib/cjs/models/WebSocketRequest.js +3 -0
  11. package/lib/cjs/models/index.js +3 -0
  12. package/lib/esm/api/MdsConnection.js +2 -2
  13. package/lib/esm/models/ChartData.js +63 -0
  14. package/lib/esm/models/ChartDataAllOf.js +53 -0
  15. package/lib/esm/models/OfficialSymbols.js +2 -0
  16. package/lib/esm/models/Resolution.js +2 -0
  17. package/lib/esm/models/TickHistoryData.js +3 -0
  18. package/lib/esm/models/WebSocketCommandListCharts.js +67 -0
  19. package/lib/esm/models/WebSocketCommandListTickHistory.js +2 -2
  20. package/lib/esm/models/WebSocketMessage.js +3 -0
  21. package/lib/esm/models/WebSocketRequest.js +3 -0
  22. package/lib/esm/models/index.js +3 -0
  23. package/lib/types/api/MdsConnection.d.ts +1 -1
  24. package/lib/types/api/MdsConnection.d.ts.map +1 -1
  25. package/lib/types/models/ChartData.d.ts +85 -0
  26. package/lib/types/models/ChartData.d.ts.map +1 -0
  27. package/lib/types/models/ChartDataAllOf.d.ts +54 -0
  28. package/lib/types/models/ChartDataAllOf.d.ts.map +1 -0
  29. package/lib/types/models/OfficialSymbols.d.ts +6 -0
  30. package/lib/types/models/OfficialSymbols.d.ts.map +1 -1
  31. package/lib/types/models/Resolution.d.ts +2 -0
  32. package/lib/types/models/Resolution.d.ts.map +1 -1
  33. package/lib/types/models/TickHistoryData.d.ts +8 -1
  34. package/lib/types/models/TickHistoryData.d.ts.map +1 -1
  35. package/lib/types/models/WebSocketCommandListCharts.d.ts +101 -0
  36. package/lib/types/models/WebSocketCommandListCharts.d.ts.map +1 -0
  37. package/lib/types/models/WebSocketCommandListTickHistory.d.ts +1 -1
  38. package/lib/types/models/WebSocketCommandListTickHistory.d.ts.map +1 -1
  39. package/lib/types/models/WebSocketMessage.d.ts +7 -0
  40. package/lib/types/models/WebSocketMessage.d.ts.map +1 -1
  41. package/lib/types/models/WebSocketRequest.d.ts +7 -0
  42. package/lib/types/models/WebSocketRequest.d.ts.map +1 -1
  43. package/lib/types/models/index.d.ts +3 -0
  44. package/lib/types/models/index.d.ts.map +1 -1
  45. package/package.json +2 -2
@@ -288,13 +288,13 @@ class MdsConnection {
288
288
  /**
289
289
  * Returns the tick history for the specified Instrument on the Source.
290
290
  */
291
- tickHistory(marketstateId, start, end, hasVolume, quality, offset, limit) {
291
+ tickHistory(marketstateId, start, end, filterByVolume, quality, offset, limit) {
292
292
  return this.observable({
293
293
  listTickHistory: {
294
294
  marketstateId: marketstateId,
295
295
  start: start instanceof Date ? start?.toISOString() : start,
296
296
  end: end instanceof Date ? end?.toISOString() : end,
297
- hasVolume: hasVolume,
297
+ filterByVolume: filterByVolume,
298
298
  quality: quality,
299
299
  offset: offset,
300
300
  limit: limit
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * MDS API
6
+ * 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.
7
+ *
8
+ * The version of the OpenAPI document: 0.4.34
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ChartDataToJSON = exports.ChartDataFromJSONTyped = exports.ChartDataFromJSON = exports.instanceOfChartData = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const DayMarkData_1 = require("./DayMarkData");
19
+ const Resolution_1 = require("./Resolution");
20
+ const TimeseriesData_1 = require("./TimeseriesData");
21
+ const Tradingtime_1 = require("./Tradingtime");
22
+ /**
23
+ * Check if a given object implements the ChartData interface.
24
+ */
25
+ function instanceOfChartData(value) {
26
+ let isInstance = true;
27
+ return isInstance;
28
+ }
29
+ exports.instanceOfChartData = instanceOfChartData;
30
+ function ChartDataFromJSON(json) {
31
+ return ChartDataFromJSONTyped(json, false);
32
+ }
33
+ exports.ChartDataFromJSON = ChartDataFromJSON;
34
+ function ChartDataFromJSONTyped(json, ignoreDiscriminator) {
35
+ if ((json === undefined) || (json === null)) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'marketstateId': !(0, runtime_1.exists)(json, 'marketstateId') ? undefined : json['marketstateId'],
40
+ 'instrumentId': !(0, runtime_1.exists)(json, 'instrumentId') ? undefined : json['instrumentId'],
41
+ 'sourceId': !(0, runtime_1.exists)(json, 'sourceId') ? undefined : json['sourceId'],
42
+ 'currency': !(0, runtime_1.exists)(json, 'currency') ? undefined : json['currency'],
43
+ 'listingVariant': !(0, runtime_1.exists)(json, 'listingVariant') ? undefined : json['listingVariant'],
44
+ 'resolution': !(0, runtime_1.exists)(json, 'resolution') ? undefined : (0, Resolution_1.ResolutionFromJSON)(json['resolution']),
45
+ 'close': !(0, runtime_1.exists)(json, 'close') ? undefined : (0, DayMarkData_1.DayMarkDataFromJSON)(json['close']),
46
+ 'tradingTimes': !(0, runtime_1.exists)(json, 'tradingTimes') ? undefined : (0, Tradingtime_1.TradingtimeFromJSON)(json['tradingTimes']),
47
+ 'items': !(0, runtime_1.exists)(json, 'items') ? undefined : (json['items'].map(TimeseriesData_1.TimeseriesDataFromJSON)),
48
+ };
49
+ }
50
+ exports.ChartDataFromJSONTyped = ChartDataFromJSONTyped;
51
+ function ChartDataToJSON(value) {
52
+ if (value === undefined) {
53
+ return undefined;
54
+ }
55
+ if (value === null) {
56
+ return null;
57
+ }
58
+ return {
59
+ 'marketstateId': value.marketstateId,
60
+ 'instrumentId': value.instrumentId,
61
+ 'sourceId': value.sourceId,
62
+ 'currency': value.currency,
63
+ 'listingVariant': value.listingVariant,
64
+ 'resolution': (0, Resolution_1.ResolutionToJSON)(value.resolution),
65
+ 'close': (0, DayMarkData_1.DayMarkDataToJSON)(value.close),
66
+ 'tradingTimes': (0, Tradingtime_1.TradingtimeToJSON)(value.tradingTimes),
67
+ 'items': value.items === undefined ? undefined : (value.items.map(TimeseriesData_1.TimeseriesDataToJSON)),
68
+ };
69
+ }
70
+ exports.ChartDataToJSON = ChartDataToJSON;
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * MDS API
6
+ * 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.
7
+ *
8
+ * The version of the OpenAPI document: 0.4.34
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ChartDataAllOfToJSON = exports.ChartDataAllOfFromJSONTyped = exports.ChartDataAllOfFromJSON = exports.instanceOfChartDataAllOf = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const DayMarkData_1 = require("./DayMarkData");
19
+ const Resolution_1 = require("./Resolution");
20
+ const TimeseriesData_1 = require("./TimeseriesData");
21
+ const Tradingtime_1 = require("./Tradingtime");
22
+ /**
23
+ * Check if a given object implements the ChartDataAllOf interface.
24
+ */
25
+ function instanceOfChartDataAllOf(value) {
26
+ let isInstance = true;
27
+ return isInstance;
28
+ }
29
+ exports.instanceOfChartDataAllOf = instanceOfChartDataAllOf;
30
+ function ChartDataAllOfFromJSON(json) {
31
+ return ChartDataAllOfFromJSONTyped(json, false);
32
+ }
33
+ exports.ChartDataAllOfFromJSON = ChartDataAllOfFromJSON;
34
+ function ChartDataAllOfFromJSONTyped(json, ignoreDiscriminator) {
35
+ if ((json === undefined) || (json === null)) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'resolution': !(0, runtime_1.exists)(json, 'resolution') ? undefined : (0, Resolution_1.ResolutionFromJSON)(json['resolution']),
40
+ 'close': !(0, runtime_1.exists)(json, 'close') ? undefined : (0, DayMarkData_1.DayMarkDataFromJSON)(json['close']),
41
+ 'tradingTimes': !(0, runtime_1.exists)(json, 'tradingTimes') ? undefined : (0, Tradingtime_1.TradingtimeFromJSON)(json['tradingTimes']),
42
+ 'items': !(0, runtime_1.exists)(json, 'items') ? undefined : (json['items'].map(TimeseriesData_1.TimeseriesDataFromJSON)),
43
+ };
44
+ }
45
+ exports.ChartDataAllOfFromJSONTyped = ChartDataAllOfFromJSONTyped;
46
+ function ChartDataAllOfToJSON(value) {
47
+ if (value === undefined) {
48
+ return undefined;
49
+ }
50
+ if (value === null) {
51
+ return null;
52
+ }
53
+ return {
54
+ 'resolution': (0, Resolution_1.ResolutionToJSON)(value.resolution),
55
+ 'close': (0, DayMarkData_1.DayMarkDataToJSON)(value.close),
56
+ 'tradingTimes': (0, Tradingtime_1.TradingtimeToJSON)(value.tradingTimes),
57
+ 'items': value.items === undefined ? undefined : (value.items.map(TimeseriesData_1.TimeseriesDataToJSON)),
58
+ };
59
+ }
60
+ exports.ChartDataAllOfToJSON = ChartDataAllOfToJSON;
@@ -44,6 +44,7 @@ function OfficialSymbolsFromJSONTyped(json, ignoreDiscriminator) {
44
44
  'gids': !(0, runtime_1.exists)(json, 'gids') ? undefined : json['gids'],
45
45
  'msci': !(0, runtime_1.exists)(json, 'msci') ? undefined : json['msci'],
46
46
  'dji': !(0, runtime_1.exists)(json, 'dji') ? undefined : json['dji'],
47
+ 'baader': !(0, runtime_1.exists)(json, 'baader') ? undefined : json['baader'],
47
48
  'commodity': !(0, runtime_1.exists)(json, 'commodity') ? undefined : json['commodity'],
48
49
  'securityId': !(0, runtime_1.exists)(json, 'securityId') ? undefined : json['securityId'],
49
50
  'aic': !(0, runtime_1.exists)(json, 'aic') ? undefined : json['aic'],
@@ -71,6 +72,7 @@ function OfficialSymbolsToJSON(value) {
71
72
  'gids': value.gids,
72
73
  'msci': value.msci,
73
74
  'dji': value.dji,
75
+ 'baader': value.baader,
74
76
  'commodity': value.commodity,
75
77
  'securityId': value.securityId,
76
78
  'aic': value.aic,
@@ -21,7 +21,9 @@ exports.ResolutionToJSON = exports.ResolutionFromJSONTyped = exports.ResolutionF
21
21
  exports.Resolution = {
22
22
  _1M: '1M',
23
23
  _5M: '5M',
24
+ _10M: '10M',
24
25
  _15M: '15M',
26
+ _60M: '60M',
25
27
  _1H: '1H',
26
28
  _1D: '1D',
27
29
  _1W: '1W',
@@ -15,6 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.TickHistoryDataToJSON = exports.TickHistoryDataFromJSONTyped = exports.TickHistoryDataFromJSON = exports.instanceOfTickHistoryData = void 0;
17
17
  const runtime_1 = require("../runtime");
18
+ const LookupTable_1 = require("./LookupTable");
18
19
  /**
19
20
  * Check if a given object implements the TickHistoryData interface.
20
21
  */
@@ -37,6 +38,7 @@ function TickHistoryDataFromJSONTyped(json, ignoreDiscriminator) {
37
38
  'value': !(0, runtime_1.exists)(json, 'value') ? undefined : json['value'],
38
39
  'quantity': !(0, runtime_1.exists)(json, 'quantity') ? undefined : json['quantity'],
39
40
  'totalResultCount': !(0, runtime_1.exists)(json, 'totalResultCount') ? undefined : json['totalResultCount'],
41
+ 'indicator': !(0, runtime_1.exists)(json, 'indicator') ? undefined : (0, LookupTable_1.LookupTableFromJSON)(json['indicator']),
40
42
  };
41
43
  }
42
44
  exports.TickHistoryDataFromJSONTyped = TickHistoryDataFromJSONTyped;
@@ -53,6 +55,7 @@ function TickHistoryDataToJSON(value) {
53
55
  'value': value.value,
54
56
  'quantity': value.quantity,
55
57
  'totalResultCount': value.totalResultCount,
58
+ 'indicator': (0, LookupTable_1.LookupTableToJSON)(value.indicator),
56
59
  };
57
60
  }
58
61
  exports.TickHistoryDataToJSON = TickHistoryDataToJSON;
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * MDS API
6
+ * 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.
7
+ *
8
+ * The version of the OpenAPI document: 0.4.34
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.WebSocketCommandListChartsToJSON = exports.WebSocketCommandListChartsFromJSONTyped = exports.WebSocketCommandListChartsFromJSON = exports.instanceOfWebSocketCommandListCharts = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ const Quality_1 = require("./Quality");
19
+ const Resolution_1 = require("./Resolution");
20
+ /**
21
+ * Check if a given object implements the WebSocketCommandListCharts interface.
22
+ */
23
+ function instanceOfWebSocketCommandListCharts(value) {
24
+ let isInstance = true;
25
+ return isInstance;
26
+ }
27
+ exports.instanceOfWebSocketCommandListCharts = instanceOfWebSocketCommandListCharts;
28
+ function WebSocketCommandListChartsFromJSON(json) {
29
+ return WebSocketCommandListChartsFromJSONTyped(json, false);
30
+ }
31
+ exports.WebSocketCommandListChartsFromJSON = WebSocketCommandListChartsFromJSON;
32
+ function WebSocketCommandListChartsFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'marketstateId': !(0, runtime_1.exists)(json, 'marketstateId') ? undefined : json['marketstateId'],
38
+ 'instrumentId': !(0, runtime_1.exists)(json, 'instrumentId') ? undefined : json['instrumentId'],
39
+ 'sourceId': !(0, runtime_1.exists)(json, 'sourceId') ? undefined : json['sourceId'],
40
+ 'sourcePriority': !(0, runtime_1.exists)(json, 'sourcePriority') ? undefined : json['sourcePriority'],
41
+ 'quality': !(0, runtime_1.exists)(json, 'quality') ? undefined : (0, Quality_1.QualityFromJSON)(json['quality']),
42
+ 'cleanSplits': !(0, runtime_1.exists)(json, 'cleanSplits') ? undefined : json['cleanSplits'],
43
+ 'cleanDividends': !(0, runtime_1.exists)(json, 'cleanDividends') ? undefined : json['cleanDividends'],
44
+ 'cleanDistributions': !(0, runtime_1.exists)(json, 'cleanDistributions') ? undefined : json['cleanDistributions'],
45
+ 'cleanSubscriptions': !(0, runtime_1.exists)(json, 'cleanSubscriptions') ? undefined : json['cleanSubscriptions'],
46
+ 'start': !(0, runtime_1.exists)(json, 'start') ? undefined : json['start'],
47
+ 'end': !(0, runtime_1.exists)(json, 'end') ? undefined : json['end'],
48
+ 'resolution': !(0, runtime_1.exists)(json, 'resolution') ? undefined : (0, Resolution_1.ResolutionFromJSON)(json['resolution']),
49
+ };
50
+ }
51
+ exports.WebSocketCommandListChartsFromJSONTyped = WebSocketCommandListChartsFromJSONTyped;
52
+ function WebSocketCommandListChartsToJSON(value) {
53
+ if (value === undefined) {
54
+ return undefined;
55
+ }
56
+ if (value === null) {
57
+ return null;
58
+ }
59
+ return {
60
+ 'marketstateId': value.marketstateId,
61
+ 'instrumentId': value.instrumentId,
62
+ 'sourceId': value.sourceId,
63
+ 'sourcePriority': value.sourcePriority,
64
+ 'quality': (0, Quality_1.QualityToJSON)(value.quality),
65
+ 'cleanSplits': value.cleanSplits,
66
+ 'cleanDividends': value.cleanDividends,
67
+ 'cleanDistributions': value.cleanDistributions,
68
+ 'cleanSubscriptions': value.cleanSubscriptions,
69
+ 'start': value.start,
70
+ 'end': value.end,
71
+ 'resolution': (0, Resolution_1.ResolutionToJSON)(value.resolution),
72
+ };
73
+ }
74
+ exports.WebSocketCommandListChartsToJSON = WebSocketCommandListChartsToJSON;
@@ -39,7 +39,7 @@ function WebSocketCommandListTickHistoryFromJSONTyped(json, ignoreDiscriminator)
39
39
  'limit': !(0, runtime_1.exists)(json, 'limit') ? undefined : json['limit'],
40
40
  'start': !(0, runtime_1.exists)(json, 'start') ? undefined : json['start'],
41
41
  'end': !(0, runtime_1.exists)(json, 'end') ? undefined : json['end'],
42
- 'hasVolume': !(0, runtime_1.exists)(json, 'hasVolume') ? undefined : json['hasVolume'],
42
+ 'filterByVolume': !(0, runtime_1.exists)(json, 'filterByVolume') ? undefined : json['filterByVolume'],
43
43
  };
44
44
  }
45
45
  exports.WebSocketCommandListTickHistoryFromJSONTyped = WebSocketCommandListTickHistoryFromJSONTyped;
@@ -57,7 +57,7 @@ function WebSocketCommandListTickHistoryToJSON(value) {
57
57
  'limit': value.limit,
58
58
  'start': value.start,
59
59
  'end': value.end,
60
- 'hasVolume': value.hasVolume,
60
+ 'filterByVolume': value.filterByVolume,
61
61
  };
62
62
  }
63
63
  exports.WebSocketCommandListTickHistoryToJSON = WebSocketCommandListTickHistoryToJSON;
@@ -18,6 +18,7 @@ const runtime_1 = require("../runtime");
18
18
  const AfuCompanyProfile_1 = require("./AfuCompanyProfile");
19
19
  const AuthenticationState_1 = require("./AuthenticationState");
20
20
  const BidAskHistoryData_1 = require("./BidAskHistoryData");
21
+ const ChartData_1 = require("./ChartData");
21
22
  const ListingdataWithIdAndQuality_1 = require("./ListingdataWithIdAndQuality");
22
23
  const MarketdepthWithId_1 = require("./MarketdepthWithId");
23
24
  const MarketstateResponseSearch_1 = require("./MarketstateResponseSearch");
@@ -68,6 +69,7 @@ function WebSocketMessageFromJSONTyped(json, ignoreDiscriminator) {
68
69
  'dataTradingtimeAnalysis': !(0, runtime_1.exists)(json, 'dataTradingtimeAnalysis') ? undefined : (0, TradingtimeInfoReply_1.TradingtimeInfoReplyFromJSON)(json['dataTradingtimeAnalysis']),
69
70
  'dataMarketdepth': !(0, runtime_1.exists)(json, 'dataMarketdepth') ? undefined : (0, MarketdepthWithId_1.MarketdepthWithIdFromJSON)(json['dataMarketdepth']),
70
71
  'dataTimeseries': !(0, runtime_1.exists)(json, 'dataTimeseries') ? undefined : (0, TimeseriesData_1.TimeseriesDataFromJSON)(json['dataTimeseries']),
72
+ 'dataCharts': !(0, runtime_1.exists)(json, 'dataCharts') ? undefined : (0, ChartData_1.ChartDataFromJSON)(json['dataCharts']),
71
73
  'dataTickHistory': !(0, runtime_1.exists)(json, 'dataTickHistory') ? undefined : (0, TickHistoryData_1.TickHistoryDataFromJSON)(json['dataTickHistory']),
72
74
  'dataBidAskHistory': !(0, runtime_1.exists)(json, 'dataBidAskHistory') ? undefined : (0, BidAskHistoryData_1.BidAskHistoryDataFromJSON)(json['dataBidAskHistory']),
73
75
  'dataPerformance': !(0, runtime_1.exists)(json, 'dataPerformance') ? undefined : (0, PerformanceDataForTimeRange_1.PerformanceDataForTimeRangeFromJSON)(json['dataPerformance']),
@@ -104,6 +106,7 @@ function WebSocketMessageToJSON(value) {
104
106
  'dataTradingtimeAnalysis': (0, TradingtimeInfoReply_1.TradingtimeInfoReplyToJSON)(value.dataTradingtimeAnalysis),
105
107
  'dataMarketdepth': (0, MarketdepthWithId_1.MarketdepthWithIdToJSON)(value.dataMarketdepth),
106
108
  'dataTimeseries': (0, TimeseriesData_1.TimeseriesDataToJSON)(value.dataTimeseries),
109
+ 'dataCharts': (0, ChartData_1.ChartDataToJSON)(value.dataCharts),
107
110
  'dataTickHistory': (0, TickHistoryData_1.TickHistoryDataToJSON)(value.dataTickHistory),
108
111
  'dataBidAskHistory': (0, BidAskHistoryData_1.BidAskHistoryDataToJSON)(value.dataBidAskHistory),
109
112
  'dataPerformance': (0, PerformanceDataForTimeRange_1.PerformanceDataForTimeRangeToJSON)(value.dataPerformance),
@@ -26,6 +26,7 @@ const WebSocketCommandGetTradingtime_1 = require("./WebSocketCommandGetTradingti
26
26
  const WebSocketCommandGetTradingtimeAnalysis_1 = require("./WebSocketCommandGetTradingtimeAnalysis");
27
27
  const WebSocketCommandHeartbeat_1 = require("./WebSocketCommandHeartbeat");
28
28
  const WebSocketCommandListBidAskHistory_1 = require("./WebSocketCommandListBidAskHistory");
29
+ const WebSocketCommandListCharts_1 = require("./WebSocketCommandListCharts");
29
30
  const WebSocketCommandListInstrumentListings_1 = require("./WebSocketCommandListInstrumentListings");
30
31
  const WebSocketCommandListMarketstates_1 = require("./WebSocketCommandListMarketstates");
31
32
  const WebSocketCommandListPerformance_1 = require("./WebSocketCommandListPerformance");
@@ -66,6 +67,7 @@ function WebSocketRequestFromJSONTyped(json, ignoreDiscriminator) {
66
67
  'listBidAskHistory': !(0, runtime_1.exists)(json, 'listBidAskHistory') ? undefined : (0, WebSocketCommandListBidAskHistory_1.WebSocketCommandListBidAskHistoryFromJSON)(json['listBidAskHistory']),
67
68
  'listInstrumentListings': !(0, runtime_1.exists)(json, 'listInstrumentListings') ? undefined : (0, WebSocketCommandListInstrumentListings_1.WebSocketCommandListInstrumentListingsFromJSON)(json['listInstrumentListings']),
68
69
  'listTimeseries': !(0, runtime_1.exists)(json, 'listTimeseries') ? undefined : (0, WebSocketCommandListTimeseries_1.WebSocketCommandListTimeseriesFromJSON)(json['listTimeseries']),
70
+ 'listCharts': !(0, runtime_1.exists)(json, 'listCharts') ? undefined : (0, WebSocketCommandListCharts_1.WebSocketCommandListChartsFromJSON)(json['listCharts']),
69
71
  'listTickHistory': !(0, runtime_1.exists)(json, 'listTickHistory') ? undefined : (0, WebSocketCommandListTickHistory_1.WebSocketCommandListTickHistoryFromJSON)(json['listTickHistory']),
70
72
  'listMarketstates': !(0, runtime_1.exists)(json, 'listMarketstates') ? undefined : (0, WebSocketCommandListMarketstates_1.WebSocketCommandListMarketstatesFromJSON)(json['listMarketstates']),
71
73
  'subscribeTimeseries': !(0, runtime_1.exists)(json, 'subscribeTimeseries') ? undefined : (0, WebSocketCommandSubscribeTimeseries_1.WebSocketCommandSubscribeTimeseriesFromJSON)(json['subscribeTimeseries']),
@@ -102,6 +104,7 @@ function WebSocketRequestToJSON(value) {
102
104
  'listBidAskHistory': (0, WebSocketCommandListBidAskHistory_1.WebSocketCommandListBidAskHistoryToJSON)(value.listBidAskHistory),
103
105
  'listInstrumentListings': (0, WebSocketCommandListInstrumentListings_1.WebSocketCommandListInstrumentListingsToJSON)(value.listInstrumentListings),
104
106
  'listTimeseries': (0, WebSocketCommandListTimeseries_1.WebSocketCommandListTimeseriesToJSON)(value.listTimeseries),
107
+ 'listCharts': (0, WebSocketCommandListCharts_1.WebSocketCommandListChartsToJSON)(value.listCharts),
105
108
  'listTickHistory': (0, WebSocketCommandListTickHistory_1.WebSocketCommandListTickHistoryToJSON)(value.listTickHistory),
106
109
  'listMarketstates': (0, WebSocketCommandListMarketstates_1.WebSocketCommandListMarketstatesToJSON)(value.listMarketstates),
107
110
  'subscribeTimeseries': (0, WebSocketCommandSubscribeTimeseries_1.WebSocketCommandSubscribeTimeseriesToJSON)(value.subscribeTimeseries),
@@ -63,6 +63,8 @@ __exportStar(require("./BidAskHistoryData"), exports);
63
63
  __exportStar(require("./BidAskTimeseries"), exports);
64
64
  __exportStar(require("./BidAskTimeseriesAllOf"), exports);
65
65
  __exportStar(require("./BidAskTimeseriesItem"), exports);
66
+ __exportStar(require("./ChartData"), exports);
67
+ __exportStar(require("./ChartDataAllOf"), exports);
66
68
  __exportStar(require("./ContinuationToken"), exports);
67
69
  __exportStar(require("./DayMarkData"), exports);
68
70
  __exportStar(require("./DayMarkDataEod"), exports);
@@ -174,6 +176,7 @@ __exportStar(require("./WebSocketCommandGetTradingtime"), exports);
174
176
  __exportStar(require("./WebSocketCommandGetTradingtimeAnalysis"), exports);
175
177
  __exportStar(require("./WebSocketCommandHeartbeat"), exports);
176
178
  __exportStar(require("./WebSocketCommandListBidAskHistory"), exports);
179
+ __exportStar(require("./WebSocketCommandListCharts"), exports);
177
180
  __exportStar(require("./WebSocketCommandListInstrumentListings"), exports);
178
181
  __exportStar(require("./WebSocketCommandListMarketstates"), exports);
179
182
  __exportStar(require("./WebSocketCommandListPerformance"), exports);
@@ -282,13 +282,13 @@ export class MdsConnection {
282
282
  /**
283
283
  * Returns the tick history for the specified Instrument on the Source.
284
284
  */
285
- tickHistory(marketstateId, start, end, hasVolume, quality, offset, limit) {
285
+ tickHistory(marketstateId, start, end, filterByVolume, quality, offset, limit) {
286
286
  return this.observable({
287
287
  listTickHistory: {
288
288
  marketstateId: marketstateId,
289
289
  start: start instanceof Date ? start?.toISOString() : start,
290
290
  end: end instanceof Date ? end?.toISOString() : end,
291
- hasVolume: hasVolume,
291
+ filterByVolume: filterByVolume,
292
292
  quality: quality,
293
293
  offset: offset,
294
294
  limit: limit
@@ -0,0 +1,63 @@
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 { DayMarkDataFromJSON, DayMarkDataToJSON, } from './DayMarkData';
16
+ import { ResolutionFromJSON, ResolutionToJSON, } from './Resolution';
17
+ import { TimeseriesDataFromJSON, TimeseriesDataToJSON, } from './TimeseriesData';
18
+ import { TradingtimeFromJSON, TradingtimeToJSON, } from './Tradingtime';
19
+ /**
20
+ * Check if a given object implements the ChartData interface.
21
+ */
22
+ export function instanceOfChartData(value) {
23
+ let isInstance = true;
24
+ return isInstance;
25
+ }
26
+ export function ChartDataFromJSON(json) {
27
+ return ChartDataFromJSONTyped(json, false);
28
+ }
29
+ export function ChartDataFromJSONTyped(json, ignoreDiscriminator) {
30
+ if ((json === undefined) || (json === null)) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'marketstateId': !exists(json, 'marketstateId') ? undefined : json['marketstateId'],
35
+ 'instrumentId': !exists(json, 'instrumentId') ? undefined : json['instrumentId'],
36
+ 'sourceId': !exists(json, 'sourceId') ? undefined : json['sourceId'],
37
+ 'currency': !exists(json, 'currency') ? undefined : json['currency'],
38
+ 'listingVariant': !exists(json, 'listingVariant') ? undefined : json['listingVariant'],
39
+ 'resolution': !exists(json, 'resolution') ? undefined : ResolutionFromJSON(json['resolution']),
40
+ 'close': !exists(json, 'close') ? undefined : DayMarkDataFromJSON(json['close']),
41
+ 'tradingTimes': !exists(json, 'tradingTimes') ? undefined : TradingtimeFromJSON(json['tradingTimes']),
42
+ 'items': !exists(json, 'items') ? undefined : (json['items'].map(TimeseriesDataFromJSON)),
43
+ };
44
+ }
45
+ export function ChartDataToJSON(value) {
46
+ if (value === undefined) {
47
+ return undefined;
48
+ }
49
+ if (value === null) {
50
+ return null;
51
+ }
52
+ return {
53
+ 'marketstateId': value.marketstateId,
54
+ 'instrumentId': value.instrumentId,
55
+ 'sourceId': value.sourceId,
56
+ 'currency': value.currency,
57
+ 'listingVariant': value.listingVariant,
58
+ 'resolution': ResolutionToJSON(value.resolution),
59
+ 'close': DayMarkDataToJSON(value.close),
60
+ 'tradingTimes': TradingtimeToJSON(value.tradingTimes),
61
+ 'items': value.items === undefined ? undefined : (value.items.map(TimeseriesDataToJSON)),
62
+ };
63
+ }
@@ -0,0 +1,53 @@
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 { DayMarkDataFromJSON, DayMarkDataToJSON, } from './DayMarkData';
16
+ import { ResolutionFromJSON, ResolutionToJSON, } from './Resolution';
17
+ import { TimeseriesDataFromJSON, TimeseriesDataToJSON, } from './TimeseriesData';
18
+ import { TradingtimeFromJSON, TradingtimeToJSON, } from './Tradingtime';
19
+ /**
20
+ * Check if a given object implements the ChartDataAllOf interface.
21
+ */
22
+ export function instanceOfChartDataAllOf(value) {
23
+ let isInstance = true;
24
+ return isInstance;
25
+ }
26
+ export function ChartDataAllOfFromJSON(json) {
27
+ return ChartDataAllOfFromJSONTyped(json, false);
28
+ }
29
+ export function ChartDataAllOfFromJSONTyped(json, ignoreDiscriminator) {
30
+ if ((json === undefined) || (json === null)) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'resolution': !exists(json, 'resolution') ? undefined : ResolutionFromJSON(json['resolution']),
35
+ 'close': !exists(json, 'close') ? undefined : DayMarkDataFromJSON(json['close']),
36
+ 'tradingTimes': !exists(json, 'tradingTimes') ? undefined : TradingtimeFromJSON(json['tradingTimes']),
37
+ 'items': !exists(json, 'items') ? undefined : (json['items'].map(TimeseriesDataFromJSON)),
38
+ };
39
+ }
40
+ export function ChartDataAllOfToJSON(value) {
41
+ if (value === undefined) {
42
+ return undefined;
43
+ }
44
+ if (value === null) {
45
+ return null;
46
+ }
47
+ return {
48
+ 'resolution': ResolutionToJSON(value.resolution),
49
+ 'close': DayMarkDataToJSON(value.close),
50
+ 'tradingTimes': TradingtimeToJSON(value.tradingTimes),
51
+ 'items': value.items === undefined ? undefined : (value.items.map(TimeseriesDataToJSON)),
52
+ };
53
+ }
@@ -39,6 +39,7 @@ export function OfficialSymbolsFromJSONTyped(json, ignoreDiscriminator) {
39
39
  'gids': !exists(json, 'gids') ? undefined : json['gids'],
40
40
  'msci': !exists(json, 'msci') ? undefined : json['msci'],
41
41
  'dji': !exists(json, 'dji') ? undefined : json['dji'],
42
+ 'baader': !exists(json, 'baader') ? undefined : json['baader'],
42
43
  'commodity': !exists(json, 'commodity') ? undefined : json['commodity'],
43
44
  'securityId': !exists(json, 'securityId') ? undefined : json['securityId'],
44
45
  'aic': !exists(json, 'aic') ? undefined : json['aic'],
@@ -65,6 +66,7 @@ export function OfficialSymbolsToJSON(value) {
65
66
  'gids': value.gids,
66
67
  'msci': value.msci,
67
68
  'dji': value.dji,
69
+ 'baader': value.baader,
68
70
  'commodity': value.commodity,
69
71
  'securityId': value.securityId,
70
72
  'aic': value.aic,
@@ -18,7 +18,9 @@
18
18
  export const Resolution = {
19
19
  _1M: '1M',
20
20
  _5M: '5M',
21
+ _10M: '10M',
21
22
  _15M: '15M',
23
+ _60M: '60M',
22
24
  _1H: '1H',
23
25
  _1D: '1D',
24
26
  _1W: '1W',
@@ -12,6 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { exists } from '../runtime';
15
+ import { LookupTableFromJSON, LookupTableToJSON, } from './LookupTable';
15
16
  /**
16
17
  * Check if a given object implements the TickHistoryData interface.
17
18
  */
@@ -32,6 +33,7 @@ export function TickHistoryDataFromJSONTyped(json, ignoreDiscriminator) {
32
33
  'value': !exists(json, 'value') ? undefined : json['value'],
33
34
  'quantity': !exists(json, 'quantity') ? undefined : json['quantity'],
34
35
  'totalResultCount': !exists(json, 'totalResultCount') ? undefined : json['totalResultCount'],
36
+ 'indicator': !exists(json, 'indicator') ? undefined : LookupTableFromJSON(json['indicator']),
35
37
  };
36
38
  }
37
39
  export function TickHistoryDataToJSON(value) {
@@ -47,5 +49,6 @@ export function TickHistoryDataToJSON(value) {
47
49
  'value': value.value,
48
50
  'quantity': value.quantity,
49
51
  'totalResultCount': value.totalResultCount,
52
+ 'indicator': LookupTableToJSON(value.indicator),
50
53
  };
51
54
  }