@ariva-mds/mds 2.62.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.
- package/lib/cjs/models/FiscalYearValue.js +52 -0
- package/lib/cjs/models/FiscalYearValueAllOf.js +52 -0
- package/lib/cjs/models/FwwTimeseriesGet200ResponseInner.js +53 -0
- package/lib/cjs/models/FwwTimeseriesGet200ResponseInnerMeta.js +54 -0
- package/lib/cjs/models/FwwTimeseriesGet200ResponseInnerTsInnerInner.js +44 -0
- package/lib/cjs/models/GeneralInformationInstrumentChangesGet200Response.js +51 -0
- package/lib/cjs/models/InstrumentChangeData.js +54 -0
- package/lib/cjs/models/InstrumentsGet200Response.js +0 -2
- package/lib/cjs/models/KpiData.js +145 -110
- package/lib/cjs/models/KpiDataAllOf.js +145 -110
- package/lib/cjs/models/MovingAverage.js +53 -0
- package/lib/cjs/models/MovingAverageAllOf.js +53 -0
- package/lib/cjs/models/OfficialSymbols.js +2 -0
- package/lib/cjs/models/Oscillator.js +64 -0
- package/lib/cjs/models/OscillatorAllOf.js +64 -0
- package/lib/cjs/models/Resolution.js +2 -0
- package/lib/cjs/models/WebSocketCommandListMasterdata.js +50 -0
- package/lib/cjs/models/WebSocketRequest.js +3 -0
- package/lib/cjs/models/index.js +12 -1
- package/lib/esm/models/FiscalYearValue.js +45 -0
- package/lib/esm/models/FiscalYearValueAllOf.js +45 -0
- package/lib/esm/models/FwwTimeseriesGet200ResponseInner.js +46 -0
- package/lib/esm/models/FwwTimeseriesGet200ResponseInnerMeta.js +47 -0
- package/lib/esm/models/FwwTimeseriesGet200ResponseInnerTsInnerInner.js +38 -0
- package/lib/esm/models/GeneralInformationInstrumentChangesGet200Response.js +44 -0
- package/lib/esm/models/InstrumentChangeData.js +47 -0
- package/lib/esm/models/InstrumentsGet200Response.js +0 -2
- package/lib/esm/models/KpiData.js +145 -110
- package/lib/esm/models/KpiDataAllOf.js +145 -110
- package/lib/esm/models/MovingAverage.js +46 -0
- package/lib/esm/models/MovingAverageAllOf.js +46 -0
- package/lib/esm/models/OfficialSymbols.js +2 -0
- package/lib/esm/models/Oscillator.js +57 -0
- package/lib/esm/models/OscillatorAllOf.js +57 -0
- package/lib/esm/models/Resolution.js +2 -0
- package/lib/esm/models/WebSocketCommandListMasterdata.js +43 -0
- package/lib/esm/models/WebSocketRequest.js +3 -0
- package/lib/esm/models/index.js +12 -1
- package/lib/types/models/FiscalYearValue.d.ts +38 -0
- package/lib/types/models/FiscalYearValue.d.ts.map +1 -0
- package/lib/types/models/FiscalYearValueAllOf.d.ts +38 -0
- package/lib/types/models/FiscalYearValueAllOf.d.ts.map +1 -0
- package/lib/types/models/FwwTimeseriesGet200ResponseInner.d.ts +40 -0
- package/lib/types/models/FwwTimeseriesGet200ResponseInner.d.ts.map +1 -0
- package/lib/types/models/FwwTimeseriesGet200ResponseInnerMeta.d.ts +44 -0
- package/lib/types/models/FwwTimeseriesGet200ResponseInnerMeta.d.ts.map +1 -0
- package/lib/types/models/FwwTimeseriesGet200ResponseInnerTsInnerInner.d.ts +21 -0
- package/lib/types/models/FwwTimeseriesGet200ResponseInnerTsInnerInner.d.ts.map +1 -0
- package/lib/types/models/GeneralInformationInstrumentChangesGet200Response.d.ts +33 -0
- package/lib/types/models/GeneralInformationInstrumentChangesGet200Response.d.ts.map +1 -0
- package/lib/types/models/InstrumentChangeData.d.ts +44 -0
- package/lib/types/models/InstrumentChangeData.d.ts.map +1 -0
- package/lib/types/models/InstrumentsGet200Response.d.ts +0 -6
- package/lib/types/models/InstrumentsGet200Response.d.ts.map +1 -1
- package/lib/types/models/KpiData.d.ts +224 -125
- package/lib/types/models/KpiData.d.ts.map +1 -1
- package/lib/types/models/KpiDataAllOf.d.ts +224 -125
- package/lib/types/models/KpiDataAllOf.d.ts.map +1 -1
- package/lib/types/models/MovingAverage.d.ts +39 -0
- package/lib/types/models/MovingAverage.d.ts.map +1 -0
- package/lib/types/models/MovingAverageAllOf.d.ts +39 -0
- package/lib/types/models/MovingAverageAllOf.d.ts.map +1 -0
- package/lib/types/models/OfficialSymbols.d.ts +6 -0
- package/lib/types/models/OfficialSymbols.d.ts.map +1 -1
- package/lib/types/models/Oscillator.d.ts +51 -0
- package/lib/types/models/Oscillator.d.ts.map +1 -0
- package/lib/types/models/OscillatorAllOf.d.ts +51 -0
- package/lib/types/models/OscillatorAllOf.d.ts.map +1 -0
- package/lib/types/models/Resolution.d.ts +2 -0
- package/lib/types/models/Resolution.d.ts.map +1 -1
- package/lib/types/models/WebSocketCommandListMasterdata.d.ts +32 -0
- package/lib/types/models/WebSocketCommandListMasterdata.d.ts.map +1 -0
- package/lib/types/models/WebSocketRequest.d.ts +7 -0
- package/lib/types/models/WebSocketRequest.d.ts.map +1 -1
- package/lib/types/models/index.d.ts +12 -1
- package/lib/types/models/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,50 @@
|
|
|
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.WebSocketCommandListMasterdataToJSON = exports.WebSocketCommandListMasterdataFromJSONTyped = exports.WebSocketCommandListMasterdataFromJSON = exports.instanceOfWebSocketCommandListMasterdata = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the WebSocketCommandListMasterdata interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfWebSocketCommandListMasterdata(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfWebSocketCommandListMasterdata = instanceOfWebSocketCommandListMasterdata;
|
|
26
|
+
function WebSocketCommandListMasterdataFromJSON(json) {
|
|
27
|
+
return WebSocketCommandListMasterdataFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.WebSocketCommandListMasterdataFromJSON = WebSocketCommandListMasterdataFromJSON;
|
|
30
|
+
function WebSocketCommandListMasterdataFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'instrumentIds': !(0, runtime_1.exists)(json, 'instrumentIds') ? undefined : json['instrumentIds'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.WebSocketCommandListMasterdataFromJSONTyped = WebSocketCommandListMasterdataFromJSONTyped;
|
|
39
|
+
function WebSocketCommandListMasterdataToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'instrumentIds': value.instrumentIds,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.WebSocketCommandListMasterdataToJSON = WebSocketCommandListMasterdataToJSON;
|
|
@@ -30,6 +30,7 @@ const WebSocketCommandListBidAskHistory_1 = require("./WebSocketCommandListBidAs
|
|
|
30
30
|
const WebSocketCommandListCharts_1 = require("./WebSocketCommandListCharts");
|
|
31
31
|
const WebSocketCommandListInstrumentListings_1 = require("./WebSocketCommandListInstrumentListings");
|
|
32
32
|
const WebSocketCommandListMarketstates_1 = require("./WebSocketCommandListMarketstates");
|
|
33
|
+
const WebSocketCommandListMasterdata_1 = require("./WebSocketCommandListMasterdata");
|
|
33
34
|
const WebSocketCommandListPerformance_1 = require("./WebSocketCommandListPerformance");
|
|
34
35
|
const WebSocketCommandListTickHistory_1 = require("./WebSocketCommandListTickHistory");
|
|
35
36
|
const WebSocketCommandListTimeseries_1 = require("./WebSocketCommandListTimeseries");
|
|
@@ -74,6 +75,7 @@ function WebSocketRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
74
75
|
'listCharts': !(0, runtime_1.exists)(json, 'listCharts') ? undefined : (0, WebSocketCommandListCharts_1.WebSocketCommandListChartsFromJSON)(json['listCharts']),
|
|
75
76
|
'listTickHistory': !(0, runtime_1.exists)(json, 'listTickHistory') ? undefined : (0, WebSocketCommandListTickHistory_1.WebSocketCommandListTickHistoryFromJSON)(json['listTickHistory']),
|
|
76
77
|
'listMarketstates': !(0, runtime_1.exists)(json, 'listMarketstates') ? undefined : (0, WebSocketCommandListMarketstates_1.WebSocketCommandListMarketstatesFromJSON)(json['listMarketstates']),
|
|
78
|
+
'listMasterdata': !(0, runtime_1.exists)(json, 'listMasterdata') ? undefined : (0, WebSocketCommandListMasterdata_1.WebSocketCommandListMasterdataFromJSON)(json['listMasterdata']),
|
|
77
79
|
'subscribeTimeseries': !(0, runtime_1.exists)(json, 'subscribeTimeseries') ? undefined : (0, WebSocketCommandSubscribeTimeseries_1.WebSocketCommandSubscribeTimeseriesFromJSON)(json['subscribeTimeseries']),
|
|
78
80
|
'subscribeTimeseriesBidAsk': !(0, runtime_1.exists)(json, 'subscribeTimeseriesBidAsk') ? undefined : (0, WebSocketCommandSubscribeTimeseriesBidAsk_1.WebSocketCommandSubscribeTimeseriesBidAskFromJSON)(json['subscribeTimeseriesBidAsk']),
|
|
79
81
|
'getInstrumentMasterdata': !(0, runtime_1.exists)(json, 'getInstrumentMasterdata') ? undefined : (0, WebSocketCommandGetInstrumentMasterdata_1.WebSocketCommandGetInstrumentMasterdataFromJSON)(json['getInstrumentMasterdata']),
|
|
@@ -114,6 +116,7 @@ function WebSocketRequestToJSON(value) {
|
|
|
114
116
|
'listCharts': (0, WebSocketCommandListCharts_1.WebSocketCommandListChartsToJSON)(value.listCharts),
|
|
115
117
|
'listTickHistory': (0, WebSocketCommandListTickHistory_1.WebSocketCommandListTickHistoryToJSON)(value.listTickHistory),
|
|
116
118
|
'listMarketstates': (0, WebSocketCommandListMarketstates_1.WebSocketCommandListMarketstatesToJSON)(value.listMarketstates),
|
|
119
|
+
'listMasterdata': (0, WebSocketCommandListMasterdata_1.WebSocketCommandListMasterdataToJSON)(value.listMasterdata),
|
|
117
120
|
'subscribeTimeseries': (0, WebSocketCommandSubscribeTimeseries_1.WebSocketCommandSubscribeTimeseriesToJSON)(value.subscribeTimeseries),
|
|
118
121
|
'subscribeTimeseriesBidAsk': (0, WebSocketCommandSubscribeTimeseriesBidAsk_1.WebSocketCommandSubscribeTimeseriesBidAskToJSON)(value.subscribeTimeseriesBidAsk),
|
|
119
122
|
'getInstrumentMasterdata': (0, WebSocketCommandGetInstrumentMasterdata_1.WebSocketCommandGetInstrumentMasterdataToJSON)(value.getInstrumentMasterdata),
|
package/lib/cjs/models/index.js
CHANGED
|
@@ -77,10 +77,16 @@ __exportStar(require("./FeedsFwwFundsInitialLoadGet200Response"), exports);
|
|
|
77
77
|
__exportStar(require("./FeedsListingsSourceIdInitialLoadGet200Response"), exports);
|
|
78
78
|
__exportStar(require("./FeedsMarketstatesSourceIdInitialLoadGet200Response"), exports);
|
|
79
79
|
__exportStar(require("./FeedsMasterdataInitialLoadGet200Response"), exports);
|
|
80
|
+
__exportStar(require("./FiscalYearValue"), exports);
|
|
81
|
+
__exportStar(require("./FiscalYearValueAllOf"), exports);
|
|
82
|
+
__exportStar(require("./FwwTimeseriesGet200ResponseInner"), exports);
|
|
83
|
+
__exportStar(require("./FwwTimeseriesGet200ResponseInnerMeta"), exports);
|
|
84
|
+
__exportStar(require("./FwwTimeseriesGet200ResponseInnerTsInnerInner"), exports);
|
|
85
|
+
__exportStar(require("./GeneralInformationInstrumentChangesGet200Response"), exports);
|
|
80
86
|
__exportStar(require("./IdFieldsInstrument"), exports);
|
|
81
87
|
__exportStar(require("./IdFieldsListing"), exports);
|
|
88
|
+
__exportStar(require("./InstrumentChangeData"), exports);
|
|
82
89
|
__exportStar(require("./InstrumentsGet200Response"), exports);
|
|
83
|
-
__exportStar(require("./InstrumentsGet200Response1"), exports);
|
|
84
90
|
__exportStar(require("./InstrumentsInstrumentIdAfuCompanyGet200Response"), exports);
|
|
85
91
|
__exportStar(require("./InstrumentsInstrumentIdFwwFundsGet200Response"), exports);
|
|
86
92
|
__exportStar(require("./InstrumentsInstrumentIdListingsGet200Response"), exports);
|
|
@@ -122,12 +128,16 @@ __exportStar(require("./MasterdataEntryFromSourceAllOf"), exports);
|
|
|
122
128
|
__exportStar(require("./MasterdataMergedSummaryWithId"), exports);
|
|
123
129
|
__exportStar(require("./MasterdataMergedSummaryWithIdAllOf"), exports);
|
|
124
130
|
__exportStar(require("./MasterdataSummaryWithId"), exports);
|
|
131
|
+
__exportStar(require("./MovingAverage"), exports);
|
|
132
|
+
__exportStar(require("./MovingAverageAllOf"), exports);
|
|
125
133
|
__exportStar(require("./OfficialSymbols"), exports);
|
|
126
134
|
__exportStar(require("./OfficialSymbolsCrypto"), exports);
|
|
127
135
|
__exportStar(require("./OfficialSymbolsCurrency"), exports);
|
|
128
136
|
__exportStar(require("./OfficialSymbolsEurexFuture"), exports);
|
|
129
137
|
__exportStar(require("./OfficialSymbolsEurexOption"), exports);
|
|
130
138
|
__exportStar(require("./OrderBookVariant"), exports);
|
|
139
|
+
__exportStar(require("./Oscillator"), exports);
|
|
140
|
+
__exportStar(require("./OscillatorAllOf"), exports);
|
|
131
141
|
__exportStar(require("./Performance"), exports);
|
|
132
142
|
__exportStar(require("./PerformanceData"), exports);
|
|
133
143
|
__exportStar(require("./PerformanceDataAllOf"), exports);
|
|
@@ -185,6 +195,7 @@ __exportStar(require("./WebSocketCommandListBidAskHistory"), exports);
|
|
|
185
195
|
__exportStar(require("./WebSocketCommandListCharts"), exports);
|
|
186
196
|
__exportStar(require("./WebSocketCommandListInstrumentListings"), exports);
|
|
187
197
|
__exportStar(require("./WebSocketCommandListMarketstates"), exports);
|
|
198
|
+
__exportStar(require("./WebSocketCommandListMasterdata"), exports);
|
|
188
199
|
__exportStar(require("./WebSocketCommandListPerformance"), exports);
|
|
189
200
|
__exportStar(require("./WebSocketCommandListTickHistory"), exports);
|
|
190
201
|
__exportStar(require("./WebSocketCommandListTimeseries"), exports);
|
|
@@ -0,0 +1,45 @@
|
|
|
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 FiscalYearValue interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfFiscalYearValue(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
return isInstance;
|
|
21
|
+
}
|
|
22
|
+
export function FiscalYearValueFromJSON(json) {
|
|
23
|
+
return FiscalYearValueFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function FiscalYearValueFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if ((json === undefined) || (json === null)) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'value': !exists(json, 'value') ? undefined : json['value'],
|
|
31
|
+
'fiscalYear': !exists(json, 'fiscalYear') ? undefined : json['fiscalYear'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function FiscalYearValueToJSON(value) {
|
|
35
|
+
if (value === undefined) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
if (value === null) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'value': value.value,
|
|
43
|
+
'fiscalYear': value.fiscalYear,
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 FiscalYearValueAllOf interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfFiscalYearValueAllOf(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
return isInstance;
|
|
21
|
+
}
|
|
22
|
+
export function FiscalYearValueAllOfFromJSON(json) {
|
|
23
|
+
return FiscalYearValueAllOfFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function FiscalYearValueAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if ((json === undefined) || (json === null)) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'value': !exists(json, 'value') ? undefined : json['value'],
|
|
31
|
+
'fiscalYear': !exists(json, 'fiscalYear') ? undefined : json['fiscalYear'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function FiscalYearValueAllOfToJSON(value) {
|
|
35
|
+
if (value === undefined) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
if (value === null) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'value': value.value,
|
|
43
|
+
'fiscalYear': value.fiscalYear,
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -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 { FwwTimeseriesGet200ResponseInnerMetaFromJSON, FwwTimeseriesGet200ResponseInnerMetaToJSON, } from './FwwTimeseriesGet200ResponseInnerMeta';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the FwwTimeseriesGet200ResponseInner interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfFwwTimeseriesGet200ResponseInner(value) {
|
|
20
|
+
let isInstance = true;
|
|
21
|
+
return isInstance;
|
|
22
|
+
}
|
|
23
|
+
export function FwwTimeseriesGet200ResponseInnerFromJSON(json) {
|
|
24
|
+
return FwwTimeseriesGet200ResponseInnerFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function FwwTimeseriesGet200ResponseInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if ((json === undefined) || (json === null)) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'meta': !exists(json, 'meta') ? undefined : FwwTimeseriesGet200ResponseInnerMetaFromJSON(json['meta']),
|
|
32
|
+
'ts': !exists(json, 'ts') ? undefined : json['ts'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function FwwTimeseriesGet200ResponseInnerToJSON(value) {
|
|
36
|
+
if (value === undefined) {
|
|
37
|
+
return undefined;
|
|
38
|
+
}
|
|
39
|
+
if (value === null) {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'meta': FwwTimeseriesGet200ResponseInnerMetaToJSON(value.meta),
|
|
44
|
+
'ts': value.ts,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 FwwTimeseriesGet200ResponseInnerMeta interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfFwwTimeseriesGet200ResponseInnerMeta(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
return isInstance;
|
|
21
|
+
}
|
|
22
|
+
export function FwwTimeseriesGet200ResponseInnerMetaFromJSON(json) {
|
|
23
|
+
return FwwTimeseriesGet200ResponseInnerMetaFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function FwwTimeseriesGet200ResponseInnerMetaFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if ((json === undefined) || (json === null)) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
31
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
32
|
+
'currency': !exists(json, 'currency') ? undefined : json['currency'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function FwwTimeseriesGet200ResponseInnerMetaToJSON(value) {
|
|
36
|
+
if (value === undefined) {
|
|
37
|
+
return undefined;
|
|
38
|
+
}
|
|
39
|
+
if (value === null) {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'id': value.id,
|
|
44
|
+
'name': value.name,
|
|
45
|
+
'currency': value.currency,
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
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
|
+
export function FwwTimeseriesGet200ResponseInnerTsInnerInnerFromJSON(json) {
|
|
16
|
+
return FwwTimeseriesGet200ResponseInnerTsInnerInnerFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function FwwTimeseriesGet200ResponseInnerTsInnerInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return { ...numberFromJSONTyped(json, true), ...stringFromJSONTyped(json, true) };
|
|
23
|
+
}
|
|
24
|
+
export function FwwTimeseriesGet200ResponseInnerTsInnerInnerToJSON(value) {
|
|
25
|
+
if (value === undefined) {
|
|
26
|
+
return undefined;
|
|
27
|
+
}
|
|
28
|
+
if (value === null) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
if (instanceOfnumber(value)) {
|
|
32
|
+
return numberToJSON(value);
|
|
33
|
+
}
|
|
34
|
+
if (instanceOfstring(value)) {
|
|
35
|
+
return stringToJSON(value);
|
|
36
|
+
}
|
|
37
|
+
return {};
|
|
38
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 { InstrumentChangeDataFromJSON, InstrumentChangeDataToJSON, } from './InstrumentChangeData';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the GeneralInformationInstrumentChangesGet200Response interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfGeneralInformationInstrumentChangesGet200Response(value) {
|
|
20
|
+
let isInstance = true;
|
|
21
|
+
return isInstance;
|
|
22
|
+
}
|
|
23
|
+
export function GeneralInformationInstrumentChangesGet200ResponseFromJSON(json) {
|
|
24
|
+
return GeneralInformationInstrumentChangesGet200ResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function GeneralInformationInstrumentChangesGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if ((json === undefined) || (json === null)) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'items': !exists(json, 'items') ? undefined : (json['items'].map(InstrumentChangeDataFromJSON)),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function GeneralInformationInstrumentChangesGet200ResponseToJSON(value) {
|
|
35
|
+
if (value === undefined) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
if (value === null) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'items': value.items === undefined ? undefined : (value.items.map(InstrumentChangeDataToJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 InstrumentChangeData interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfInstrumentChangeData(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
return isInstance;
|
|
21
|
+
}
|
|
22
|
+
export function InstrumentChangeDataFromJSON(json) {
|
|
23
|
+
return InstrumentChangeDataFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function InstrumentChangeDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if ((json === undefined) || (json === null)) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'changedAt': !exists(json, 'changedAt') ? undefined : (new Date(json['changedAt'])),
|
|
31
|
+
'instrumentOld': !exists(json, 'instrumentOld') ? undefined : json['instrumentOld'],
|
|
32
|
+
'instrumentNew': !exists(json, 'instrumentNew') ? undefined : json['instrumentNew'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function InstrumentChangeDataToJSON(value) {
|
|
36
|
+
if (value === undefined) {
|
|
37
|
+
return undefined;
|
|
38
|
+
}
|
|
39
|
+
if (value === null) {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'changedAt': value.changedAt === undefined ? undefined : (value.changedAt.toISOString().substr(0, 10)),
|
|
44
|
+
'instrumentOld': value.instrumentOld,
|
|
45
|
+
'instrumentNew': value.instrumentNew,
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -28,7 +28,6 @@ export function InstrumentsGet200ResponseFromJSONTyped(json, ignoreDiscriminator
|
|
|
28
28
|
return json;
|
|
29
29
|
}
|
|
30
30
|
return {
|
|
31
|
-
'lastEventId': !exists(json, 'lastEventId') ? undefined : json['lastEventId'],
|
|
32
31
|
'items': !exists(json, 'items') ? undefined : (json['items'].map(MasterdataMergedSummaryWithIdFromJSON)),
|
|
33
32
|
};
|
|
34
33
|
}
|
|
@@ -40,7 +39,6 @@ export function InstrumentsGet200ResponseToJSON(value) {
|
|
|
40
39
|
return null;
|
|
41
40
|
}
|
|
42
41
|
return {
|
|
43
|
-
'lastEventId': value.lastEventId,
|
|
44
42
|
'items': value.items === undefined ? undefined : (value.items.map(MasterdataMergedSummaryWithIdToJSON)),
|
|
45
43
|
};
|
|
46
44
|
}
|