@limeint/trade-api 2.18.1-rc.1 → 2.18.2
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/README.md +110 -35
- package/dist/client.d.ts +10 -28
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +10 -86
- package/dist/client.js.map +1 -1
- package/dist/generated/grpc/tradeapi/v1/accounts/accounts_service.d.ts +71 -88
- package/dist/generated/grpc/tradeapi/v1/accounts/accounts_service.d.ts.map +1 -1
- package/dist/generated/grpc/tradeapi/v1/accounts/accounts_service.js +36 -145
- package/dist/generated/grpc/tradeapi/v1/accounts/accounts_service.js.map +1 -1
- package/dist/generated/grpc/tradeapi/v1/assets/assets_service.d.ts +195 -196
- package/dist/generated/grpc/tradeapi/v1/assets/assets_service.d.ts.map +1 -1
- package/dist/generated/grpc/tradeapi/v1/assets/assets_service.js +356 -95
- package/dist/generated/grpc/tradeapi/v1/assets/assets_service.js.map +1 -1
- package/dist/generated/grpc/tradeapi/v1/auth/auth_service.d.ts +45 -45
- package/dist/generated/grpc/tradeapi/v1/auth/auth_service.d.ts.map +1 -1
- package/dist/generated/grpc/tradeapi/v1/auth/auth_service.js +13 -13
- package/dist/generated/grpc/tradeapi/v1/auth/auth_service.js.map +1 -1
- package/dist/generated/grpc/tradeapi/v1/corporateactions/corporate_actions_service.d.ts +69 -221
- package/dist/generated/grpc/tradeapi/v1/corporateactions/corporate_actions_service.d.ts.map +1 -1
- package/dist/generated/grpc/tradeapi/v1/corporateactions/corporate_actions_service.js +165 -1208
- package/dist/generated/grpc/tradeapi/v1/corporateactions/corporate_actions_service.js.map +1 -1
- package/dist/generated/grpc/tradeapi/v1/marketdata/marketdata_service.d.ts +136 -143
- package/dist/generated/grpc/tradeapi/v1/marketdata/marketdata_service.d.ts.map +1 -1
- package/dist/generated/grpc/tradeapi/v1/marketdata/marketdata_service.js +202 -63
- package/dist/generated/grpc/tradeapi/v1/marketdata/marketdata_service.js.map +1 -1
- package/dist/generated/grpc/tradeapi/v1/metrics/usage_metrics_service.d.ts +8 -23
- package/dist/generated/grpc/tradeapi/v1/metrics/usage_metrics_service.d.ts.map +1 -1
- package/dist/generated/grpc/tradeapi/v1/metrics/usage_metrics_service.js +1 -6
- package/dist/generated/grpc/tradeapi/v1/metrics/usage_metrics_service.js.map +1 -1
- package/dist/generated/grpc/tradeapi/v1/orders/orders_service.d.ts +235 -235
- package/dist/generated/grpc/tradeapi/v1/orders/orders_service.d.ts.map +1 -1
- package/dist/generated/grpc/tradeapi/v1/orders/orders_service.js +187 -193
- package/dist/generated/grpc/tradeapi/v1/orders/orders_service.js.map +1 -1
- package/dist/generated/grpc/tradeapi/v1/side.d.ts +2 -2
- package/dist/generated/grpc/tradeapi/v1/side.d.ts.map +1 -1
- package/dist/generated/grpc/tradeapi/v1/side.js +2 -2
- package/dist/generated/grpc/tradeapi/v1/side.js.map +1 -1
- package/dist/generated/grpc/tradeapi/v1/trade.d.ts +10 -10
- package/dist/generated/grpc/tradeapi/v1/trade.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/internal/auth.d.ts +10 -0
- package/dist/internal/auth.d.ts.map +1 -0
- package/dist/internal/auth.js +63 -0
- package/dist/internal/auth.js.map +1 -0
- package/dist/internal/retry.d.ts +10 -0
- package/dist/internal/retry.d.ts.map +1 -0
- package/dist/internal/retry.js +22 -0
- package/dist/internal/retry.js.map +1 -0
- package/dist/internal/services.d.ts +22 -0
- package/dist/internal/services.d.ts.map +1 -0
- package/dist/internal/services.js +22 -0
- package/dist/internal/services.js.map +1 -0
- package/package.json +9 -4
|
@@ -3,43 +3,33 @@ import type { CallContext, CallOptions } from "nice-grpc-common";
|
|
|
3
3
|
import { DateMessage } from "../../../../google/type/date.js";
|
|
4
4
|
import { Decimal } from "../../../../google/type/decimal.js";
|
|
5
5
|
export declare const protobufPackage = "grpc.tradeapi.v1.corporateactions";
|
|
6
|
-
/**
|
|
7
|
-
export declare enum BondEventType {
|
|
8
|
-
UNSPECIFIED = 0,
|
|
9
|
-
COUPON = 1,
|
|
10
|
-
AMORTIZATION = 2,
|
|
11
|
-
OFFER = 3,
|
|
12
|
-
UNRECOGNIZED = -1
|
|
13
|
-
}
|
|
14
|
-
export declare function bondEventTypeFromJSON(object: any): BondEventType;
|
|
15
|
-
export declare function bondEventTypeToJSON(object: BondEventType): string;
|
|
16
|
-
/** Possible event types */
|
|
6
|
+
/** Possible conversion types */
|
|
17
7
|
export declare enum ConvertationType {
|
|
18
8
|
/** CONVTYPE_UNKNOWN - Unknown event/conversion type. Used by default */
|
|
19
9
|
CONVTYPE_UNKNOWN = 0,
|
|
20
|
-
/** BUYBACK -
|
|
10
|
+
/** BUYBACK - Stock buyback. The purchase of its own shares by the issuing company */
|
|
21
11
|
BUYBACK = 1,
|
|
22
|
-
/** CALL_OPTION_EXERCISED -
|
|
12
|
+
/** CALL_OPTION_EXERCISED - Call option exercised. Early redemption (recall) of a security initiated by the issuer */
|
|
23
13
|
CALL_OPTION_EXERCISED = 2,
|
|
24
|
-
/** DRAWINGS - Partial face
|
|
14
|
+
/** DRAWINGS - Partial repayment of the face value (amortization) or scheduled drawing without a lottery */
|
|
25
15
|
DRAWINGS = 3,
|
|
26
|
-
/** DRAWINGS_BY_LOTTERY -
|
|
16
|
+
/** DRAWINGS_BY_LOTTERY - Redemption by drawing (lottery). Early redemption of a part of a bond issue, where the bonds to be redeemed are selected by lottery */
|
|
27
17
|
DRAWINGS_BY_LOTTERY = 4,
|
|
28
|
-
/** EARLY_CONVERSION - Early conversion. Exchange of one security for another before the scheduled date (
|
|
18
|
+
/** EARLY_CONVERSION - Early conversion. Exchange of one type of security for another before the scheduled date (e.g., convertible bonds to shares) */
|
|
29
19
|
EARLY_CONVERSION = 5,
|
|
30
|
-
/** MATURITY -
|
|
20
|
+
/** MATURITY - Maturity. Scheduled full repayment of a security at the end of its circulation period */
|
|
31
21
|
MATURITY = 6,
|
|
32
|
-
/** ORDINARY -
|
|
22
|
+
/** ORDINARY - Ordinary (scheduled) conversion. A standard corporate action: split, consolidation, or scheduled exchange of securities */
|
|
33
23
|
ORDINARY = 7,
|
|
34
|
-
/** PUT_OPTION_EXERCISED -
|
|
24
|
+
/** PUT_OPTION_EXERCISED - Put option exercised. Early repurchase of a security by the issuer at the request of the investor (holder) */
|
|
35
25
|
PUT_OPTION_EXERCISED = 8,
|
|
36
|
-
/** TENDER_OFFER - Tender
|
|
26
|
+
/** TENDER_OFFER - Tender offer. A public offer to shareholders to buy their securities (often during mergers/acquisitions) */
|
|
37
27
|
TENDER_OFFER = 9,
|
|
38
28
|
UNRECOGNIZED = -1
|
|
39
29
|
}
|
|
40
30
|
export declare function convertationTypeFromJSON(object: any): ConvertationType;
|
|
41
31
|
export declare function convertationTypeToJSON(object: ConvertationType): string;
|
|
42
|
-
/** Sort
|
|
32
|
+
/** Sort order */
|
|
43
33
|
export declare enum SortDirection {
|
|
44
34
|
/** ASC - Ascending */
|
|
45
35
|
ASC = 0,
|
|
@@ -49,233 +39,127 @@ export declare enum SortDirection {
|
|
|
49
39
|
}
|
|
50
40
|
export declare function sortDirectionFromJSON(object: any): SortDirection;
|
|
51
41
|
export declare function sortDirectionToJSON(object: SortDirection): string;
|
|
52
|
-
/** Request upcoming split events
|
|
42
|
+
/** Request upcoming split events for an instrument */
|
|
53
43
|
export interface GetFutureSplitsRequest {
|
|
54
|
-
/**
|
|
44
|
+
/** Symbol */
|
|
55
45
|
symbol: string;
|
|
56
|
-
/** Sorting direction by date: asc - from
|
|
46
|
+
/** Sorting direction by date: asc - from oldest to newest, desc - from newest to oldest */
|
|
57
47
|
sortDirection: SortDirection;
|
|
58
|
-
/**
|
|
48
|
+
/** Limits the number of splits returned in the list */
|
|
59
49
|
limit: number;
|
|
60
|
-
/**
|
|
50
|
+
/** Specifies the number of splits to skip before returning the result */
|
|
61
51
|
offset: number;
|
|
62
52
|
}
|
|
63
|
-
/** Upcoming split events
|
|
53
|
+
/** Upcoming split events for an instrument */
|
|
64
54
|
export interface GetFutureSplitsResponse {
|
|
65
|
-
/**
|
|
55
|
+
/** Symbol */
|
|
66
56
|
symbol: string;
|
|
67
|
-
/** Pagination
|
|
57
|
+
/** Pagination parameters */
|
|
68
58
|
pagination: Pagination | undefined;
|
|
69
|
-
/**
|
|
59
|
+
/** Information about splits */
|
|
70
60
|
splits: SplitInfo[];
|
|
71
61
|
}
|
|
72
|
-
/** Request
|
|
62
|
+
/** Request history split events for an instrument */
|
|
73
63
|
export interface GetPastSplitsRequest {
|
|
74
|
-
/**
|
|
64
|
+
/** Symbol */
|
|
75
65
|
symbol: string;
|
|
76
|
-
/** Start of
|
|
66
|
+
/** Start of dates interval */
|
|
77
67
|
dateFrom: DateMessage | undefined;
|
|
78
|
-
/** End of
|
|
68
|
+
/** End of dates interval */
|
|
79
69
|
dateTo: DateMessage | undefined;
|
|
80
|
-
/** Sorting direction by date: asc - from
|
|
70
|
+
/** Sorting direction by date: asc - from oldest to newest, desc - from newest to oldest */
|
|
81
71
|
sortDirection: SortDirection;
|
|
82
|
-
/**
|
|
72
|
+
/** Limits the number of splits returned in the list */
|
|
83
73
|
limit: number;
|
|
84
|
-
/**
|
|
74
|
+
/** Specifies the number of splits to skip before returning the result */
|
|
85
75
|
offset: number;
|
|
86
76
|
}
|
|
87
|
-
/**
|
|
77
|
+
/** The history split events for an instrument */
|
|
88
78
|
export interface GetPastSplitsResponse {
|
|
89
|
-
/**
|
|
79
|
+
/** Symbol */
|
|
90
80
|
symbol: string;
|
|
91
|
-
/** Pagination
|
|
81
|
+
/** Pagination parameters */
|
|
92
82
|
pagination: Pagination | undefined;
|
|
93
|
-
/**
|
|
83
|
+
/** Information about splits */
|
|
94
84
|
splits: SplitInfo[];
|
|
95
85
|
}
|
|
96
|
-
/**
|
|
97
|
-
export interface GetFutureBondsEventsRequest {
|
|
98
|
-
/** Instrument symbol */
|
|
99
|
-
symbol: string;
|
|
100
|
-
/** Start of time interval */
|
|
101
|
-
dateFrom: DateMessage | undefined;
|
|
102
|
-
/** End of the time interval. By default, the response covers one year. */
|
|
103
|
-
dateTo: DateMessage | undefined;
|
|
104
|
-
/** Sorting direction by date: asc - from old to new, desc - from new to old */
|
|
105
|
-
sortDirection: SortDirection;
|
|
106
|
-
/** Limit. Limits the number of events returned for bonds in the list */
|
|
107
|
-
limit: number;
|
|
108
|
-
/** Offset. Specifies the number of bond events to skip before returning a result */
|
|
109
|
-
offset: number;
|
|
110
|
-
}
|
|
111
|
-
/** Calendar of future bond events */
|
|
112
|
-
export interface GetFutureBondsEventsResponse {
|
|
113
|
-
/** Instrument symbol */
|
|
114
|
-
symbol: string;
|
|
115
|
-
/** Pagination options. The total parameter is ignored. */
|
|
116
|
-
pagination: Pagination | undefined;
|
|
117
|
-
/** Bond events */
|
|
118
|
-
events: BondEvent[];
|
|
119
|
-
}
|
|
120
|
-
/** Request a calendar of historical bond events */
|
|
121
|
-
export interface GetPastBondsEventsRequest {
|
|
122
|
-
/** Instrument symbol */
|
|
123
|
-
symbol: string;
|
|
124
|
-
/** Start of time interval */
|
|
125
|
-
dateFrom: DateMessage | undefined;
|
|
126
|
-
/** End of the time interval. By default, the response covers one year. */
|
|
127
|
-
dateTo: DateMessage | undefined;
|
|
128
|
-
/** Sorting direction by date: asc - from old to new, desc - from new to old */
|
|
129
|
-
sortDirection: SortDirection;
|
|
130
|
-
/** Limit. Limits the number of events returned for bonds in the list */
|
|
131
|
-
limit: number;
|
|
132
|
-
/** Offset. Specifies the number of bond events to skip before returning a result */
|
|
133
|
-
offset: number;
|
|
134
|
-
}
|
|
135
|
-
/** Calendar of historical events on bonds */
|
|
136
|
-
export interface GetPastBondsEventsResponse {
|
|
137
|
-
/** Instrument symbol */
|
|
138
|
-
symbol: string;
|
|
139
|
-
/** Pagination options. The total parameter is ignored. */
|
|
140
|
-
pagination: Pagination | undefined;
|
|
141
|
-
/** Bond events */
|
|
142
|
-
events: BondEvent[];
|
|
143
|
-
}
|
|
144
|
-
/** Bond event */
|
|
145
|
-
export interface BondEvent {
|
|
146
|
-
/** Event date */
|
|
147
|
-
date: DateMessage | undefined;
|
|
148
|
-
/** Event type */
|
|
149
|
-
type: BondEventType;
|
|
150
|
-
/** Payment amount; may be omitted for offers where only the price is relevant */
|
|
151
|
-
value: Decimal | undefined;
|
|
152
|
-
/** Payout currency */
|
|
153
|
-
currency: string | undefined;
|
|
154
|
-
/** Coupon payment details */
|
|
155
|
-
couponDetails?: CouponEventDetails | undefined;
|
|
156
|
-
/** Details of amortization (partial repayment of bond par value) */
|
|
157
|
-
amortizationDetails?: AmortizationEventDetails | undefined;
|
|
158
|
-
/** Offer details (early repurchase or repayment event) */
|
|
159
|
-
offerDetails?: OfferEventDetails | undefined;
|
|
160
|
-
}
|
|
161
|
-
/** Coupon payment details */
|
|
162
|
-
export interface CouponEventDetails {
|
|
163
|
-
/** Record Date */
|
|
164
|
-
recordDate: DateMessage | undefined;
|
|
165
|
-
/** Coupon period start date */
|
|
166
|
-
startDate: DateMessage | undefined;
|
|
167
|
-
/** Face value used to calculate the coupon */
|
|
168
|
-
faceValue: Decimal | undefined;
|
|
169
|
-
/** Coupon rate as a percentage */
|
|
170
|
-
valuePercent: Decimal | undefined;
|
|
171
|
-
}
|
|
172
|
-
/** Amortization details (partial repayment of bond face value) */
|
|
173
|
-
export interface AmortizationEventDetails {
|
|
174
|
-
/** Remaining face value after amortization */
|
|
175
|
-
newFaceValue: Decimal | undefined;
|
|
176
|
-
/** Original security face value */
|
|
177
|
-
initialFaceValue: Decimal | undefined;
|
|
178
|
-
/** Amortized percentage of face value */
|
|
179
|
-
amortizationPercent: Decimal | undefined;
|
|
180
|
-
}
|
|
181
|
-
/** Offer details (early repurchase or repayment event) */
|
|
182
|
-
export interface OfferEventDetails {
|
|
183
|
-
/** PUT or CALL */
|
|
184
|
-
offerType: string | undefined;
|
|
185
|
-
/** Offer price as a percentage of face value (or in currency) */
|
|
186
|
-
price: Decimal | undefined;
|
|
187
|
-
/** Start date of the offer submission period */
|
|
188
|
-
startDate: DateMessage | undefined;
|
|
189
|
-
/** End date of the offer submission period */
|
|
190
|
-
endDate: DateMessage | undefined;
|
|
191
|
-
/** Offer agent */
|
|
192
|
-
agent: string | undefined;
|
|
193
|
-
}
|
|
194
|
-
/** Corporate Action Information */
|
|
86
|
+
/** Information about a corporate action */
|
|
195
87
|
export interface SplitInfo {
|
|
196
88
|
/** Effective date of the corporate action (execution date) */
|
|
197
89
|
execDate: DateMessage | undefined;
|
|
198
|
-
/** Number of securities before conversion (numerator of the
|
|
90
|
+
/** Number of securities before the conversion (numerator of the ratio) */
|
|
199
91
|
oldRatio: Decimal | undefined;
|
|
200
|
-
/** Number of securities after conversion (
|
|
92
|
+
/** Number of securities after the conversion (denominator of the ratio) */
|
|
201
93
|
newRatio: Decimal | undefined;
|
|
202
|
-
/** New
|
|
94
|
+
/** New lot size of the instrument after the execution of the corporate action */
|
|
203
95
|
newLot: number | undefined;
|
|
204
|
-
/**
|
|
96
|
+
/** Conversion type (split / consolidation, etc.) */
|
|
205
97
|
convertationType: ConvertationType;
|
|
206
98
|
}
|
|
207
|
-
/** Request to
|
|
99
|
+
/** Request to get a list of upcoming dividend payments for an instrument */
|
|
208
100
|
export interface GetFutureDividendsRequest {
|
|
209
101
|
/** Instrument symbol */
|
|
210
102
|
symbol: string;
|
|
211
|
-
/**
|
|
103
|
+
/** Date sorting direction: asc — from old to new, desc — from new to old */
|
|
212
104
|
sortDirection: SortDirection;
|
|
213
|
-
/**
|
|
105
|
+
/** Limits the number of elements returned. */
|
|
214
106
|
limit: number;
|
|
215
|
-
/**
|
|
107
|
+
/** Specifies the number of elements to skip before returning the result */
|
|
216
108
|
offset: number;
|
|
217
109
|
}
|
|
218
110
|
/** List of upcoming dividend payments for an instrument with pagination */
|
|
219
111
|
export interface GetFutureDividendsResponse {
|
|
220
|
-
/** Pagination
|
|
112
|
+
/** Pagination information */
|
|
221
113
|
pagination: Pagination | undefined;
|
|
222
114
|
/** List of dividends */
|
|
223
115
|
dividends: Dividend[];
|
|
224
116
|
}
|
|
225
|
-
/** Request to
|
|
117
|
+
/** Request to get historical data on paid dividends for an instrument */
|
|
226
118
|
export interface GetPastDividendsRequest {
|
|
227
119
|
/** Instrument symbol */
|
|
228
120
|
symbol: string;
|
|
229
|
-
/**
|
|
121
|
+
/** Date sorting direction: asc — from old to new, desc — from new to old */
|
|
230
122
|
sortDirection: SortDirection;
|
|
231
|
-
/** Start of time interval */
|
|
123
|
+
/** Start of the time interval */
|
|
232
124
|
dateFrom: DateMessage | undefined;
|
|
233
|
-
/** End of time interval */
|
|
125
|
+
/** End of the time interval */
|
|
234
126
|
dateTo: DateMessage | undefined;
|
|
235
|
-
/**
|
|
127
|
+
/** Limits the number of elements returned. */
|
|
236
128
|
limit: number;
|
|
237
|
-
/**
|
|
129
|
+
/** Specifies the number of elements to skip before returning the result */
|
|
238
130
|
offset: number;
|
|
239
131
|
}
|
|
240
|
-
/** Historical data on dividends
|
|
132
|
+
/** Historical data on paid dividends for an instrument with pagination */
|
|
241
133
|
export interface GetPastDividendsResponse {
|
|
242
|
-
/** Pagination
|
|
134
|
+
/** Pagination information */
|
|
243
135
|
pagination: Pagination | undefined;
|
|
244
136
|
/** List of dividends */
|
|
245
137
|
dividends: Dividend[];
|
|
246
138
|
}
|
|
247
|
-
/** Information about dividend payment */
|
|
139
|
+
/** Information about a dividend payment */
|
|
248
140
|
export interface Dividend {
|
|
249
|
-
/**
|
|
141
|
+
/** Record date (registry closure date) */
|
|
250
142
|
date: DateMessage | undefined;
|
|
251
|
-
/** Dividend per share */
|
|
143
|
+
/** Dividend amount per share */
|
|
252
144
|
amount: Decimal | undefined;
|
|
253
145
|
/** Dividend payment currency */
|
|
254
146
|
currency: string;
|
|
255
147
|
}
|
|
256
|
-
/** Pagination
|
|
148
|
+
/** Pagination parameters */
|
|
257
149
|
export interface Pagination {
|
|
258
150
|
/** Total number of elements */
|
|
259
151
|
total: number;
|
|
260
|
-
/**
|
|
152
|
+
/** Limits the number of elements returned. */
|
|
261
153
|
limit: number;
|
|
262
|
-
/**
|
|
154
|
+
/** Specifies the number of elements to skip before returning the result */
|
|
263
155
|
offset: number;
|
|
264
|
-
/**
|
|
156
|
+
/** Indicates whether a next data page exists. */
|
|
265
157
|
hasNext: boolean;
|
|
266
158
|
}
|
|
267
159
|
export declare const GetFutureSplitsRequest: MessageFns<GetFutureSplitsRequest>;
|
|
268
160
|
export declare const GetFutureSplitsResponse: MessageFns<GetFutureSplitsResponse>;
|
|
269
161
|
export declare const GetPastSplitsRequest: MessageFns<GetPastSplitsRequest>;
|
|
270
162
|
export declare const GetPastSplitsResponse: MessageFns<GetPastSplitsResponse>;
|
|
271
|
-
export declare const GetFutureBondsEventsRequest: MessageFns<GetFutureBondsEventsRequest>;
|
|
272
|
-
export declare const GetFutureBondsEventsResponse: MessageFns<GetFutureBondsEventsResponse>;
|
|
273
|
-
export declare const GetPastBondsEventsRequest: MessageFns<GetPastBondsEventsRequest>;
|
|
274
|
-
export declare const GetPastBondsEventsResponse: MessageFns<GetPastBondsEventsResponse>;
|
|
275
|
-
export declare const BondEvent: MessageFns<BondEvent>;
|
|
276
|
-
export declare const CouponEventDetails: MessageFns<CouponEventDetails>;
|
|
277
|
-
export declare const AmortizationEventDetails: MessageFns<AmortizationEventDetails>;
|
|
278
|
-
export declare const OfferEventDetails: MessageFns<OfferEventDetails>;
|
|
279
163
|
export declare const SplitInfo: MessageFns<SplitInfo>;
|
|
280
164
|
export declare const GetFutureDividendsRequest: MessageFns<GetFutureDividendsRequest>;
|
|
281
165
|
export declare const GetFutureDividendsResponse: MessageFns<GetFutureDividendsResponse>;
|
|
@@ -283,13 +167,13 @@ export declare const GetPastDividendsRequest: MessageFns<GetPastDividendsRequest
|
|
|
283
167
|
export declare const GetPastDividendsResponse: MessageFns<GetPastDividendsResponse>;
|
|
284
168
|
export declare const Dividend: MessageFns<Dividend>;
|
|
285
169
|
export declare const Pagination: MessageFns<Pagination>;
|
|
286
|
-
/** Service
|
|
170
|
+
/** Service providing information on corporate actions (dividends, splits) */
|
|
287
171
|
export type CorporateActionsServiceDefinition = typeof CorporateActionsServiceDefinition;
|
|
288
172
|
export declare const CorporateActionsServiceDefinition: {
|
|
289
173
|
readonly name: "CorporateActionsService";
|
|
290
174
|
readonly fullName: "grpc.tradeapi.v1.corporateactions.CorporateActionsService";
|
|
291
175
|
readonly methods: {
|
|
292
|
-
/** Get upcoming split events
|
|
176
|
+
/** Get upcoming split events for an instrument */
|
|
293
177
|
readonly getFutureSplits: {
|
|
294
178
|
readonly name: "GetFutureSplits";
|
|
295
179
|
readonly requestType: typeof GetFutureSplitsRequest;
|
|
@@ -303,7 +187,7 @@ export declare const CorporateActionsServiceDefinition: {
|
|
|
303
187
|
};
|
|
304
188
|
};
|
|
305
189
|
};
|
|
306
|
-
/** Get the history
|
|
190
|
+
/** Get the history split events for an instrument */
|
|
307
191
|
readonly getPastSplits: {
|
|
308
192
|
readonly name: "GetPastSplits";
|
|
309
193
|
readonly requestType: typeof GetPastSplitsRequest;
|
|
@@ -317,35 +201,7 @@ export declare const CorporateActionsServiceDefinition: {
|
|
|
317
201
|
};
|
|
318
202
|
};
|
|
319
203
|
};
|
|
320
|
-
/** Get a
|
|
321
|
-
readonly getFutureBondsEvents: {
|
|
322
|
-
readonly name: "GetFutureBondsEvents";
|
|
323
|
-
readonly requestType: typeof GetFutureBondsEventsRequest;
|
|
324
|
-
readonly requestStream: false;
|
|
325
|
-
readonly responseType: typeof GetFutureBondsEventsResponse;
|
|
326
|
-
readonly responseStream: false;
|
|
327
|
-
readonly options: {
|
|
328
|
-
readonly _unknownFields: {
|
|
329
|
-
readonly 8338: readonly [Uint8Array<ArrayBufferLike>];
|
|
330
|
-
readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
|
|
331
|
-
};
|
|
332
|
-
};
|
|
333
|
-
};
|
|
334
|
-
/** Get a calendar of historical bond events */
|
|
335
|
-
readonly getPastBondsEvents: {
|
|
336
|
-
readonly name: "GetPastBondsEvents";
|
|
337
|
-
readonly requestType: typeof GetPastBondsEventsRequest;
|
|
338
|
-
readonly requestStream: false;
|
|
339
|
-
readonly responseType: typeof GetPastBondsEventsResponse;
|
|
340
|
-
readonly responseStream: false;
|
|
341
|
-
readonly options: {
|
|
342
|
-
readonly _unknownFields: {
|
|
343
|
-
readonly 8338: readonly [Uint8Array<ArrayBufferLike>];
|
|
344
|
-
readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
|
|
345
|
-
};
|
|
346
|
-
};
|
|
347
|
-
};
|
|
348
|
-
/** Get a list of upcoming (future) dividend payments for an instrument. */
|
|
204
|
+
/** Get a list of upcoming (future) dividend payments for an instrument */
|
|
349
205
|
readonly getFutureDividends: {
|
|
350
206
|
readonly name: "GetFutureDividends";
|
|
351
207
|
readonly requestType: typeof GetFutureDividendsRequest;
|
|
@@ -359,7 +215,7 @@ export declare const CorporateActionsServiceDefinition: {
|
|
|
359
215
|
};
|
|
360
216
|
};
|
|
361
217
|
};
|
|
362
|
-
/** Get historical data on dividends
|
|
218
|
+
/** Get historical data on paid dividends for an instrument */
|
|
363
219
|
readonly getPastDividends: {
|
|
364
220
|
readonly name: "GetPastDividends";
|
|
365
221
|
readonly requestType: typeof GetPastDividendsRequest;
|
|
@@ -376,31 +232,23 @@ export declare const CorporateActionsServiceDefinition: {
|
|
|
376
232
|
};
|
|
377
233
|
};
|
|
378
234
|
export interface CorporateActionsServiceImplementation<CallContextExt = {}> {
|
|
379
|
-
/** Get upcoming split events
|
|
235
|
+
/** Get upcoming split events for an instrument */
|
|
380
236
|
getFutureSplits(request: GetFutureSplitsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<GetFutureSplitsResponse>>;
|
|
381
|
-
/** Get the history
|
|
237
|
+
/** Get the history split events for an instrument */
|
|
382
238
|
getPastSplits(request: GetPastSplitsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<GetPastSplitsResponse>>;
|
|
383
|
-
/** Get a
|
|
384
|
-
getFutureBondsEvents(request: GetFutureBondsEventsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<GetFutureBondsEventsResponse>>;
|
|
385
|
-
/** Get a calendar of historical bond events */
|
|
386
|
-
getPastBondsEvents(request: GetPastBondsEventsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<GetPastBondsEventsResponse>>;
|
|
387
|
-
/** Get a list of upcoming (future) dividend payments for an instrument. */
|
|
239
|
+
/** Get a list of upcoming (future) dividend payments for an instrument */
|
|
388
240
|
getFutureDividends(request: GetFutureDividendsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<GetFutureDividendsResponse>>;
|
|
389
|
-
/** Get historical data on dividends
|
|
241
|
+
/** Get historical data on paid dividends for an instrument */
|
|
390
242
|
getPastDividends(request: GetPastDividendsRequest, context: CallContext & CallContextExt): Promise<DeepPartial<GetPastDividendsResponse>>;
|
|
391
243
|
}
|
|
392
244
|
export interface CorporateActionsServiceClient<CallOptionsExt = {}> {
|
|
393
|
-
/** Get upcoming split events
|
|
245
|
+
/** Get upcoming split events for an instrument */
|
|
394
246
|
getFutureSplits(request: DeepPartial<GetFutureSplitsRequest>, options?: CallOptions & CallOptionsExt): Promise<GetFutureSplitsResponse>;
|
|
395
|
-
/** Get the history
|
|
247
|
+
/** Get the history split events for an instrument */
|
|
396
248
|
getPastSplits(request: DeepPartial<GetPastSplitsRequest>, options?: CallOptions & CallOptionsExt): Promise<GetPastSplitsResponse>;
|
|
397
|
-
/** Get a
|
|
398
|
-
getFutureBondsEvents(request: DeepPartial<GetFutureBondsEventsRequest>, options?: CallOptions & CallOptionsExt): Promise<GetFutureBondsEventsResponse>;
|
|
399
|
-
/** Get a calendar of historical bond events */
|
|
400
|
-
getPastBondsEvents(request: DeepPartial<GetPastBondsEventsRequest>, options?: CallOptions & CallOptionsExt): Promise<GetPastBondsEventsResponse>;
|
|
401
|
-
/** Get a list of upcoming (future) dividend payments for an instrument. */
|
|
249
|
+
/** Get a list of upcoming (future) dividend payments for an instrument */
|
|
402
250
|
getFutureDividends(request: DeepPartial<GetFutureDividendsRequest>, options?: CallOptions & CallOptionsExt): Promise<GetFutureDividendsResponse>;
|
|
403
|
-
/** Get historical data on dividends
|
|
251
|
+
/** Get historical data on paid dividends for an instrument */
|
|
404
252
|
getPastDividends(request: DeepPartial<GetPastDividendsRequest>, options?: CallOptions & CallOptionsExt): Promise<GetPastDividendsResponse>;
|
|
405
253
|
}
|
|
406
254
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"corporate_actions_service.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/grpc/tradeapi/v1/corporateactions/corporate_actions_service.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEjE,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAE7D,eAAO,MAAM,eAAe,sCAAsC,CAAC;AAEnE,
|
|
1
|
+
{"version":3,"file":"corporate_actions_service.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/grpc/tradeapi/v1/corporateactions/corporate_actions_service.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEjE,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAE7D,eAAO,MAAM,eAAe,sCAAsC,CAAC;AAEnE,gCAAgC;AAChC,oBAAY,gBAAgB;IAC1B,wEAAwE;IACxE,gBAAgB,IAAI;IACpB,qFAAqF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