@ariva-mds/mds 2.59.0 → 2.61.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/api/MdsConnection.js +54 -18
- package/lib/cjs/models/AfuCompanyProfileFinancialStatementLiabilitiesAndEquityEquity.js +2 -0
- package/lib/cjs/models/CorporateAction.js +80 -0
- package/lib/cjs/models/CorporateActions.js +51 -0
- package/lib/cjs/models/KpiData.js +184 -0
- package/lib/cjs/models/KpiDataAllOf.js +174 -0
- package/lib/cjs/models/TimeseriesBidAskData.js +54 -0
- package/lib/cjs/models/TimeseriesData.js +2 -0
- package/lib/cjs/models/WebSocketCommandGetKpi.js +58 -0
- package/lib/cjs/models/WebSocketCommandGetTradingtimeAnalysis.js +37 -0
- package/lib/cjs/models/WebSocketCommandListTimeseriesBidAsk.js +60 -0
- package/lib/cjs/models/WebSocketCommandSubscribeTimeseriesBidAsk.js +60 -0
- package/lib/cjs/models/WebSocketMessage.js +6 -0
- package/lib/cjs/models/WebSocketRequest.js +117 -0
- package/lib/cjs/models/index.js +8 -0
- package/lib/esm/api/MdsConnection.js +55 -19
- package/lib/esm/models/AfuCompanyProfileFinancialStatementLiabilitiesAndEquityEquity.js +2 -0
- package/lib/esm/models/CorporateAction.js +73 -0
- package/lib/esm/models/CorporateActions.js +44 -0
- package/lib/esm/models/KpiData.js +177 -0
- package/lib/esm/models/KpiDataAllOf.js +167 -0
- package/lib/esm/models/TimeseriesBidAskData.js +47 -0
- package/lib/esm/models/TimeseriesData.js +2 -0
- package/lib/esm/models/WebSocketCommandGetKpi.js +51 -0
- package/lib/esm/models/WebSocketCommandGetTradingtimeAnalysis.js +32 -1
- package/lib/esm/models/WebSocketCommandListTimeseriesBidAsk.js +53 -0
- package/lib/esm/models/WebSocketCommandSubscribeTimeseriesBidAsk.js +53 -0
- package/lib/esm/models/WebSocketMessage.js +6 -0
- package/lib/esm/models/WebSocketRequest.js +112 -1
- package/lib/esm/models/index.js +8 -0
- package/lib/types/api/MdsConnection.d.ts +12 -7
- package/lib/types/api/MdsConnection.d.ts.map +1 -1
- package/lib/types/models/AfuCompanyProfileFinancialStatementLiabilitiesAndEquityEquity.d.ts +6 -0
- package/lib/types/models/AfuCompanyProfileFinancialStatementLiabilitiesAndEquityEquity.d.ts.map +1 -1
- package/lib/types/models/CorporateAction.d.ts +99 -0
- package/lib/types/models/CorporateAction.d.ts.map +1 -0
- package/lib/types/models/CorporateActions.d.ts +33 -0
- package/lib/types/models/CorporateActions.d.ts.map +1 -0
- package/lib/types/models/KpiData.d.ts +435 -0
- package/lib/types/models/KpiData.d.ts.map +1 -0
- package/lib/types/models/KpiDataAllOf.d.ts +404 -0
- package/lib/types/models/KpiDataAllOf.d.ts.map +1 -0
- package/lib/types/models/TimeseriesBidAskData.d.ts +44 -0
- package/lib/types/models/TimeseriesBidAskData.d.ts.map +1 -0
- package/lib/types/models/TimeseriesData.d.ts +6 -0
- package/lib/types/models/TimeseriesData.d.ts.map +1 -1
- package/lib/types/models/WebSocketCommandGetKpi.d.ts +56 -0
- package/lib/types/models/WebSocketCommandGetKpi.d.ts.map +1 -0
- package/lib/types/models/WebSocketCommandGetTradingtimeAnalysis.d.ts +7 -0
- package/lib/types/models/WebSocketCommandGetTradingtimeAnalysis.d.ts.map +1 -1
- package/lib/types/models/WebSocketCommandListTimeseriesBidAsk.d.ts +59 -0
- package/lib/types/models/WebSocketCommandListTimeseriesBidAsk.d.ts.map +1 -0
- package/lib/types/models/WebSocketCommandSubscribeTimeseriesBidAsk.d.ts +59 -0
- package/lib/types/models/WebSocketCommandSubscribeTimeseriesBidAsk.d.ts.map +1 -0
- package/lib/types/models/WebSocketMessage.d.ts +14 -0
- package/lib/types/models/WebSocketMessage.d.ts.map +1 -1
- package/lib/types/models/WebSocketRequest.d.ts +28 -0
- package/lib/types/models/WebSocketRequest.d.ts.map +1 -1
- package/lib/types/models/index.d.ts +8 -0
- package/lib/types/models/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -16,6 +16,7 @@ import { AfuCompanyProfileFromJSON, AfuCompanyProfileToJSON, } from './AfuCompan
|
|
|
16
16
|
import { AuthenticationStateFromJSON, AuthenticationStateToJSON, } from './AuthenticationState';
|
|
17
17
|
import { BidAskHistoryDataFromJSON, BidAskHistoryDataToJSON, } from './BidAskHistoryData';
|
|
18
18
|
import { ChartDataFromJSON, ChartDataToJSON, } from './ChartData';
|
|
19
|
+
import { KpiDataFromJSON, KpiDataToJSON, } from './KpiData';
|
|
19
20
|
import { ListingdataWithIdAndQualityFromJSON, ListingdataWithIdAndQualityToJSON, } from './ListingdataWithIdAndQuality';
|
|
20
21
|
import { MarketdepthWithIdFromJSON, MarketdepthWithIdToJSON, } from './MarketdepthWithId';
|
|
21
22
|
import { MarketstateResponseSearchFromJSON, MarketstateResponseSearchToJSON, } from './MarketstateResponseSearch';
|
|
@@ -25,6 +26,7 @@ import { RateLimitStatisticsFromJSON, RateLimitStatisticsToJSON, } from './RateL
|
|
|
25
26
|
import { ReferenceTableFromJSON, ReferenceTableToJSON, } from './ReferenceTable';
|
|
26
27
|
import { SourcedataFromJSON, SourcedataToJSON, } from './Sourcedata';
|
|
27
28
|
import { TickHistoryDataFromJSON, TickHistoryDataToJSON, } from './TickHistoryData';
|
|
29
|
+
import { TimeseriesBidAskDataFromJSON, TimeseriesBidAskDataToJSON, } from './TimeseriesBidAskData';
|
|
28
30
|
import { TimeseriesDataFromJSON, TimeseriesDataToJSON, } from './TimeseriesData';
|
|
29
31
|
import { TopflopListFromJSON, TopflopListToJSON, } from './TopflopList';
|
|
30
32
|
import { TradetickerEventFromJSON, TradetickerEventToJSON, } from './TradetickerEvent';
|
|
@@ -58,12 +60,14 @@ export function WebSocketMessageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
60
|
'dataTopflopList': !exists(json, 'dataTopflopList') ? undefined : TopflopListFromJSON(json['dataTopflopList']),
|
|
59
61
|
'dataReference': !exists(json, 'dataReference') ? undefined : ReferenceTableFromJSON(json['dataReference']),
|
|
60
62
|
'dataSource': !exists(json, 'dataSource') ? undefined : SourcedataFromJSON(json['dataSource']),
|
|
63
|
+
'dataKpi': !exists(json, 'dataKpi') ? undefined : KpiDataFromJSON(json['dataKpi']),
|
|
61
64
|
'dataMasterdata': !exists(json, 'dataMasterdata') ? undefined : MasterdataMergedSummaryWithIdFromJSON(json['dataMasterdata']),
|
|
62
65
|
'dataAuthentication': !exists(json, 'dataAuthentication') ? undefined : AuthenticationStateFromJSON(json['dataAuthentication']),
|
|
63
66
|
'dataTradingtime': !exists(json, 'dataTradingtime') ? undefined : TradingtimeFromJSON(json['dataTradingtime']),
|
|
64
67
|
'dataTradingtimeAnalysis': !exists(json, 'dataTradingtimeAnalysis') ? undefined : TradingtimeInfoReplyFromJSON(json['dataTradingtimeAnalysis']),
|
|
65
68
|
'dataMarketdepth': !exists(json, 'dataMarketdepth') ? undefined : MarketdepthWithIdFromJSON(json['dataMarketdepth']),
|
|
66
69
|
'dataTimeseries': !exists(json, 'dataTimeseries') ? undefined : TimeseriesDataFromJSON(json['dataTimeseries']),
|
|
70
|
+
'dataTimeseriesBidAsk': !exists(json, 'dataTimeseriesBidAsk') ? undefined : TimeseriesBidAskDataFromJSON(json['dataTimeseriesBidAsk']),
|
|
67
71
|
'dataCharts': !exists(json, 'dataCharts') ? undefined : ChartDataFromJSON(json['dataCharts']),
|
|
68
72
|
'dataTickHistory': !exists(json, 'dataTickHistory') ? undefined : TickHistoryDataFromJSON(json['dataTickHistory']),
|
|
69
73
|
'dataBidAskHistory': !exists(json, 'dataBidAskHistory') ? undefined : BidAskHistoryDataFromJSON(json['dataBidAskHistory']),
|
|
@@ -94,12 +98,14 @@ export function WebSocketMessageToJSON(value) {
|
|
|
94
98
|
'dataTopflopList': TopflopListToJSON(value.dataTopflopList),
|
|
95
99
|
'dataReference': ReferenceTableToJSON(value.dataReference),
|
|
96
100
|
'dataSource': SourcedataToJSON(value.dataSource),
|
|
101
|
+
'dataKpi': KpiDataToJSON(value.dataKpi),
|
|
97
102
|
'dataMasterdata': MasterdataMergedSummaryWithIdToJSON(value.dataMasterdata),
|
|
98
103
|
'dataAuthentication': AuthenticationStateToJSON(value.dataAuthentication),
|
|
99
104
|
'dataTradingtime': TradingtimeToJSON(value.dataTradingtime),
|
|
100
105
|
'dataTradingtimeAnalysis': TradingtimeInfoReplyToJSON(value.dataTradingtimeAnalysis),
|
|
101
106
|
'dataMarketdepth': MarketdepthWithIdToJSON(value.dataMarketdepth),
|
|
102
107
|
'dataTimeseries': TimeseriesDataToJSON(value.dataTimeseries),
|
|
108
|
+
'dataTimeseriesBidAsk': TimeseriesBidAskDataToJSON(value.dataTimeseriesBidAsk),
|
|
103
109
|
'dataCharts': ChartDataToJSON(value.dataCharts),
|
|
104
110
|
'dataTickHistory': TickHistoryDataToJSON(value.dataTickHistory),
|
|
105
111
|
'dataBidAskHistory': BidAskHistoryDataToJSON(value.dataBidAskHistory),
|
|
@@ -11,4 +11,115 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
import { exists } from '../runtime';
|
|
15
|
+
import { WebSocketCommandAuthenticateFromJSON, WebSocketCommandAuthenticateToJSON, } from './WebSocketCommandAuthenticate';
|
|
16
|
+
import { WebSocketCommandCancelFromJSON, WebSocketCommandCancelToJSON, } from './WebSocketCommandCancel';
|
|
17
|
+
import { WebSocketCommandGetAfuCompanyProfileFromJSON, WebSocketCommandGetAfuCompanyProfileToJSON, } from './WebSocketCommandGetAfuCompanyProfile';
|
|
18
|
+
import { WebSocketCommandGetFwwFundsProfileFromJSON, WebSocketCommandGetFwwFundsProfileToJSON, } from './WebSocketCommandGetFwwFundsProfile';
|
|
19
|
+
import { WebSocketCommandGetInstrumentMasterdataFromJSON, WebSocketCommandGetInstrumentMasterdataToJSON, } from './WebSocketCommandGetInstrumentMasterdata';
|
|
20
|
+
import { WebSocketCommandGetKpiFromJSON, WebSocketCommandGetKpiToJSON, } from './WebSocketCommandGetKpi';
|
|
21
|
+
import { WebSocketCommandGetReferenceFromJSON, WebSocketCommandGetReferenceToJSON, } from './WebSocketCommandGetReference';
|
|
22
|
+
import { WebSocketCommandGetSourceFromJSON, WebSocketCommandGetSourceToJSON, } from './WebSocketCommandGetSource';
|
|
23
|
+
import { WebSocketCommandGetTradingtimeFromJSON, WebSocketCommandGetTradingtimeToJSON, } from './WebSocketCommandGetTradingtime';
|
|
24
|
+
import { WebSocketCommandGetTradingtimeAnalysisFromJSON, WebSocketCommandGetTradingtimeAnalysisToJSON, } from './WebSocketCommandGetTradingtimeAnalysis';
|
|
25
|
+
import { WebSocketCommandHeartbeatFromJSON, WebSocketCommandHeartbeatToJSON, } from './WebSocketCommandHeartbeat';
|
|
26
|
+
import { WebSocketCommandListBidAskHistoryFromJSON, WebSocketCommandListBidAskHistoryToJSON, } from './WebSocketCommandListBidAskHistory';
|
|
27
|
+
import { WebSocketCommandListChartsFromJSON, WebSocketCommandListChartsToJSON, } from './WebSocketCommandListCharts';
|
|
28
|
+
import { WebSocketCommandListInstrumentListingsFromJSON, WebSocketCommandListInstrumentListingsToJSON, } from './WebSocketCommandListInstrumentListings';
|
|
29
|
+
import { WebSocketCommandListMarketstatesFromJSON, WebSocketCommandListMarketstatesToJSON, } from './WebSocketCommandListMarketstates';
|
|
30
|
+
import { WebSocketCommandListPerformanceFromJSON, WebSocketCommandListPerformanceToJSON, } from './WebSocketCommandListPerformance';
|
|
31
|
+
import { WebSocketCommandListTickHistoryFromJSON, WebSocketCommandListTickHistoryToJSON, } from './WebSocketCommandListTickHistory';
|
|
32
|
+
import { WebSocketCommandListTimeseriesFromJSON, WebSocketCommandListTimeseriesToJSON, } from './WebSocketCommandListTimeseries';
|
|
33
|
+
import { WebSocketCommandListTimeseriesBidAskFromJSON, WebSocketCommandListTimeseriesBidAskToJSON, } from './WebSocketCommandListTimeseriesBidAsk';
|
|
34
|
+
import { WebSocketCommandPriorityFromJSON, WebSocketCommandPriorityToJSON, } from './WebSocketCommandPriority';
|
|
35
|
+
import { WebSocketCommandSubscribeListTopflopFromJSON, WebSocketCommandSubscribeListTopflopToJSON, } from './WebSocketCommandSubscribeListTopflop';
|
|
36
|
+
import { WebSocketCommandSubscribeMarketdepthFromJSON, WebSocketCommandSubscribeMarketdepthToJSON, } from './WebSocketCommandSubscribeMarketdepth';
|
|
37
|
+
import { WebSocketCommandSubscribeMarketstatesFromJSON, WebSocketCommandSubscribeMarketstatesToJSON, } from './WebSocketCommandSubscribeMarketstates';
|
|
38
|
+
import { WebSocketCommandSubscribeSourceTradetickerFromJSON, WebSocketCommandSubscribeSourceTradetickerToJSON, } from './WebSocketCommandSubscribeSourceTradeticker';
|
|
39
|
+
import { WebSocketCommandSubscribeTimeseriesFromJSON, WebSocketCommandSubscribeTimeseriesToJSON, } from './WebSocketCommandSubscribeTimeseries';
|
|
40
|
+
import { WebSocketCommandSubscribeTimeseriesBidAskFromJSON, WebSocketCommandSubscribeTimeseriesBidAskToJSON, } from './WebSocketCommandSubscribeTimeseriesBidAsk';
|
|
41
|
+
/**
|
|
42
|
+
* Check if a given object implements the WebSocketRequest interface.
|
|
43
|
+
*/
|
|
44
|
+
export function instanceOfWebSocketRequest(value) {
|
|
45
|
+
let isInstance = true;
|
|
46
|
+
return isInstance;
|
|
47
|
+
}
|
|
48
|
+
export function WebSocketRequestFromJSON(json) {
|
|
49
|
+
return WebSocketRequestFromJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
export function WebSocketRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
52
|
+
if ((json === undefined) || (json === null)) {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'requestId': !exists(json, 'requestId') ? undefined : json['requestId'],
|
|
57
|
+
'cancel': !exists(json, 'cancel') ? undefined : WebSocketCommandCancelFromJSON(json['cancel']),
|
|
58
|
+
'priority': !exists(json, 'priority') ? undefined : WebSocketCommandPriorityFromJSON(json['priority']),
|
|
59
|
+
'heartbeat': !exists(json, 'heartbeat') ? undefined : WebSocketCommandHeartbeatFromJSON(json['heartbeat']),
|
|
60
|
+
'authenticate': !exists(json, 'authenticate') ? undefined : WebSocketCommandAuthenticateFromJSON(json['authenticate']),
|
|
61
|
+
'subscribeAuthentication': !exists(json, 'subscribeAuthentication') ? undefined : WebSocketCommandAuthenticateFromJSON(json['subscribeAuthentication']),
|
|
62
|
+
'subscribeMarketstates': !exists(json, 'subscribeMarketstates') ? undefined : WebSocketCommandSubscribeMarketstatesFromJSON(json['subscribeMarketstates']),
|
|
63
|
+
'subscribeMarketdepth': !exists(json, 'subscribeMarketdepth') ? undefined : WebSocketCommandSubscribeMarketdepthFromJSON(json['subscribeMarketdepth']),
|
|
64
|
+
'listPerformance': !exists(json, 'listPerformance') ? undefined : WebSocketCommandListPerformanceFromJSON(json['listPerformance']),
|
|
65
|
+
'listBidAskHistory': !exists(json, 'listBidAskHistory') ? undefined : WebSocketCommandListBidAskHistoryFromJSON(json['listBidAskHistory']),
|
|
66
|
+
'listInstrumentListings': !exists(json, 'listInstrumentListings') ? undefined : WebSocketCommandListInstrumentListingsFromJSON(json['listInstrumentListings']),
|
|
67
|
+
'listTimeseries': !exists(json, 'listTimeseries') ? undefined : WebSocketCommandListTimeseriesFromJSON(json['listTimeseries']),
|
|
68
|
+
'listTimeseriesBidAsk': !exists(json, 'listTimeseriesBidAsk') ? undefined : WebSocketCommandListTimeseriesBidAskFromJSON(json['listTimeseriesBidAsk']),
|
|
69
|
+
'listCharts': !exists(json, 'listCharts') ? undefined : WebSocketCommandListChartsFromJSON(json['listCharts']),
|
|
70
|
+
'listTickHistory': !exists(json, 'listTickHistory') ? undefined : WebSocketCommandListTickHistoryFromJSON(json['listTickHistory']),
|
|
71
|
+
'listMarketstates': !exists(json, 'listMarketstates') ? undefined : WebSocketCommandListMarketstatesFromJSON(json['listMarketstates']),
|
|
72
|
+
'subscribeTimeseries': !exists(json, 'subscribeTimeseries') ? undefined : WebSocketCommandSubscribeTimeseriesFromJSON(json['subscribeTimeseries']),
|
|
73
|
+
'subscribeTimeseriesBidAsk': !exists(json, 'subscribeTimeseriesBidAsk') ? undefined : WebSocketCommandSubscribeTimeseriesBidAskFromJSON(json['subscribeTimeseriesBidAsk']),
|
|
74
|
+
'getInstrumentMasterdata': !exists(json, 'getInstrumentMasterdata') ? undefined : WebSocketCommandGetInstrumentMasterdataFromJSON(json['getInstrumentMasterdata']),
|
|
75
|
+
'getAfuCompanyProfile': !exists(json, 'getAfuCompanyProfile') ? undefined : WebSocketCommandGetAfuCompanyProfileFromJSON(json['getAfuCompanyProfile']),
|
|
76
|
+
'getFwwFundsProfile': !exists(json, 'getFwwFundsProfile') ? undefined : WebSocketCommandGetFwwFundsProfileFromJSON(json['getFwwFundsProfile']),
|
|
77
|
+
'getReference': !exists(json, 'getReference') ? undefined : WebSocketCommandGetReferenceFromJSON(json['getReference']),
|
|
78
|
+
'getSource': !exists(json, 'getSource') ? undefined : WebSocketCommandGetSourceFromJSON(json['getSource']),
|
|
79
|
+
'getKpi': !exists(json, 'getKpi') ? undefined : WebSocketCommandGetKpiFromJSON(json['getKpi']),
|
|
80
|
+
'getTradingtime': !exists(json, 'getTradingtime') ? undefined : WebSocketCommandGetTradingtimeFromJSON(json['getTradingtime']),
|
|
81
|
+
'getTradingtimeAnalysis': !exists(json, 'getTradingtimeAnalysis') ? undefined : WebSocketCommandGetTradingtimeAnalysisFromJSON(json['getTradingtimeAnalysis']),
|
|
82
|
+
'subscribeSourceTradeticker': !exists(json, 'subscribeSourceTradeticker') ? undefined : WebSocketCommandSubscribeSourceTradetickerFromJSON(json['subscribeSourceTradeticker']),
|
|
83
|
+
'subscribeListTopflop': !exists(json, 'subscribeListTopflop') ? undefined : WebSocketCommandSubscribeListTopflopFromJSON(json['subscribeListTopflop']),
|
|
84
|
+
'rateLimitStatistics': !exists(json, 'rateLimitStatistics') ? undefined : json['rateLimitStatistics'],
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
export function WebSocketRequestToJSON(value) {
|
|
88
|
+
if (value === undefined) {
|
|
89
|
+
return undefined;
|
|
90
|
+
}
|
|
91
|
+
if (value === null) {
|
|
92
|
+
return null;
|
|
93
|
+
}
|
|
94
|
+
return {
|
|
95
|
+
'requestId': value.requestId,
|
|
96
|
+
'cancel': WebSocketCommandCancelToJSON(value.cancel),
|
|
97
|
+
'priority': WebSocketCommandPriorityToJSON(value.priority),
|
|
98
|
+
'heartbeat': WebSocketCommandHeartbeatToJSON(value.heartbeat),
|
|
99
|
+
'authenticate': WebSocketCommandAuthenticateToJSON(value.authenticate),
|
|
100
|
+
'subscribeAuthentication': WebSocketCommandAuthenticateToJSON(value.subscribeAuthentication),
|
|
101
|
+
'subscribeMarketstates': WebSocketCommandSubscribeMarketstatesToJSON(value.subscribeMarketstates),
|
|
102
|
+
'subscribeMarketdepth': WebSocketCommandSubscribeMarketdepthToJSON(value.subscribeMarketdepth),
|
|
103
|
+
'listPerformance': WebSocketCommandListPerformanceToJSON(value.listPerformance),
|
|
104
|
+
'listBidAskHistory': WebSocketCommandListBidAskHistoryToJSON(value.listBidAskHistory),
|
|
105
|
+
'listInstrumentListings': WebSocketCommandListInstrumentListingsToJSON(value.listInstrumentListings),
|
|
106
|
+
'listTimeseries': WebSocketCommandListTimeseriesToJSON(value.listTimeseries),
|
|
107
|
+
'listTimeseriesBidAsk': WebSocketCommandListTimeseriesBidAskToJSON(value.listTimeseriesBidAsk),
|
|
108
|
+
'listCharts': WebSocketCommandListChartsToJSON(value.listCharts),
|
|
109
|
+
'listTickHistory': WebSocketCommandListTickHistoryToJSON(value.listTickHistory),
|
|
110
|
+
'listMarketstates': WebSocketCommandListMarketstatesToJSON(value.listMarketstates),
|
|
111
|
+
'subscribeTimeseries': WebSocketCommandSubscribeTimeseriesToJSON(value.subscribeTimeseries),
|
|
112
|
+
'subscribeTimeseriesBidAsk': WebSocketCommandSubscribeTimeseriesBidAskToJSON(value.subscribeTimeseriesBidAsk),
|
|
113
|
+
'getInstrumentMasterdata': WebSocketCommandGetInstrumentMasterdataToJSON(value.getInstrumentMasterdata),
|
|
114
|
+
'getAfuCompanyProfile': WebSocketCommandGetAfuCompanyProfileToJSON(value.getAfuCompanyProfile),
|
|
115
|
+
'getFwwFundsProfile': WebSocketCommandGetFwwFundsProfileToJSON(value.getFwwFundsProfile),
|
|
116
|
+
'getReference': WebSocketCommandGetReferenceToJSON(value.getReference),
|
|
117
|
+
'getSource': WebSocketCommandGetSourceToJSON(value.getSource),
|
|
118
|
+
'getKpi': WebSocketCommandGetKpiToJSON(value.getKpi),
|
|
119
|
+
'getTradingtime': WebSocketCommandGetTradingtimeToJSON(value.getTradingtime),
|
|
120
|
+
'getTradingtimeAnalysis': WebSocketCommandGetTradingtimeAnalysisToJSON(value.getTradingtimeAnalysis),
|
|
121
|
+
'subscribeSourceTradeticker': WebSocketCommandSubscribeSourceTradetickerToJSON(value.subscribeSourceTradeticker),
|
|
122
|
+
'subscribeListTopflop': WebSocketCommandSubscribeListTopflopToJSON(value.subscribeListTopflop),
|
|
123
|
+
'rateLimitStatistics': value.rateLimitStatistics,
|
|
124
|
+
};
|
|
125
|
+
}
|
package/lib/esm/models/index.js
CHANGED
|
@@ -50,6 +50,8 @@ export * from './BidAskTimeseriesItem';
|
|
|
50
50
|
export * from './ChartData';
|
|
51
51
|
export * from './ChartDataAllOf';
|
|
52
52
|
export * from './ContinuationToken';
|
|
53
|
+
export * from './CorporateAction';
|
|
54
|
+
export * from './CorporateActions';
|
|
53
55
|
export * from './DayMarkData';
|
|
54
56
|
export * from './DayMarkDataEod';
|
|
55
57
|
export * from './EodExtract';
|
|
@@ -68,6 +70,8 @@ export * from './InstrumentsInstrumentIdFwwFundsGet200Response';
|
|
|
68
70
|
export * from './InstrumentsInstrumentIdListingsGet200Response';
|
|
69
71
|
export * from './InstrumentsInstrumentIdMarketstatesGet200Response';
|
|
70
72
|
export * from './InstrumentsInstrumentIdMarketstatesGet200Response1';
|
|
73
|
+
export * from './KpiData';
|
|
74
|
+
export * from './KpiDataAllOf';
|
|
71
75
|
export * from './List';
|
|
72
76
|
export * from './ListEntry';
|
|
73
77
|
export * from './ListTotalResultCount';
|
|
@@ -134,6 +138,7 @@ export * from './TickHistoryData';
|
|
|
134
138
|
export * from './TimeRange';
|
|
135
139
|
export * from './Timeseries';
|
|
136
140
|
export * from './TimeseriesAllOf';
|
|
141
|
+
export * from './TimeseriesBidAskData';
|
|
137
142
|
export * from './TimeseriesData';
|
|
138
143
|
export * from './TopflopEntry';
|
|
139
144
|
export * from './TopflopEntryAllOf';
|
|
@@ -154,6 +159,7 @@ export * from './WebSocketCommandCancel';
|
|
|
154
159
|
export * from './WebSocketCommandGetAfuCompanyProfile';
|
|
155
160
|
export * from './WebSocketCommandGetFwwFundsProfile';
|
|
156
161
|
export * from './WebSocketCommandGetInstrumentMasterdata';
|
|
162
|
+
export * from './WebSocketCommandGetKpi';
|
|
157
163
|
export * from './WebSocketCommandGetReference';
|
|
158
164
|
export * from './WebSocketCommandGetSource';
|
|
159
165
|
export * from './WebSocketCommandGetTradingtime';
|
|
@@ -166,11 +172,13 @@ export * from './WebSocketCommandListMarketstates';
|
|
|
166
172
|
export * from './WebSocketCommandListPerformance';
|
|
167
173
|
export * from './WebSocketCommandListTickHistory';
|
|
168
174
|
export * from './WebSocketCommandListTimeseries';
|
|
175
|
+
export * from './WebSocketCommandListTimeseriesBidAsk';
|
|
169
176
|
export * from './WebSocketCommandPriority';
|
|
170
177
|
export * from './WebSocketCommandSubscribeListTopflop';
|
|
171
178
|
export * from './WebSocketCommandSubscribeMarketdepth';
|
|
172
179
|
export * from './WebSocketCommandSubscribeMarketstates';
|
|
173
180
|
export * from './WebSocketCommandSubscribeSourceTradeticker';
|
|
174
181
|
export * from './WebSocketCommandSubscribeTimeseries';
|
|
182
|
+
export * from './WebSocketCommandSubscribeTimeseriesBidAsk';
|
|
175
183
|
export * from './WebSocketMessage';
|
|
176
184
|
export * from './WebSocketRequest';
|
|
@@ -2,17 +2,17 @@ import { MdsAuthdata } from './MdsAuthdata';
|
|
|
2
2
|
import { MdsOptions } from './MdsOptions';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { MarketstateUpdate } from './MarketstateUpdate';
|
|
5
|
-
import { AfuCompanyProfile, BidAskHistoryData, ListingdataWithIdAndQuality, MarketdepthWithId, MarketstateResponseSearch, MasterdataMergedSummaryWithId, OrderBookVariant, PerformanceDataForTimeRange, Quality, Resolution, Sourcedata, TickHistoryData, TimeRange, TimeseriesData, TradetickerEvent, Tradingtime, TradingtimeInfoReply, WebSocketMessage } from '../models';
|
|
5
|
+
import { AfuCompanyProfile, BidAskHistoryData, ListingdataWithIdAndQuality, MarketdepthWithId, MarketstateResponseSearch, MasterdataMergedSummaryWithId, OrderBookVariant, PerformanceDataForTimeRange, Quality, Resolution, Sourcedata, TickHistoryData, TimeRange, TimeseriesBidAskData, TimeseriesData, TradetickerEvent, Tradingtime, TradingtimeInfoReply, WebSocketMessage } from '../models';
|
|
6
6
|
export declare class MdsConnection {
|
|
7
|
-
private websocket;
|
|
7
|
+
private readonly websocket;
|
|
8
8
|
private readonly authdataCallback;
|
|
9
|
-
private state;
|
|
9
|
+
private readonly state;
|
|
10
10
|
private waitingForAuthentification;
|
|
11
11
|
private waitingForReconnect;
|
|
12
12
|
private nextGeneratedRequestId;
|
|
13
13
|
private readonly runningRequests;
|
|
14
|
-
private isDebug;
|
|
15
|
-
private reconnectTimer;
|
|
14
|
+
private readonly isDebug;
|
|
15
|
+
private readonly reconnectTimer;
|
|
16
16
|
/**
|
|
17
17
|
* construct an MdsConnection
|
|
18
18
|
*/
|
|
@@ -95,8 +95,8 @@ export declare class MdsConnection {
|
|
|
95
95
|
* */
|
|
96
96
|
timeseriesSnapshot(marketstateId: string, resolution: Resolution, start?: Date | string, end?: Date | string, cleanSplits?: boolean, cleanDividends?: boolean, cleanDistributions?: boolean, cleanSubscriptions?: boolean, quality?: Quality): Observable<TimeseriesData>;
|
|
97
97
|
/**
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
* Returns the Orderbook for the specified Marketstate.
|
|
99
|
+
* */
|
|
100
100
|
marketdepth(marketstateId: string, quality?: Quality, orderBookVariant?: OrderBookVariant): Observable<MarketdepthWithId>;
|
|
101
101
|
/**
|
|
102
102
|
* Returns the performance for a specified listing of an instrument.
|
|
@@ -110,6 +110,11 @@ export declare class MdsConnection {
|
|
|
110
110
|
* Returns the tick history for the specified Instrument on the Source.
|
|
111
111
|
*/
|
|
112
112
|
tickHistory(marketstateId: string, start?: Date | string, end?: Date | string, filterByVolume?: boolean, quality?: Quality, offset?: number, limit?: number): Observable<TickHistoryData>;
|
|
113
|
+
timeseriesBidAsk(marketstateId: string, resolution: Resolution, start?: Date | string, end?: Date | string, quality?: Quality): Observable<TimeseriesBidAskData>;
|
|
114
|
+
/**
|
|
115
|
+
* Returns the Open-High-Low-Close Timeseries for the specified Instrument on the Source.
|
|
116
|
+
* */
|
|
117
|
+
timeseriesBidAskSnapshot(marketstateId: string, resolution: Resolution, start?: Date | string, end?: Date | string, quality?: Quality): Observable<TimeseriesBidAskData>;
|
|
113
118
|
private updateExistingMarketstateWithDeltaUpdate;
|
|
114
119
|
private sendAsSoonAsAuthenticationPermits;
|
|
115
120
|
private stayAuthenticated;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MdsConnection.d.ts","sourceRoot":"","sources":["../../../src/api/MdsConnection.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAsB,MAAM,MAAM,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,
|
|
1
|
+
{"version":3,"file":"MdsConnection.d.ts","sourceRoot":"","sources":["../../../src/api/MdsConnection.ts"],"names":[],"mappings":"AACA,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quityEquity
|
|
47
47
|
*/
|
|
48
48
|
otherCapital?: Array<AfuCompanyYearlyAmount>;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {Array<AfuCompanyYearlyAmount>}
|
|
52
|
+
* @memberof AfuCompanyProfileFinancialStatementLiabilitiesAndEquityEquity
|
|
53
|
+
*/
|
|
54
|
+
totalEquity?: Array<AfuCompanyYearlyAmount>;
|
|
49
55
|
/**
|
|
50
56
|
*
|
|
51
57
|
* @type {Array<AfuCompanyYearlyAmount>}
|
package/lib/types/models/AfuCompanyProfileFinancialStatementLiabilitiesAndEquityEquity.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AfuCompanyProfileFinancialStatementLiabilitiesAndEquityEquity.d.ts","sourceRoot":"","sources":["../../../src/models/AfuCompanyProfileFinancialStatementLiabilitiesAndEquityEquity.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAOvE;;;;GAIG;AACH,MAAM,WAAW,6DAA6D;IAC1E;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAClD;;;;OAIG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAChD;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACjD;;;;OAIG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAC9C;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAC7C;;;;OAIG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;CACnD;AAED;;GAEG;AACH,wBAAgB,uEAAuE,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAI9G;AAED,wBAAgB,qEAAqE,CAAC,IAAI,EAAE,GAAG,GAAG,6DAA6D,CAE9J;AAED,wBAAgB,0EAA0E,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6DAA6D,
|
|
1
|
+
{"version":3,"file":"AfuCompanyProfileFinancialStatementLiabilitiesAndEquityEquity.d.ts","sourceRoot":"","sources":["../../../src/models/AfuCompanyProfileFinancialStatementLiabilitiesAndEquityEquity.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAOvE;;;;GAIG;AACH,MAAM,WAAW,6DAA6D;IAC1E;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAClD;;;;OAIG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAChD;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACjD;;;;OAIG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAC9C;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAC7C;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAC5C;;;;OAIG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;CACnD;AAED;;GAEG;AACH,wBAAgB,uEAAuE,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAI9G;AAED,wBAAgB,qEAAqE,CAAC,IAAI,EAAE,GAAG,GAAG,6DAA6D,CAE9J;AAED,wBAAgB,0EAA0E,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6DAA6D,CAcjM;AAED,wBAAgB,mEAAmE,CAAC,KAAK,CAAC,EAAE,6DAA6D,GAAG,IAAI,GAAG,GAAG,CAiBrK"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MDS API
|
|
3
|
+
* 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.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.4.34
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Corporate actions for dividends, subscription-rights, splits, free-shares, distributions, general corrections. euro changeover
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CorporateAction
|
|
16
|
+
*/
|
|
17
|
+
export interface CorporateAction {
|
|
18
|
+
/**
|
|
19
|
+
* Additional information for the action
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CorporateAction
|
|
22
|
+
*/
|
|
23
|
+
comment?: string;
|
|
24
|
+
/**
|
|
25
|
+
* When the action occur in format "yyyy-MM-dd"
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof CorporateAction
|
|
28
|
+
*/
|
|
29
|
+
date?: Date;
|
|
30
|
+
/**
|
|
31
|
+
* One of Dividend, SubscriptionRight, Split, FreeShares, Distributions, GeneralCorrection, EuroChangeover
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CorporateAction
|
|
34
|
+
*/
|
|
35
|
+
corporateActionType?: CorporateActionCorporateActionTypeEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Currency shortcut for the action
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CorporateAction
|
|
40
|
+
*/
|
|
41
|
+
payoutCurrency?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Payout value in the original currency
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CorporateAction
|
|
46
|
+
*/
|
|
47
|
+
payoutOrig?: number;
|
|
48
|
+
/**
|
|
49
|
+
* Payout value converted to euro
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof CorporateAction
|
|
52
|
+
*/
|
|
53
|
+
payoutEur?: number;
|
|
54
|
+
/**
|
|
55
|
+
* ???
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof CorporateAction
|
|
58
|
+
*/
|
|
59
|
+
ratio1?: number;
|
|
60
|
+
/**
|
|
61
|
+
* ???
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof CorporateAction
|
|
64
|
+
*/
|
|
65
|
+
ratio2?: number;
|
|
66
|
+
/**
|
|
67
|
+
* ???
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof CorporateAction
|
|
70
|
+
*/
|
|
71
|
+
factor?: number;
|
|
72
|
+
/**
|
|
73
|
+
* Change dates for different sources
|
|
74
|
+
* @type {object}
|
|
75
|
+
* @memberof CorporateAction
|
|
76
|
+
*/
|
|
77
|
+
differingDate?: object;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export declare const CorporateActionCorporateActionTypeEnum: {
|
|
83
|
+
readonly Dividend: "Dividend";
|
|
84
|
+
readonly SubscriptionRight: "SubscriptionRight";
|
|
85
|
+
readonly Split: "Split";
|
|
86
|
+
readonly FreeShares: "FreeShares";
|
|
87
|
+
readonly Distributions: "Distributions";
|
|
88
|
+
readonly GeneralCorrection: "GeneralCorrection";
|
|
89
|
+
readonly EuroChangeover: "EuroChangeover";
|
|
90
|
+
};
|
|
91
|
+
export type CorporateActionCorporateActionTypeEnum = typeof CorporateActionCorporateActionTypeEnum[keyof typeof CorporateActionCorporateActionTypeEnum];
|
|
92
|
+
/**
|
|
93
|
+
* Check if a given object implements the CorporateAction interface.
|
|
94
|
+
*/
|
|
95
|
+
export declare function instanceOfCorporateAction(value: object): boolean;
|
|
96
|
+
export declare function CorporateActionFromJSON(json: any): CorporateAction;
|
|
97
|
+
export declare function CorporateActionFromJSONTyped(json: any, ignoreDiscriminator: boolean): CorporateAction;
|
|
98
|
+
export declare function CorporateActionToJSON(value?: CorporateAction | null): any;
|
|
99
|
+
//# sourceMappingURL=CorporateAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CorporateAction.d.ts","sourceRoot":"","sources":["../../../src/models/CorporateAction.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,sCAAsC,CAAC;IAC7D;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B;AAGD;;GAEG;AACH,eAAO,MAAM,sCAAsC;;;;;;;;CAQzC,CAAC;AACX,MAAM,MAAM,sCAAsC,GAAG,OAAO,sCAAsC,CAAC,MAAM,OAAO,sCAAsC,CAAC,CAAC;AAGxJ;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAIhE;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CAiBrG;AAED,wBAAgB,qBAAqB,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,GAAG,GAAG,CAoBzE"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MDS API
|
|
3
|
+
* 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.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.4.34
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { CorporateAction } from './CorporateAction';
|
|
13
|
+
/**
|
|
14
|
+
* All corporate actions for an isin
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CorporateActions
|
|
17
|
+
*/
|
|
18
|
+
export interface CorporateActions {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<CorporateAction>}
|
|
22
|
+
* @memberof CorporateActions
|
|
23
|
+
*/
|
|
24
|
+
actions?: Array<CorporateAction>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the CorporateActions interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfCorporateActions(value: object): boolean;
|
|
30
|
+
export declare function CorporateActionsFromJSON(json: any): CorporateActions;
|
|
31
|
+
export declare function CorporateActionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CorporateActions;
|
|
32
|
+
export declare function CorporateActionsToJSON(value?: CorporateActions | null): any;
|
|
33
|
+
//# sourceMappingURL=CorporateActions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CorporateActions.d.ts","sourceRoot":"","sources":["../../../src/models/CorporateActions.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;CACpC;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAIjE;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAQvG;AAED,wBAAgB,sBAAsB,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,GAAG,GAAG,CAW3E"}
|