adaptic-backend 1.0.191 → 1.0.192
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/generated/typeStrings/Action.cjs +0 -120
- package/generated/typeStrings/Action.d.ts +1 -1
- package/generated/typeStrings/Action.d.ts.map +1 -1
- package/generated/typeStrings/Action.js.map +1 -1
- package/generated/typeStrings/AlpacaAccount.cjs +2 -58
- package/generated/typeStrings/AlpacaAccount.d.ts +1 -1
- package/generated/typeStrings/AlpacaAccount.d.ts.map +1 -1
- package/generated/typeStrings/AlpacaAccount.js.map +1 -1
- package/generated/typeStrings/Customer.cjs +1 -107
- package/generated/typeStrings/Customer.d.ts +1 -1
- package/generated/typeStrings/Customer.d.ts.map +1 -1
- package/generated/typeStrings/Customer.js.map +1 -1
- package/generated/typeStrings/NewsArticleAssetSentiment.cjs +0 -27
- package/generated/typeStrings/NewsArticleAssetSentiment.d.ts +1 -1
- package/generated/typeStrings/NewsArticleAssetSentiment.d.ts.map +1 -1
- package/generated/typeStrings/NewsArticleAssetSentiment.js.map +1 -1
- package/generated/typeStrings/Order.cjs +18 -45
- package/generated/typeStrings/Order.d.ts +1 -1
- package/generated/typeStrings/Order.d.ts.map +1 -1
- package/generated/typeStrings/Order.js.map +1 -1
- package/generated/typeStrings/Position.cjs +0 -27
- package/generated/typeStrings/Position.d.ts +1 -1
- package/generated/typeStrings/Position.d.ts.map +1 -1
- package/generated/typeStrings/Position.js.map +1 -1
- package/generated/typeStrings/Session.cjs +1 -122
- package/generated/typeStrings/Session.d.ts +1 -1
- package/generated/typeStrings/Session.d.ts.map +1 -1
- package/generated/typeStrings/Session.js.map +1 -1
- package/generated/typeStrings/StopLoss.cjs +0 -144
- package/generated/typeStrings/StopLoss.d.ts +1 -1
- package/generated/typeStrings/StopLoss.d.ts.map +1 -1
- package/generated/typeStrings/StopLoss.js.map +1 -1
- package/generated/typeStrings/TakeProfit.cjs +0 -144
- package/generated/typeStrings/TakeProfit.d.ts +1 -1
- package/generated/typeStrings/TakeProfit.d.ts.map +1 -1
- package/generated/typeStrings/TakeProfit.js.map +1 -1
- package/generated/typeStrings/Trade.cjs +1 -172
- package/generated/typeStrings/Trade.d.ts +1 -1
- package/generated/typeStrings/Trade.d.ts.map +1 -1
- package/generated/typeStrings/Trade.js.map +1 -1
- package/generated/typeStrings/User.cjs +2 -71
- package/generated/typeStrings/User.d.ts +1 -1
- package/generated/typeStrings/User.d.ts.map +1 -1
- package/generated/typeStrings/User.js.map +1 -1
- package/generated/typeStrings/index.d.ts +11 -11
- package/generated/typegraphql-prisma/models/Order.cjs +17 -17
- package/generated/typegraphql-prisma/models/Order.d.ts +20 -20
- package/generated/typegraphql-prisma/models/Order.js.map +1 -1
- package/generated/typegraphql-prisma/models/StopLoss.cjs +1 -1
- package/generated/typegraphql-prisma/models/StopLoss.d.ts +2 -2
- package/generated/typegraphql-prisma/models/StopLoss.js.map +1 -1
- package/generated/typegraphql-prisma/models/TakeProfit.cjs +1 -1
- package/generated/typegraphql-prisma/models/TakeProfit.d.ts +2 -2
- package/generated/typegraphql-prisma/models/TakeProfit.js.map +1 -1
- package/generated/typegraphql-prisma/models/Trade.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/Order/OrderRelationsResolver.cjs +3 -3
- package/generated/typegraphql-prisma/resolvers/relations/Order/OrderRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/StopLoss/StopLossRelationsResolver.cjs +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/StopLoss/StopLossRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/TakeProfit/TakeProfitRelationsResolver.cjs +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/TakeProfit/TakeProfitRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.cjs +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.js.map +1 -1
- package/package.json +1 -1
- package/server/generated/typeStrings/Action.d.ts +1 -1
- package/server/generated/typeStrings/Action.d.ts.map +1 -1
- package/server/generated/typeStrings/Action.js.map +1 -1
- package/server/generated/typeStrings/Action.mjs +0 -120
- package/server/generated/typeStrings/AlpacaAccount.d.ts +1 -1
- package/server/generated/typeStrings/AlpacaAccount.d.ts.map +1 -1
- package/server/generated/typeStrings/AlpacaAccount.js.map +1 -1
- package/server/generated/typeStrings/AlpacaAccount.mjs +2 -58
- package/server/generated/typeStrings/Customer.d.ts +1 -1
- package/server/generated/typeStrings/Customer.d.ts.map +1 -1
- package/server/generated/typeStrings/Customer.js.map +1 -1
- package/server/generated/typeStrings/Customer.mjs +1 -107
- package/server/generated/typeStrings/NewsArticleAssetSentiment.d.ts +1 -1
- package/server/generated/typeStrings/NewsArticleAssetSentiment.d.ts.map +1 -1
- package/server/generated/typeStrings/NewsArticleAssetSentiment.js.map +1 -1
- package/server/generated/typeStrings/NewsArticleAssetSentiment.mjs +0 -27
- package/server/generated/typeStrings/Order.d.ts +1 -1
- package/server/generated/typeStrings/Order.d.ts.map +1 -1
- package/server/generated/typeStrings/Order.js.map +1 -1
- package/server/generated/typeStrings/Order.mjs +18 -45
- package/server/generated/typeStrings/Position.d.ts +1 -1
- package/server/generated/typeStrings/Position.d.ts.map +1 -1
- package/server/generated/typeStrings/Position.js.map +1 -1
- package/server/generated/typeStrings/Position.mjs +0 -27
- package/server/generated/typeStrings/Session.d.ts +1 -1
- package/server/generated/typeStrings/Session.d.ts.map +1 -1
- package/server/generated/typeStrings/Session.js.map +1 -1
- package/server/generated/typeStrings/Session.mjs +1 -122
- package/server/generated/typeStrings/StopLoss.d.ts +1 -1
- package/server/generated/typeStrings/StopLoss.d.ts.map +1 -1
- package/server/generated/typeStrings/StopLoss.js.map +1 -1
- package/server/generated/typeStrings/StopLoss.mjs +0 -144
- package/server/generated/typeStrings/TakeProfit.d.ts +1 -1
- package/server/generated/typeStrings/TakeProfit.d.ts.map +1 -1
- package/server/generated/typeStrings/TakeProfit.js.map +1 -1
- package/server/generated/typeStrings/TakeProfit.mjs +0 -144
- package/server/generated/typeStrings/Trade.d.ts +1 -1
- package/server/generated/typeStrings/Trade.d.ts.map +1 -1
- package/server/generated/typeStrings/Trade.js.map +1 -1
- package/server/generated/typeStrings/Trade.mjs +1 -172
- package/server/generated/typeStrings/User.d.ts +1 -1
- package/server/generated/typeStrings/User.d.ts.map +1 -1
- package/server/generated/typeStrings/User.js.map +1 -1
- package/server/generated/typeStrings/User.mjs +2 -71
- package/server/generated/typeStrings/index.d.ts +11 -11
- package/server/generated/typegraphql-prisma/models/Order.d.ts +20 -20
- package/server/generated/typegraphql-prisma/models/Order.js.map +1 -1
- package/server/generated/typegraphql-prisma/models/Order.mjs +37 -37
- package/server/generated/typegraphql-prisma/models/StopLoss.d.ts +2 -2
- package/server/generated/typegraphql-prisma/models/StopLoss.js.map +1 -1
- package/server/generated/typegraphql-prisma/models/StopLoss.mjs +3 -3
- package/server/generated/typegraphql-prisma/models/TakeProfit.d.ts +2 -2
- package/server/generated/typegraphql-prisma/models/TakeProfit.js.map +1 -1
- package/server/generated/typegraphql-prisma/models/TakeProfit.mjs +3 -3
- package/server/generated/typegraphql-prisma/models/Trade.d.ts +1 -1
- package/server/generated/typegraphql-prisma/models/Trade.mjs +1 -1
- package/server/generated/typegraphql-prisma/resolvers/relations/Order/OrderRelationsResolver.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/relations/Order/OrderRelationsResolver.mjs +3 -3
- package/server/generated/typegraphql-prisma/resolvers/relations/StopLoss/StopLossRelationsResolver.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/relations/StopLoss/StopLossRelationsResolver.mjs +1 -1
- package/server/generated/typegraphql-prisma/resolvers/relations/TakeProfit/TakeProfitRelationsResolver.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/relations/TakeProfit/TakeProfitRelationsResolver.mjs +1 -1
- package/server/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.mjs +1 -1
@@ -19,72 +19,33 @@ export type Action = {
|
|
19
19
|
fee?: number;
|
20
20
|
// The order associated with this action.
|
21
21
|
order?: {
|
22
|
-
// Quantity of the asset to be ordered.
|
23
22
|
qty?: number;
|
24
|
-
// Notional value of the order. Optional, used if qty is not provided. But importantly, either qty or notional must be provided.
|
25
23
|
notional?: number;
|
26
|
-
// Side of the order (BUY or SELL).
|
27
24
|
side: OrderSide;
|
28
|
-
// Type of order (market, limit, stop, stop_limit, trailing_stop).
|
29
25
|
type: OrderType;
|
30
|
-
// Order class for advanced order types (simple, bracket, oco, oso).
|
31
26
|
orderClass: OrderClass;
|
32
|
-
// Time in force for the order (day, gtc, opg, cls, ioc, fok).
|
33
27
|
timeInForce: TimeInForce;
|
34
|
-
// Must be a positive number and required for LIMIT or STOP_LIMIT orders. It must be ≥ basePrice + 0.01, and should always be greater than stopPrice.
|
35
28
|
limitPrice?: number;
|
36
|
-
// Must be a positive number and required for STOP or STOP_LIMIT orders. It must be ≤ basePrice - 0.01, and should always be less than limitPrice.
|
37
29
|
stopPrice?: number;
|
38
|
-
// Stop loss object required for bracket orders.
|
39
30
|
stopLoss?: {
|
40
31
|
// Must be a positive number. Price must be at a threshold to limit losses when the asset’s market price moves unfavourably beyond a specified point. It must be ≤ basePrice - 0.01, and should always be less than limitPrice.
|
41
32
|
stopPrice?: number;
|
42
33
|
// Must be a positive number and required if parent Order's type is STOP_LIMIT. It must be ≥ basePrice + 0.01, and should always be greater than stopPrice.
|
43
34
|
limitPrice?: number;
|
44
35
|
};
|
45
|
-
// Take profit object required for bracket orders. For take_profit, must be ≥ base_price + 0.01.
|
46
36
|
takeProfit?: {
|
47
37
|
// Must be a positive number and ≥ base_price + 0.01, and is always greater than stopPrice. Price must be at a threshold to lock in profits when the asset’s market price moves favourably beyond a specified point.
|
48
38
|
limitPrice?: number;
|
49
39
|
// Must be a positive number and required if parent Order's type is STOP_LIMIT. It must be ≤ basePrice - 0.01, and should always be less than limitPrice.
|
50
40
|
stopPrice?: number;
|
51
41
|
};
|
52
|
-
// Must be a positive number and required for TRAILING_STOP orders.
|
53
42
|
trailPrice?: number;
|
54
|
-
// Must be a positive number representing the percentage and required for TRAILING_STOP orders.
|
55
43
|
trailPercent?: number;
|
56
|
-
// Whether the order is eligible for extended hours.
|
57
44
|
extendedHours?: boolean;
|
58
|
-
// Current status of the order.
|
59
45
|
status: OrderStatus;
|
60
|
-
// Timestamp when the order was submitted.
|
61
46
|
submittedAt?: Date;
|
62
|
-
// Timestamp when the order was filled.
|
63
|
-
filledAt?: Date;
|
64
|
-
// Total quantity of the order that was filled.
|
65
|
-
filledQty?: number;
|
66
|
-
// Average price at which the order was filled.
|
67
|
-
filledAvgPrice?: number;
|
68
|
-
// Cancel requested at timestamp when the request to cancel an order was made.
|
69
|
-
cancelRequestedAt?: Date;
|
70
|
-
// CanceledAt timestamp when the order was canceled.
|
71
|
-
canceledAt?: Date;
|
72
|
-
// The asset this order is for.
|
73
|
-
asset: {
|
74
|
-
// Ticker symbol of the asset
|
75
|
-
symbol: string;
|
76
|
-
// Full name of the asset
|
77
|
-
name: string;
|
78
|
-
// Type of the asset, defined by AssetType enum.
|
79
|
-
type: AssetType;
|
80
|
-
};
|
81
|
-
// Fee associated with the order.
|
82
|
-
fee?: number;
|
83
|
-
// Strike price for option orders.
|
84
47
|
strikePrice?: number;
|
85
|
-
// Expiration date for option orders.
|
86
48
|
expirationDate?: Date;
|
87
|
-
// If the asset.type is OPTION, then provide type of contract (CALL or PUT).
|
88
49
|
optionType?: OptionType;
|
89
50
|
};
|
90
51
|
};
|
@@ -105,86 +66,5 @@ export enum ActionStatus {
|
|
105
66
|
CANCELED = "CANCELED"
|
106
67
|
}
|
107
68
|
|
108
|
-
export enum OrderSide {
|
109
|
-
BUY = "BUY",
|
110
|
-
SELL = "SELL"
|
111
|
-
}
|
112
|
-
|
113
|
-
export enum OrderType {
|
114
|
-
MARKET = "MARKET",
|
115
|
-
LIMIT = "LIMIT",
|
116
|
-
STOP = "STOP",
|
117
|
-
STOP_LIMIT = "STOP_LIMIT",
|
118
|
-
TRAILING_STOP = "TRAILING_STOP"
|
119
|
-
}
|
120
|
-
|
121
|
-
export enum OrderClass {
|
122
|
-
SIMPLE = "SIMPLE",
|
123
|
-
BRACKET = "BRACKET",
|
124
|
-
OCO = "OCO",
|
125
|
-
OSO = "OSO",
|
126
|
-
OTO = "OTO"
|
127
|
-
}
|
128
|
-
|
129
|
-
// Time in force enum (day, gtc, opg, cls, etc.).
|
130
|
-
export enum TimeInForce {
|
131
|
-
DAY = "DAY",
|
132
|
-
GTC = "GTC",
|
133
|
-
OPG = "OPG",
|
134
|
-
CLS = "CLS",
|
135
|
-
IOC = "IOC",
|
136
|
-
FOK = "FOK"
|
137
|
-
}
|
138
|
-
|
139
|
-
export enum OrderStatus {
|
140
|
-
STAGED = "STAGED",
|
141
|
-
NEW = "NEW",
|
142
|
-
PARTIALLY_FILLED = "PARTIALLY_FILLED",
|
143
|
-
FILLED = "FILLED",
|
144
|
-
DONE_FOR_DAY = "DONE_FOR_DAY",
|
145
|
-
CANCELED = "CANCELED",
|
146
|
-
EXPIRED = "EXPIRED",
|
147
|
-
HELD = "HELD",
|
148
|
-
REPLACED = "REPLACED",
|
149
|
-
PENDING_CANCEL = "PENDING_CANCEL",
|
150
|
-
PENDING_REPLACE = "PENDING_REPLACE",
|
151
|
-
ACCEPTED = "ACCEPTED",
|
152
|
-
PENDING_NEW = "PENDING_NEW",
|
153
|
-
ACCEPTED_FOR_BIDDING = "ACCEPTED_FOR_BIDDING",
|
154
|
-
STOPPED = "STOPPED",
|
155
|
-
REJECTED = "REJECTED",
|
156
|
-
SUSPENDED = "SUSPENDED",
|
157
|
-
CALCULATED = "CALCULATED"
|
158
|
-
}
|
159
|
-
|
160
|
-
export enum AssetType {
|
161
|
-
STOCK = "STOCK",
|
162
|
-
ETF = "ETF",
|
163
|
-
MUTUAL_FUND = "MUTUAL_FUND",
|
164
|
-
CRYPTOCURRENCY = "CRYPTOCURRENCY",
|
165
|
-
INDEX = "INDEX",
|
166
|
-
COMMODITY = "COMMODITY",
|
167
|
-
CURRENCY = "CURRENCY",
|
168
|
-
OPTION = "OPTION",
|
169
|
-
FUTURE = "FUTURE",
|
170
|
-
BOND = "BOND",
|
171
|
-
WARRANT = "WARRANT",
|
172
|
-
ADR = "ADR",
|
173
|
-
GDR = "GDR",
|
174
|
-
UNIT = "UNIT",
|
175
|
-
RIGHT = "RIGHT",
|
176
|
-
REIT = "REIT",
|
177
|
-
STRUCTURED_PRODUCT = "STRUCTURED_PRODUCT",
|
178
|
-
SWAP = "SWAP",
|
179
|
-
SPOT = "SPOT",
|
180
|
-
FORWARD = "FORWARD",
|
181
|
-
OTHER = "OTHER"
|
182
|
-
}
|
183
|
-
|
184
|
-
export enum OptionType {
|
185
|
-
CALL = "CALL",
|
186
|
-
PUT = "PUT"
|
187
|
-
}
|
188
|
-
|
189
69
|
`;
|
190
70
|
//# sourceMappingURL=Action.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const ActionTypeString = "\nYour response should adhere to the following type definition for the \"Action\" type.\n\nImportantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type Action = {\n // Sequence number of the action within the trade.\n sequence: number;\n // Type of trade action, defined by ActionType enum.\n type: ActionType;\n // Additional notes or comments about the action.\n note: string;\n // Current status of the trade action.\n status: ActionStatus;\n // Fees associated with the action.\n fee?: number;\n // The order associated with this action.\n order?: {\n
|
1
|
+
export declare const ActionTypeString = "\nYour response should adhere to the following type definition for the \"Action\" type.\n\nImportantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type Action = {\n // Sequence number of the action within the trade.\n sequence: number;\n // Type of trade action, defined by ActionType enum.\n type: ActionType;\n // Additional notes or comments about the action.\n note: string;\n // Current status of the trade action.\n status: ActionStatus;\n // Fees associated with the action.\n fee?: number;\n // The order associated with this action.\n order?: {\n qty?: number;\n notional?: number;\n side: OrderSide;\n type: OrderType;\n orderClass: OrderClass;\n timeInForce: TimeInForce;\n limitPrice?: number;\n stopPrice?: number;\n stopLoss?: {\n // Must be a positive number. Price must be at a threshold to limit losses when the asset\u2019s market price moves unfavourably beyond a specified point. It must be \u2264 basePrice - 0.01, and should always be less than limitPrice.\n stopPrice?: number;\n // Must be a positive number and required if parent Order's type is STOP_LIMIT. It must be \u2265 basePrice + 0.01, and should always be greater than stopPrice.\n limitPrice?: number;\n };\n takeProfit?: {\n // Must be a positive number and \u2265 base_price + 0.01, and is always greater than stopPrice. Price must be at a threshold to lock in profits when the asset\u2019s market price moves favourably beyond a specified point.\n limitPrice?: number;\n // Must be a positive number and required if parent Order's type is STOP_LIMIT. It must be \u2264 basePrice - 0.01, and should always be less than limitPrice.\n stopPrice?: number;\n };\n trailPrice?: number;\n trailPercent?: number;\n extendedHours?: boolean;\n status: OrderStatus;\n submittedAt?: Date;\n strikePrice?: number;\n expirationDate?: Date;\n optionType?: OptionType;\n };\n};\nexport enum ActionType {\n BUY = \"BUY\",\n BUY_OPTION = \"BUY_OPTION\",\n EXERCISE_OPTION = \"EXERCISE_OPTION\",\n SELL = \"SELL\",\n CANCEL = \"CANCEL\",\n ADJUST = \"ADJUST\",\n HEDGE = \"HEDGE\"\n}\n\nexport enum ActionStatus {\n STAGED = \"STAGED\",\n EXECUTED = \"EXECUTED\",\n COMPLETED = \"COMPLETED\",\n CANCELED = \"CANCELED\"\n}\n\n";
|
2
2
|
//# sourceMappingURL=Action.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../../src/generated/typeStrings/Action.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,
|
1
|
+
{"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../../src/generated/typeStrings/Action.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,q2EAiE5B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Action.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/Action.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG
|
1
|
+
{"version":3,"file":"Action.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/Action.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiE/B,CAAC"}
|
@@ -15,41 +15,9 @@ export type AlpacaAccount = {
|
|
15
15
|
marketOpen: boolean;
|
16
16
|
// List of positions held in this Alpaca account.
|
17
17
|
positions: {
|
18
|
-
|
19
|
-
asset: {
|
20
|
-
// Ticker symbol of the asset
|
21
|
-
symbol: string;
|
22
|
-
// Full name of the asset
|
23
|
-
name: string;
|
24
|
-
// Type of the asset, defined by AssetType enum.
|
25
|
-
type: AssetType;
|
26
|
-
};
|
27
|
-
// The average price at which the asset was acquired.
|
28
|
-
averageEntryPrice: number;
|
29
|
-
// Total quantity of the asset held.
|
18
|
+
id: string;
|
30
19
|
qty: number;
|
31
|
-
|
32
|
-
qtyAvailable: number;
|
33
|
-
// Current market value of the position.
|
34
|
-
marketValue: number;
|
35
|
-
// Total cost basis of the position.
|
36
|
-
costBasis: number;
|
37
|
-
// Unrealized profit or loss of the position.
|
38
|
-
unrealizedPL: number;
|
39
|
-
// Unrealized profit or loss as a percentage.
|
40
|
-
unrealizedPLPC: number;
|
41
|
-
// Unrealized intraday profit or loss.
|
42
|
-
unrealisedIntradayPL: number;
|
43
|
-
// Unrealized intraday profit or loss as a percentage.
|
44
|
-
unrealisedIntradayPLPC: number;
|
45
|
-
// Current price of the asset.
|
46
|
-
currentPrice: number;
|
47
|
-
// Last traded price of the asset.
|
48
|
-
lastTradePrice: number;
|
49
|
-
// Price change of the asset for the day.
|
50
|
-
changeToday: number;
|
51
|
-
// Indicates if the asset is marginable.
|
52
|
-
assetMarginable: boolean;
|
20
|
+
asset: Asset;
|
53
21
|
}[];
|
54
22
|
};
|
55
23
|
export enum AlpacaAccountType {
|
@@ -57,29 +25,5 @@ export enum AlpacaAccountType {
|
|
57
25
|
LIVE = "LIVE"
|
58
26
|
}
|
59
27
|
|
60
|
-
export enum AssetType {
|
61
|
-
STOCK = "STOCK",
|
62
|
-
ETF = "ETF",
|
63
|
-
MUTUAL_FUND = "MUTUAL_FUND",
|
64
|
-
CRYPTOCURRENCY = "CRYPTOCURRENCY",
|
65
|
-
INDEX = "INDEX",
|
66
|
-
COMMODITY = "COMMODITY",
|
67
|
-
CURRENCY = "CURRENCY",
|
68
|
-
OPTION = "OPTION",
|
69
|
-
FUTURE = "FUTURE",
|
70
|
-
BOND = "BOND",
|
71
|
-
WARRANT = "WARRANT",
|
72
|
-
ADR = "ADR",
|
73
|
-
GDR = "GDR",
|
74
|
-
UNIT = "UNIT",
|
75
|
-
RIGHT = "RIGHT",
|
76
|
-
REIT = "REIT",
|
77
|
-
STRUCTURED_PRODUCT = "STRUCTURED_PRODUCT",
|
78
|
-
SWAP = "SWAP",
|
79
|
-
SPOT = "SPOT",
|
80
|
-
FORWARD = "FORWARD",
|
81
|
-
OTHER = "OTHER"
|
82
|
-
}
|
83
|
-
|
84
28
|
`;
|
85
29
|
//# sourceMappingURL=AlpacaAccount.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const AlpacaAccountTypeString = "\nYour response should adhere to the following type definition for the \"AlpacaAccount\" type.\n\nImportantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type AlpacaAccount = {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n // Indicates whether the market is currently open for trading.\n marketOpen: boolean;\n // List of positions held in this Alpaca account.\n positions: {\n
|
1
|
+
export declare const AlpacaAccountTypeString = "\nYour response should adhere to the following type definition for the \"AlpacaAccount\" type.\n\nImportantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type AlpacaAccount = {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n // Indicates whether the market is currently open for trading.\n marketOpen: boolean;\n // List of positions held in this Alpaca account.\n positions: {\n id: string;\n qty: number;\n asset: Asset;\n }[];\n};\nexport enum AlpacaAccountType {\n PAPER = \"PAPER\",\n LIVE = \"LIVE\"\n}\n\n";
|
2
2
|
//# sourceMappingURL=AlpacaAccount.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AlpacaAccount.d.ts","sourceRoot":"","sources":["../../../src/generated/typeStrings/AlpacaAccount.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,
|
1
|
+
{"version":3,"file":"AlpacaAccount.d.ts","sourceRoot":"","sources":["../../../src/generated/typeStrings/AlpacaAccount.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,ytBAwBnC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AlpacaAccount.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/AlpacaAccount.ts"],"names":[],"mappings":";;;AAAa,QAAA,uBAAuB,GAAG
|
1
|
+
{"version":3,"file":"AlpacaAccount.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/AlpacaAccount.ts"],"names":[],"mappings":";;;AAAa,QAAA,uBAAuB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;CAwBtC,CAAC"}
|
@@ -15,73 +15,9 @@ export type Customer = {
|
|
15
15
|
stripeCurrentPeriodEnd?: Date;
|
16
16
|
// List of users associated with the customer.
|
17
17
|
users: {
|
18
|
-
|
18
|
+
id: string;
|
19
19
|
name?: string;
|
20
|
-
// The user's email address, must be unique.
|
21
20
|
email?: string;
|
22
|
-
// URL to the user's profile image.
|
23
|
-
image?: string;
|
24
|
-
// The role assigned to the user, determining permissions.
|
25
|
-
role: UserRole;
|
26
|
-
// A short biography or description of the user.
|
27
|
-
bio?: string;
|
28
|
-
// The user's job title or position.
|
29
|
-
jobTitle?: string;
|
30
|
-
// The type of Alpaca account the user currently holds.
|
31
|
-
currentAccount: AlpacaAccountType;
|
32
|
-
// The subscription plan the user is enrolled in.
|
33
|
-
plan?: SubscriptionPlan;
|
34
|
-
// List of Alpaca accounts linked to the user.
|
35
|
-
alpacaAccounts: {
|
36
|
-
// The type of Alpaca account (PAPER or LIVE).
|
37
|
-
type: AlpacaAccountType;
|
38
|
-
// JSON configuration settings for the Alpaca account.
|
39
|
-
configuration?: any;
|
40
|
-
// Indicates whether the market is currently open for trading.
|
41
|
-
marketOpen: boolean;
|
42
|
-
// List of positions held in this Alpaca account.
|
43
|
-
positions: {
|
44
|
-
// Relation to the Asset model.
|
45
|
-
asset: {
|
46
|
-
// Ticker symbol of the asset
|
47
|
-
symbol: string;
|
48
|
-
// Full name of the asset
|
49
|
-
name: string;
|
50
|
-
// Type of the asset, defined by AssetType enum.
|
51
|
-
type: AssetType;
|
52
|
-
};
|
53
|
-
// The average price at which the asset was acquired.
|
54
|
-
averageEntryPrice: number;
|
55
|
-
// Total quantity of the asset held.
|
56
|
-
qty: number;
|
57
|
-
// Quantity of the asset available for trading.
|
58
|
-
qtyAvailable: number;
|
59
|
-
// Current market value of the position.
|
60
|
-
marketValue: number;
|
61
|
-
// Total cost basis of the position.
|
62
|
-
costBasis: number;
|
63
|
-
// Unrealized profit or loss of the position.
|
64
|
-
unrealizedPL: number;
|
65
|
-
// Unrealized profit or loss as a percentage.
|
66
|
-
unrealizedPLPC: number;
|
67
|
-
// Unrealized intraday profit or loss.
|
68
|
-
unrealisedIntradayPL: number;
|
69
|
-
// Unrealized intraday profit or loss as a percentage.
|
70
|
-
unrealisedIntradayPLPC: number;
|
71
|
-
// Current price of the asset.
|
72
|
-
currentPrice: number;
|
73
|
-
// Last traded price of the asset.
|
74
|
-
lastTradePrice: number;
|
75
|
-
// Price change of the asset for the day.
|
76
|
-
changeToday: number;
|
77
|
-
// Indicates if the asset is marginable.
|
78
|
-
assetMarginable: boolean;
|
79
|
-
}[];
|
80
|
-
}[];
|
81
|
-
// OpenAI API key for the user.
|
82
|
-
openaiAPIKey?: string;
|
83
|
-
// OpenAI API Language model selected by the user
|
84
|
-
openaiModel?: OpenaiModel;
|
85
21
|
}[];
|
86
22
|
};
|
87
23
|
export enum SubscriptionPlan {
|
@@ -90,47 +26,5 @@ export enum SubscriptionPlan {
|
|
90
26
|
BUSINESS = "BUSINESS"
|
91
27
|
}
|
92
28
|
|
93
|
-
export enum UserRole {
|
94
|
-
OWNER = "OWNER",
|
95
|
-
ADMIN = "ADMIN",
|
96
|
-
USER = "USER"
|
97
|
-
}
|
98
|
-
|
99
|
-
export enum AlpacaAccountType {
|
100
|
-
PAPER = "PAPER",
|
101
|
-
LIVE = "LIVE"
|
102
|
-
}
|
103
|
-
|
104
|
-
export enum AssetType {
|
105
|
-
STOCK = "STOCK",
|
106
|
-
ETF = "ETF",
|
107
|
-
MUTUAL_FUND = "MUTUAL_FUND",
|
108
|
-
CRYPTOCURRENCY = "CRYPTOCURRENCY",
|
109
|
-
INDEX = "INDEX",
|
110
|
-
COMMODITY = "COMMODITY",
|
111
|
-
CURRENCY = "CURRENCY",
|
112
|
-
OPTION = "OPTION",
|
113
|
-
FUTURE = "FUTURE",
|
114
|
-
BOND = "BOND",
|
115
|
-
WARRANT = "WARRANT",
|
116
|
-
ADR = "ADR",
|
117
|
-
GDR = "GDR",
|
118
|
-
UNIT = "UNIT",
|
119
|
-
RIGHT = "RIGHT",
|
120
|
-
REIT = "REIT",
|
121
|
-
STRUCTURED_PRODUCT = "STRUCTURED_PRODUCT",
|
122
|
-
SWAP = "SWAP",
|
123
|
-
SPOT = "SPOT",
|
124
|
-
FORWARD = "FORWARD",
|
125
|
-
OTHER = "OTHER"
|
126
|
-
}
|
127
|
-
|
128
|
-
export enum OpenaiModel {
|
129
|
-
GPT_4O = "GPT_4O",
|
130
|
-
GPT_4O_MINI = "GPT_4O_MINI",
|
131
|
-
O1_PREVIEW = "O1_PREVIEW",
|
132
|
-
O1_MINI = "O1_MINI"
|
133
|
-
}
|
134
|
-
|
135
29
|
`;
|
136
30
|
//# sourceMappingURL=Customer.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const CustomerTypeString = "\nYour response should adhere to the following type definition for the \"Customer\" type.\n\nImportantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type Customer = {\n // Name of the customer.\n name?: string;\n // Subscription plan the customer is enrolled in.\n plan?: SubscriptionPlan;\n // End date of the current billing period in Stripe.\n stripeCurrentPeriodEnd?: Date;\n // List of users associated with the customer.\n users: {\n
|
1
|
+
export declare const CustomerTypeString = "\nYour response should adhere to the following type definition for the \"Customer\" type.\n\nImportantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type Customer = {\n // Name of the customer.\n name?: string;\n // Subscription plan the customer is enrolled in.\n plan?: SubscriptionPlan;\n // End date of the current billing period in Stripe.\n stripeCurrentPeriodEnd?: Date;\n // List of users associated with the customer.\n users: {\n id: string;\n name?: string;\n email?: string;\n }[];\n};\nexport enum SubscriptionPlan {\n FREE = \"FREE\",\n PRO = \"PRO\",\n BUSINESS = \"BUSINESS\"\n}\n\n";
|
2
2
|
//# sourceMappingURL=Customer.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Customer.d.ts","sourceRoot":"","sources":["../../../src/generated/typeStrings/Customer.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,
|
1
|
+
{"version":3,"file":"Customer.d.ts","sourceRoot":"","sources":["../../../src/generated/typeStrings/Customer.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,ksBAyB9B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/Customer.ts"],"names":[],"mappings":";;;AAAa,QAAA,kBAAkB,GAAG
|
1
|
+
{"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/Customer.ts"],"names":[],"mappings":";;;AAAa,QAAA,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;CAyBjC,CAAC"}
|
@@ -11,11 +11,8 @@ export type NewsArticleAssetSentiment = {
|
|
11
11
|
url: string;
|
12
12
|
// Relation to the Asset model.
|
13
13
|
asset: {
|
14
|
-
// Ticker symbol of the asset
|
15
14
|
symbol: string;
|
16
|
-
// Full name of the asset
|
17
15
|
name: string;
|
18
|
-
// Type of the asset, defined by AssetType enum.
|
19
16
|
type: AssetType;
|
20
17
|
};
|
21
18
|
// Relevancy score indicating how relevant the news is to the asset.
|
@@ -25,29 +22,5 @@ export type NewsArticleAssetSentiment = {
|
|
25
22
|
// Label indicating the overall sentiment (e.g., Positive, Negative, Neutral).
|
26
23
|
sentimentLabel?: string;
|
27
24
|
};
|
28
|
-
export enum AssetType {
|
29
|
-
STOCK = "STOCK",
|
30
|
-
ETF = "ETF",
|
31
|
-
MUTUAL_FUND = "MUTUAL_FUND",
|
32
|
-
CRYPTOCURRENCY = "CRYPTOCURRENCY",
|
33
|
-
INDEX = "INDEX",
|
34
|
-
COMMODITY = "COMMODITY",
|
35
|
-
CURRENCY = "CURRENCY",
|
36
|
-
OPTION = "OPTION",
|
37
|
-
FUTURE = "FUTURE",
|
38
|
-
BOND = "BOND",
|
39
|
-
WARRANT = "WARRANT",
|
40
|
-
ADR = "ADR",
|
41
|
-
GDR = "GDR",
|
42
|
-
UNIT = "UNIT",
|
43
|
-
RIGHT = "RIGHT",
|
44
|
-
REIT = "REIT",
|
45
|
-
STRUCTURED_PRODUCT = "STRUCTURED_PRODUCT",
|
46
|
-
SWAP = "SWAP",
|
47
|
-
SPOT = "SPOT",
|
48
|
-
FORWARD = "FORWARD",
|
49
|
-
OTHER = "OTHER"
|
50
|
-
}
|
51
|
-
|
52
25
|
`;
|
53
26
|
//# sourceMappingURL=NewsArticleAssetSentiment.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const NewsArticleAssetSentimentTypeString = "\nYour response should adhere to the following type definition for the \"NewsArticleAssetSentiment\" type.\n\nImportantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type NewsArticleAssetSentiment = {\n // URL of the news article, must be unique.\n url: string;\n // Relation to the Asset model.\n asset: {\n
|
1
|
+
export declare const NewsArticleAssetSentimentTypeString = "\nYour response should adhere to the following type definition for the \"NewsArticleAssetSentiment\" type.\n\nImportantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type NewsArticleAssetSentiment = {\n // URL of the news article, must be unique.\n url: string;\n // Relation to the Asset model.\n asset: {\n symbol: string;\n name: string;\n type: AssetType;\n };\n // Relevancy score indicating how relevant the news is to the asset.\n relevancyScore?: string;\n // Sentiment score derived from the news content.\n sentimentScore?: string;\n // Label indicating the overall sentiment (e.g., Positive, Negative, Neutral).\n sentimentLabel?: string;\n};\n";
|
2
2
|
//# sourceMappingURL=NewsArticleAssetSentiment.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"NewsArticleAssetSentiment.d.ts","sourceRoot":"","sources":["../../../src/generated/typeStrings/NewsArticleAssetSentiment.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mCAAmC,
|
1
|
+
{"version":3,"file":"NewsArticleAssetSentiment.d.ts","sourceRoot":"","sources":["../../../src/generated/typeStrings/NewsArticleAssetSentiment.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mCAAmC,0vBAqB/C,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"NewsArticleAssetSentiment.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/NewsArticleAssetSentiment.ts"],"names":[],"mappings":";;;AAAa,QAAA,mCAAmC,GAAG
|
1
|
+
{"version":3,"file":"NewsArticleAssetSentiment.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/NewsArticleAssetSentiment.ts"],"names":[],"mappings":";;;AAAa,QAAA,mCAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;CAqBlD,CAAC"}
|
@@ -7,41 +7,41 @@ Your response should adhere to the following type definition for the "Order" typ
|
|
7
7
|
Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).
|
8
8
|
|
9
9
|
export type Order = {
|
10
|
-
// Quantity of the asset to be ordered.
|
10
|
+
// Quantity of the asset to be ordered. Required if 'notional' is not provided. For 'MARKET' orders with 'timeInForce' set to 'DAY', 'qty' can be fractional.
|
11
11
|
qty?: number;
|
12
|
-
// Notional
|
12
|
+
// Notional dollar amount to trade. Required if 'qty' is not provided. Only valid for 'MARKET' orders with 'timeInForce' set to 'DAY'.
|
13
13
|
notional?: number;
|
14
|
-
// Side of the order (BUY or SELL).
|
14
|
+
// Side of the order ('BUY' or 'SELL').
|
15
15
|
side: OrderSide;
|
16
|
-
// Type of order (
|
16
|
+
// Type of order ('MARKET', 'LIMIT', 'STOP', 'STOP_LIMIT', 'TRAILING_STOP').
|
17
17
|
type: OrderType;
|
18
|
-
// Order class for advanced order types
|
18
|
+
// Order class for advanced order types. Options are 'SIMPLE', 'BRACKET', 'OCO', 'OTO'. Default is 'SIMPLE'. For 'BRACKET' orders, 'takeProfit' and 'stopLoss' are required.
|
19
19
|
orderClass: OrderClass;
|
20
|
-
// Time in force for the order (
|
20
|
+
// Time in force for the order ('DAY', 'GTC', 'OPG', 'CLS', 'IOC', 'FOK').
|
21
21
|
timeInForce: TimeInForce;
|
22
|
-
// Must be a positive number
|
22
|
+
// Limit price of the order. Required for 'LIMIT' and 'STOP_LIMIT' order types. Must be a positive number. For 'BUY' orders, 'limitPrice' represents the maximum price to pay; for 'SELL' orders, it represents the minimum price to accept.
|
23
23
|
limitPrice?: number;
|
24
|
-
// Must be a positive number
|
24
|
+
// Stop price of the order. Required for 'STOP' and 'STOP_LIMIT' order types. Must be a positive number. For 'BUY' 'STOP_LIMIT' orders, 'stopPrice' must be less than or equal to 'limitPrice'. For 'SELL' 'STOP_LIMIT' orders, 'stopPrice' must be greater than or equal to 'limitPrice'.
|
25
25
|
stopPrice?: number;
|
26
|
-
// Stop loss object
|
26
|
+
// Stop loss object. Required for 'BRACKET' and 'OTO' order classes when setting a stop-loss order. For 'BUY' bracket orders, 'stopLoss.stopPrice' must be less than 'takeProfit.limitPrice'.
|
27
27
|
stopLoss?: {
|
28
28
|
// Must be a positive number. Price must be at a threshold to limit losses when the asset’s market price moves unfavourably beyond a specified point. It must be ≤ basePrice - 0.01, and should always be less than limitPrice.
|
29
29
|
stopPrice?: number;
|
30
30
|
// Must be a positive number and required if parent Order's type is STOP_LIMIT. It must be ≥ basePrice + 0.01, and should always be greater than stopPrice.
|
31
31
|
limitPrice?: number;
|
32
32
|
};
|
33
|
-
// Take profit object
|
33
|
+
// Take profit object. Required for 'BRACKET' and 'OTO' order classes when setting a take-profit order. For 'BUY' bracket orders, 'takeProfit.limitPrice' must be greater than 'stopLoss.stopPrice'.
|
34
34
|
takeProfit?: {
|
35
35
|
// Must be a positive number and ≥ base_price + 0.01, and is always greater than stopPrice. Price must be at a threshold to lock in profits when the asset’s market price moves favourably beyond a specified point.
|
36
36
|
limitPrice?: number;
|
37
37
|
// Must be a positive number and required if parent Order's type is STOP_LIMIT. It must be ≤ basePrice - 0.01, and should always be less than limitPrice.
|
38
38
|
stopPrice?: number;
|
39
39
|
};
|
40
|
-
// Must be a positive number
|
40
|
+
// Trail price for 'TRAILING_STOP' orders. Must be a positive number. Either 'trailPrice' or 'trailPercent' is required when 'type' is 'TRAILING_STOP'.
|
41
41
|
trailPrice?: number;
|
42
|
-
// Must be a positive number
|
42
|
+
// Trail percent for 'TRAILING_STOP' orders. Must be a positive number. Either 'trailPrice' or 'trailPercent' is required when 'type' is 'TRAILING_STOP'.
|
43
43
|
trailPercent?: number;
|
44
|
-
// Whether the order is eligible for
|
44
|
+
// Whether the order is eligible for execution outside regular trading hours. Only valid for 'LIMIT' orders with 'timeInForce' set to 'DAY'. Defaults to false.
|
45
45
|
extendedHours?: boolean;
|
46
46
|
// Current status of the order.
|
47
47
|
status: OrderStatus;
|
@@ -53,26 +53,23 @@ export type Order = {
|
|
53
53
|
filledQty?: number;
|
54
54
|
// Average price at which the order was filled.
|
55
55
|
filledAvgPrice?: number;
|
56
|
-
//
|
56
|
+
// Timestamp when the request to cancel the order was made.
|
57
57
|
cancelRequestedAt?: Date;
|
58
|
-
//
|
58
|
+
// Timestamp when the order was canceled.
|
59
59
|
canceledAt?: Date;
|
60
60
|
// The asset this order is for.
|
61
61
|
asset: {
|
62
|
-
// Ticker symbol of the asset
|
63
62
|
symbol: string;
|
64
|
-
// Full name of the asset
|
65
63
|
name: string;
|
66
|
-
// Type of the asset, defined by AssetType enum.
|
67
64
|
type: AssetType;
|
68
65
|
};
|
69
66
|
// Fee associated with the order.
|
70
67
|
fee?: number;
|
71
|
-
// Strike price for option orders.
|
68
|
+
// Strike price for option orders. Required when 'asset.type' is 'OPTION'.
|
72
69
|
strikePrice?: number;
|
73
|
-
// Expiration date for option orders.
|
70
|
+
// Expiration date for option orders. Required when 'asset.type' is 'OPTION'.
|
74
71
|
expirationDate?: Date;
|
75
|
-
//
|
72
|
+
// Type of option contract ('CALL' or 'PUT'). Required when 'asset.type' is 'OPTION'.
|
76
73
|
optionType?: OptionType;
|
77
74
|
};
|
78
75
|
export enum OrderSide {
|
@@ -127,30 +124,6 @@ export enum OrderStatus {
|
|
127
124
|
CALCULATED = "CALCULATED"
|
128
125
|
}
|
129
126
|
|
130
|
-
export enum AssetType {
|
131
|
-
STOCK = "STOCK",
|
132
|
-
ETF = "ETF",
|
133
|
-
MUTUAL_FUND = "MUTUAL_FUND",
|
134
|
-
CRYPTOCURRENCY = "CRYPTOCURRENCY",
|
135
|
-
INDEX = "INDEX",
|
136
|
-
COMMODITY = "COMMODITY",
|
137
|
-
CURRENCY = "CURRENCY",
|
138
|
-
OPTION = "OPTION",
|
139
|
-
FUTURE = "FUTURE",
|
140
|
-
BOND = "BOND",
|
141
|
-
WARRANT = "WARRANT",
|
142
|
-
ADR = "ADR",
|
143
|
-
GDR = "GDR",
|
144
|
-
UNIT = "UNIT",
|
145
|
-
RIGHT = "RIGHT",
|
146
|
-
REIT = "REIT",
|
147
|
-
STRUCTURED_PRODUCT = "STRUCTURED_PRODUCT",
|
148
|
-
SWAP = "SWAP",
|
149
|
-
SPOT = "SPOT",
|
150
|
-
FORWARD = "FORWARD",
|
151
|
-
OTHER = "OTHER"
|
152
|
-
}
|
153
|
-
|
154
127
|
export enum OptionType {
|
155
128
|
CALL = "CALL",
|
156
129
|
PUT = "PUT"
|