adaptic-backend 1.0.152 → 1.0.153
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/Account.cjs +0 -370
- package/generated/typeStrings/Account.d.ts +1 -1
- package/generated/typeStrings/Account.d.ts.map +1 -1
- package/generated/typeStrings/Account.js.map +1 -1
- package/generated/typeStrings/Action.cjs +7 -822
- 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/Alert.cjs +0 -804
- package/generated/typeStrings/Alert.d.ts +1 -1
- package/generated/typeStrings/Alert.d.ts.map +1 -1
- package/generated/typeStrings/Alert.js.map +1 -1
- package/generated/typeStrings/AlpacaAccount.cjs +2 -1051
- 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/Asset.cjs +0 -975
- package/generated/typeStrings/Asset.d.ts +1 -1
- package/generated/typeStrings/Asset.d.ts.map +1 -1
- package/generated/typeStrings/Asset.js.map +1 -1
- package/generated/typeStrings/Authenticator.cjs +1 -382
- package/generated/typeStrings/Authenticator.d.ts +1 -1
- package/generated/typeStrings/Authenticator.d.ts.map +1 -1
- package/generated/typeStrings/Authenticator.js.map +1 -1
- package/generated/typeStrings/Customer.cjs +32 -290
- 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/NewsArticle.cjs +0 -405
- package/generated/typeStrings/NewsArticle.d.ts +1 -1
- package/generated/typeStrings/NewsArticle.d.ts.map +1 -1
- package/generated/typeStrings/NewsArticle.js.map +1 -1
- package/generated/typeStrings/NewsArticleAssetSentiment.cjs +1 -543
- 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 +4 -1006
- 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 +1 -961
- 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 +33 -286
- 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 +7 -496
- 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 +7 -496
- 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 +38 -967
- 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 +4 -697
- 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/VerificationToken.cjs +1 -6
- package/generated/typeStrings/VerificationToken.d.ts +1 -1
- package/generated/typeStrings/VerificationToken.d.ts.map +1 -1
- package/generated/typeStrings/VerificationToken.js.map +1 -1
- package/generated/typeStrings/index.d.ts +17 -17
- package/generated/typegraphql-prisma/models/Trade.d.ts +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/Account.d.ts +1 -1
- package/server/generated/typeStrings/Account.d.ts.map +1 -1
- package/server/generated/typeStrings/Account.js.map +1 -1
- package/server/generated/typeStrings/Account.mjs +0 -370
- 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 +7 -822
- package/server/generated/typeStrings/Alert.d.ts +1 -1
- package/server/generated/typeStrings/Alert.d.ts.map +1 -1
- package/server/generated/typeStrings/Alert.js.map +1 -1
- package/server/generated/typeStrings/Alert.mjs +0 -804
- 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 -1051
- package/server/generated/typeStrings/Asset.d.ts +1 -1
- package/server/generated/typeStrings/Asset.d.ts.map +1 -1
- package/server/generated/typeStrings/Asset.js.map +1 -1
- package/server/generated/typeStrings/Asset.mjs +0 -975
- package/server/generated/typeStrings/Authenticator.d.ts +1 -1
- package/server/generated/typeStrings/Authenticator.d.ts.map +1 -1
- package/server/generated/typeStrings/Authenticator.js.map +1 -1
- package/server/generated/typeStrings/Authenticator.mjs +1 -382
- 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 +32 -290
- package/server/generated/typeStrings/NewsArticle.d.ts +1 -1
- package/server/generated/typeStrings/NewsArticle.d.ts.map +1 -1
- package/server/generated/typeStrings/NewsArticle.js.map +1 -1
- package/server/generated/typeStrings/NewsArticle.mjs +0 -405
- 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 +1 -543
- 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 +4 -1006
- 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 +1 -961
- 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 +33 -286
- 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 +7 -496
- 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 +7 -496
- 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 +38 -967
- 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 +4 -697
- package/server/generated/typeStrings/VerificationToken.d.ts +1 -1
- package/server/generated/typeStrings/VerificationToken.d.ts.map +1 -1
- package/server/generated/typeStrings/VerificationToken.js.map +1 -1
- package/server/generated/typeStrings/VerificationToken.mjs +1 -6
- package/server/generated/typeStrings/index.d.ts +17 -17
- 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/Trade/TradeRelationsResolver.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.mjs +1 -1
@@ -14,403 +14,7 @@ export type Action = {
|
|
14
14
|
status: ActionStatus;
|
15
15
|
// Fees associated with the action.
|
16
16
|
fee?: number;
|
17
|
-
// The
|
18
|
-
trade: {
|
19
|
-
// Quantity of the asset being traded.
|
20
|
-
qty: number;
|
21
|
-
// Price at which the asset was traded.
|
22
|
-
price: number;
|
23
|
-
// Total value of the trade (qty * price).
|
24
|
-
total: number;
|
25
|
-
// Option Type (CALL or PUT) if the asset is an option.
|
26
|
-
optionType?: OptionType;
|
27
|
-
// Signal that triggered the trade.
|
28
|
-
signal: TradeSignal;
|
29
|
-
// Strategy used to execute the trade.
|
30
|
-
strategy: TradeStrategy;
|
31
|
-
// Analysis supporting the trade decision as markdown text. TYPESTRING.
|
32
|
-
analysis: string;
|
33
|
-
// summary of the trade decision (this should be a short description of the trade).
|
34
|
-
summary: string;
|
35
|
-
// Confidence level in the trade decision.
|
36
|
-
confidence: number;
|
37
|
-
// Timestamp when the trade was executed. TYPESTRING.
|
38
|
-
timestamp: Date;
|
39
|
-
// Current status of the trade.
|
40
|
-
status: TradeStatus;
|
41
|
-
// Relation to the AlpacaAccount model. TYPESTRING. GQL.
|
42
|
-
alpacaAccount: {
|
43
|
-
// The type of Alpaca account (PAPER or LIVE).
|
44
|
-
type: AlpacaAccountType;
|
45
|
-
// API key for authenticating requests to Alpaca. TYPESTRING.
|
46
|
-
APIKey: string;
|
47
|
-
// API secret for authenticating requests to Alpaca. TYPESTRING.
|
48
|
-
APISecret: string;
|
49
|
-
// JSON configuration settings for the Alpaca account.
|
50
|
-
configuration?: any;
|
51
|
-
// Indicates whether the market is currently open for trading.
|
52
|
-
marketOpen: boolean;
|
53
|
-
// Minimum order size for the account. TYPESTRING.
|
54
|
-
minOrderSize: number;
|
55
|
-
// Maximum order size for the account. TYPESTRING.
|
56
|
-
maxOrderSize: number;
|
57
|
-
// Minimum percentage change (from intraday high/low) to consider for a trade signal. TYPESTRING.
|
58
|
-
minPercentageChange: number;
|
59
|
-
// Volume threshold for a trade signal (minimum volume qualifier to consider an asset for trading). TYPESTRING.
|
60
|
-
volumeThreshold: number;
|
61
|
-
// Relation to the User model who owns this Alpaca account. TYPESTRING.
|
62
|
-
user: {
|
63
|
-
// The user's full name.
|
64
|
-
name?: string;
|
65
|
-
// The user's email address, must be unique.
|
66
|
-
email?: string;
|
67
|
-
// Timestamp when the user's email was verified. TYPESTRING.
|
68
|
-
emailVerified?: Date;
|
69
|
-
// URL to the user's profile image.
|
70
|
-
image?: string;
|
71
|
-
// The role assigned to the user, determining permissions.
|
72
|
-
role: UserRole;
|
73
|
-
// A short biography or description of the user.
|
74
|
-
bio?: string;
|
75
|
-
// The user's job title or position.
|
76
|
-
jobTitle?: string;
|
77
|
-
// The type of Alpaca account the user currently holds.
|
78
|
-
currentAccount: AlpacaAccountType;
|
79
|
-
// Relation to the Customer model. TYPESTRING. GQL.
|
80
|
-
customer?: {
|
81
|
-
any
|
82
|
-
};
|
83
|
-
// List of accounts associated with the user. TYPESTRING. GQL.
|
84
|
-
accounts: {
|
85
|
-
any
|
86
|
-
}[];
|
87
|
-
// List of sessions associated with the user. TYPESTRING. GQL.
|
88
|
-
sessions: {
|
89
|
-
any
|
90
|
-
}[];
|
91
|
-
// List of authenticators for the user. TYPESTRING. GQL.
|
92
|
-
authenticators: {
|
93
|
-
any
|
94
|
-
}[];
|
95
|
-
// The subscription plan the user is enrolled in.
|
96
|
-
plan?: SubscriptionPlan;
|
97
|
-
// OpenAI API key for the user.
|
98
|
-
openaiAPIKey?: string;
|
99
|
-
// OpenAI API Language model selected by the user
|
100
|
-
openaiModel?: OpenaiModel;
|
101
|
-
};
|
102
|
-
// List of orders placed through this Alpaca account. TYPESTRING.
|
103
|
-
orders: {
|
104
|
-
// Quantity of the asset to be ordered.
|
105
|
-
qty?: number;
|
106
|
-
// Notional value of the order. Optional, used if qty is not provided. But importantly, either qty or notional must be provided.
|
107
|
-
notional?: number;
|
108
|
-
// Side of the order (BUY or SELL).
|
109
|
-
side: OrderSide;
|
110
|
-
// Type of order (market, limit, stop, stop_limit, trailing_stop).
|
111
|
-
type: OrderType;
|
112
|
-
// Order class for advanced order types (simple, bracket, oco, oso).
|
113
|
-
orderClass: OrderClass;
|
114
|
-
// Time in force for the order (day, gtc, opg, cls, ioc, fok).
|
115
|
-
timeInForce: TimeInForce;
|
116
|
-
// Must be a positive number and required for LIMIT or STOP_LIMIT orders. For take_profit, must be ≥ base_price + 0.01.
|
117
|
-
limitPrice?: number;
|
118
|
-
// Must be a positive number and required for STOP or STOP_LIMIT orders.
|
119
|
-
stopPrice?: number;
|
120
|
-
// Stop loss object required for bracket orders.
|
121
|
-
stopLoss?: {
|
122
|
-
any
|
123
|
-
};
|
124
|
-
// Take profit object required for bracket orders.
|
125
|
-
takeProfit?: {
|
126
|
-
any
|
127
|
-
};
|
128
|
-
// Must be a positive number and required for TRAILING_STOP orders.
|
129
|
-
trailPrice?: number;
|
130
|
-
// Must be a positive number representing the percentage and required for TRAILING_STOP orders.
|
131
|
-
trailPercent?: number;
|
132
|
-
// Whether the order is eligible for extended hours.
|
133
|
-
extendedHours?: boolean;
|
134
|
-
// Current status of the order.
|
135
|
-
status: OrderStatus;
|
136
|
-
// Timestamp when the order was submitted.
|
137
|
-
submittedAt?: Date;
|
138
|
-
// Timestamp when the order was filled.
|
139
|
-
filledAt?: Date;
|
140
|
-
// Average price at which the order was filled.
|
141
|
-
filledAvgPrice?: number;
|
142
|
-
// The asset this order is for. TYPESTRING. GQL.
|
143
|
-
asset: {
|
144
|
-
any
|
145
|
-
};
|
146
|
-
// Fee associated with the order.
|
147
|
-
fee?: number;
|
148
|
-
// Strike price for option orders.
|
149
|
-
strikePrice?: number;
|
150
|
-
// Expiration date for option orders.
|
151
|
-
expirationDate?: Date;
|
152
|
-
// If the asset.type is OPTION, then provide type of contract (CALL or PUT).
|
153
|
-
optionType?: OptionType;
|
154
|
-
}[];
|
155
|
-
// List of positions held in this Alpaca account. TYPESTRING. GQL.
|
156
|
-
positions: {
|
157
|
-
// Relation to the Asset model. TYPESTRING. GQL.
|
158
|
-
asset: {
|
159
|
-
any
|
160
|
-
};
|
161
|
-
// The average price at which the asset was acquired.
|
162
|
-
averageEntryPrice: number;
|
163
|
-
// Total quantity of the asset held.
|
164
|
-
qty: number;
|
165
|
-
// Quantity of the asset available for trading.
|
166
|
-
qtyAvailable: number;
|
167
|
-
// Current market value of the position.
|
168
|
-
marketValue: number;
|
169
|
-
// Total cost basis of the position.
|
170
|
-
costBasis: number;
|
171
|
-
// Unrealized profit or loss of the position.
|
172
|
-
unrealizedPL: number;
|
173
|
-
// Unrealized profit or loss as a percentage.
|
174
|
-
unrealizedPLPC: number;
|
175
|
-
// Unrealized intraday profit or loss.
|
176
|
-
unrealisedIntradayPL: number;
|
177
|
-
// Unrealized intraday profit or loss as a percentage.
|
178
|
-
unrealisedIntradayPLPC: number;
|
179
|
-
// Current price of the asset.
|
180
|
-
currentPrice: number;
|
181
|
-
// Last traded price of the asset.
|
182
|
-
lastTradePrice: number;
|
183
|
-
// Price change of the asset for the day.
|
184
|
-
changeToday: number;
|
185
|
-
// Indicates if the asset is marginable.
|
186
|
-
assetMarginable: boolean;
|
187
|
-
}[];
|
188
|
-
// List of alerts generated for this Alpaca account. TYPESTRING.
|
189
|
-
alerts: {
|
190
|
-
// Message content of the alert.
|
191
|
-
message: string;
|
192
|
-
// Type of the alert, defined by AlertType enum.
|
193
|
-
type: AlertType;
|
194
|
-
// Indicates whether the alert has been read by the user.
|
195
|
-
isRead: boolean;
|
196
|
-
}[];
|
197
|
-
};
|
198
|
-
// Relation to the Asset model. TYPESTRING. GQL.
|
199
|
-
asset: {
|
200
|
-
// Ticker symbol of the asset, must be unique.
|
201
|
-
symbol: string;
|
202
|
-
// Full name of the asset, must be unique.
|
203
|
-
name: string;
|
204
|
-
// Type of the asset, defined by AssetType enum.
|
205
|
-
type: AssetType;
|
206
|
-
// URL to the asset's logo image. TYPESTRING.
|
207
|
-
logoUrl?: string;
|
208
|
-
// Description of the asset. TYPESTRING.
|
209
|
-
description?: string;
|
210
|
-
// Central Index Key for the asset. TYPESTRING.
|
211
|
-
cik?: string;
|
212
|
-
// Stock exchange where the asset is listed. TYPESTRING.
|
213
|
-
exchange?: string;
|
214
|
-
// Currency in which the asset is traded. TYPESTRING.
|
215
|
-
currency?: string;
|
216
|
-
// Country where the asset is based. TYPESTRING.
|
217
|
-
country?: string;
|
218
|
-
// Sector classification of the asset. TYPESTRING.
|
219
|
-
sector?: string;
|
220
|
-
// Industry classification of the asset. TYPESTRING.
|
221
|
-
industry?: string;
|
222
|
-
// Physical address associated with the asset. TYPESTRING.
|
223
|
-
address?: string;
|
224
|
-
// Official website of the asset. TYPESTRING.
|
225
|
-
officialSite?: string;
|
226
|
-
// Fiscal year-end date of the asset. TYPESTRING.
|
227
|
-
fiscalYearEnd?: string;
|
228
|
-
// Date of the latest financial quarter. TYPESTRING.
|
229
|
-
latestQuarter?: string;
|
230
|
-
// Market capitalization of the asset. TYPESTRING.
|
231
|
-
marketCapitalization?: string;
|
232
|
-
// Earnings Before Interest, Taxes, Depreciation, and Amortization. TYPESTRING.
|
233
|
-
ebitda?: string;
|
234
|
-
// Price-to-Earnings ratio. TYPESTRING.
|
235
|
-
peRatio?: string;
|
236
|
-
// Price/Earnings to Growth ratio. TYPESTRING.
|
237
|
-
pegRatio?: string;
|
238
|
-
// Book value per share. TYPESTRING.
|
239
|
-
bookValue?: string;
|
240
|
-
// Dividend per share. TYPESTRING.
|
241
|
-
dividendPerShare?: string;
|
242
|
-
// Dividend yield percentage. TYPESTRING.
|
243
|
-
dividendYield?: string;
|
244
|
-
// Earnings per share. TYPESTRING.
|
245
|
-
eps?: string;
|
246
|
-
// Revenue per share over the trailing twelve months. TYPESTRING.
|
247
|
-
revenuePerShareTTM?: string;
|
248
|
-
// Profit margin percentage. TYPESTRING.
|
249
|
-
profitMargin?: string;
|
250
|
-
// Operating margin over the trailing twelve months. TYPESTRING.
|
251
|
-
operatingMarginTTM?: string;
|
252
|
-
// Return on assets over the trailing twelve months. TYPESTRING.
|
253
|
-
returnOnAssetsTTM?: string;
|
254
|
-
// Return on equity over the trailing twelve months. TYPESTRING.
|
255
|
-
returnOnEquityTTM?: string;
|
256
|
-
// Total revenue over the trailing twelve months. TYPESTRING.
|
257
|
-
revenueTTM?: string;
|
258
|
-
// Gross profit over the trailing twelve months. TYPESTRING.
|
259
|
-
grossProfitTTM?: string;
|
260
|
-
// Diluted earnings per share over the trailing twelve months. TYPESTRING.
|
261
|
-
dilutedEPSTTM?: string;
|
262
|
-
// Year-over-year growth in quarterly earnings. TYPESTRING.
|
263
|
-
quarterlyEarningsGrowthYOY?: string;
|
264
|
-
// Year-over-year growth in quarterly revenue. TYPESTRING.
|
265
|
-
quarterlyRevenueGrowthYOY?: string;
|
266
|
-
// Analyst target price for the asset. TYPESTRING.
|
267
|
-
analystTargetPrice?: string;
|
268
|
-
// Percentage of analysts rating the asset as Strong Buy. TYPESTRING.
|
269
|
-
analystRatingStrongBuy?: string;
|
270
|
-
// Percentage of analysts rating the asset as Buy. TYPESTRING.
|
271
|
-
analystRatingBuy?: string;
|
272
|
-
// Percentage of analysts rating the asset as Hold. TYPESTRING.
|
273
|
-
analystRatingHold?: string;
|
274
|
-
// Percentage of analysts rating the asset as Sell. TYPESTRING.
|
275
|
-
analystRatingSell?: string;
|
276
|
-
// Percentage of analysts rating the asset as Strong Sell. TYPESTRING.
|
277
|
-
analystRatingStrongSell?: string;
|
278
|
-
// Trailing Price-to-Earnings ratio. TYPESTRING.
|
279
|
-
trailingPE?: string;
|
280
|
-
// Forward Price-to-Earnings ratio. TYPESTRING.
|
281
|
-
forwardPE?: string;
|
282
|
-
// Price-to-Sales ratio over the trailing twelve months. TYPESTRING.
|
283
|
-
priceToSalesRatioTTM?: string;
|
284
|
-
// Price-to-Book ratio. TYPESTRING.
|
285
|
-
priceToBookRatio?: string;
|
286
|
-
// Enterprise Value to Revenue ratio. TYPESTRING.
|
287
|
-
evToRevenue?: string;
|
288
|
-
// Enterprise Value to EBITDA ratio. TYPESTRING.
|
289
|
-
evToEbitda?: string;
|
290
|
-
// Beta coefficient measuring volatility. TYPESTRING.
|
291
|
-
beta?: string;
|
292
|
-
// 52-week high price of the asset. TYPESTRING.
|
293
|
-
week52High?: string;
|
294
|
-
// 52-week low price of the asset. TYPESTRING.
|
295
|
-
week52Low?: string;
|
296
|
-
// 50-day moving average price. TYPESTRING.
|
297
|
-
day50MovingAverage?: string;
|
298
|
-
// 200-day moving average price. TYPESTRING.
|
299
|
-
day200MovingAverage?: string;
|
300
|
-
// Total number of shares outstanding. TYPESTRING.
|
301
|
-
sharesOutstanding?: string;
|
302
|
-
// Date when the next dividend is paid. TYPESTRING.
|
303
|
-
dividendDate?: string;
|
304
|
-
// Date when the asset goes ex-dividend. TYPESTRING.
|
305
|
-
exDividendDate?: string;
|
306
|
-
// Last ask price of the asset. TYPESTRING.
|
307
|
-
askPrice?: string;
|
308
|
-
// Last bid price of the asset. TYPESTRING.
|
309
|
-
bidPrice?: string;
|
310
|
-
// List of orders involving this asset. TYPESTRING. GQL.
|
311
|
-
orders: {
|
312
|
-
// Quantity of the asset to be ordered.
|
313
|
-
qty?: number;
|
314
|
-
// Notional value of the order. Optional, used if qty is not provided. But importantly, either qty or notional must be provided.
|
315
|
-
notional?: number;
|
316
|
-
// Side of the order (BUY or SELL).
|
317
|
-
side: OrderSide;
|
318
|
-
// Type of order (market, limit, stop, stop_limit, trailing_stop).
|
319
|
-
type: OrderType;
|
320
|
-
// Order class for advanced order types (simple, bracket, oco, oso).
|
321
|
-
orderClass: OrderClass;
|
322
|
-
// Time in force for the order (day, gtc, opg, cls, ioc, fok).
|
323
|
-
timeInForce: TimeInForce;
|
324
|
-
// Must be a positive number and required for LIMIT or STOP_LIMIT orders. For take_profit, must be ≥ base_price + 0.01.
|
325
|
-
limitPrice?: number;
|
326
|
-
// Must be a positive number and required for STOP or STOP_LIMIT orders.
|
327
|
-
stopPrice?: number;
|
328
|
-
// Stop loss object required for bracket orders.
|
329
|
-
stopLoss?: {
|
330
|
-
any
|
331
|
-
};
|
332
|
-
// Take profit object required for bracket orders.
|
333
|
-
takeProfit?: {
|
334
|
-
any
|
335
|
-
};
|
336
|
-
// Must be a positive number and required for TRAILING_STOP orders.
|
337
|
-
trailPrice?: number;
|
338
|
-
// Must be a positive number representing the percentage and required for TRAILING_STOP orders.
|
339
|
-
trailPercent?: number;
|
340
|
-
// Whether the order is eligible for extended hours.
|
341
|
-
extendedHours?: boolean;
|
342
|
-
// Current status of the order.
|
343
|
-
status: OrderStatus;
|
344
|
-
// Timestamp when the order was submitted.
|
345
|
-
submittedAt?: Date;
|
346
|
-
// Timestamp when the order was filled.
|
347
|
-
filledAt?: Date;
|
348
|
-
// Average price at which the order was filled.
|
349
|
-
filledAvgPrice?: number;
|
350
|
-
// The Alpaca account this order is associated with. TYPESTRING. GQL.
|
351
|
-
alpacaAccount: {
|
352
|
-
any
|
353
|
-
};
|
354
|
-
// Fee associated with the order.
|
355
|
-
fee?: number;
|
356
|
-
// Strike price for option orders.
|
357
|
-
strikePrice?: number;
|
358
|
-
// Expiration date for option orders.
|
359
|
-
expirationDate?: Date;
|
360
|
-
// If the asset.type is OPTION, then provide type of contract (CALL or PUT).
|
361
|
-
optionType?: OptionType;
|
362
|
-
}[];
|
363
|
-
// List of positions involving this asset. TYPESTRING. GQL.
|
364
|
-
positions: {
|
365
|
-
// The average price at which the asset was acquired.
|
366
|
-
averageEntryPrice: number;
|
367
|
-
// Total quantity of the asset held.
|
368
|
-
qty: number;
|
369
|
-
// Quantity of the asset available for trading.
|
370
|
-
qtyAvailable: number;
|
371
|
-
// Current market value of the position.
|
372
|
-
marketValue: number;
|
373
|
-
// Total cost basis of the position.
|
374
|
-
costBasis: number;
|
375
|
-
// Unrealized profit or loss of the position.
|
376
|
-
unrealizedPL: number;
|
377
|
-
// Unrealized profit or loss as a percentage.
|
378
|
-
unrealizedPLPC: number;
|
379
|
-
// Unrealized intraday profit or loss.
|
380
|
-
unrealisedIntradayPL: number;
|
381
|
-
// Unrealized intraday profit or loss as a percentage.
|
382
|
-
unrealisedIntradayPLPC: number;
|
383
|
-
// Current price of the asset.
|
384
|
-
currentPrice: number;
|
385
|
-
// Last traded price of the asset.
|
386
|
-
lastTradePrice: number;
|
387
|
-
// Price change of the asset for the day.
|
388
|
-
changeToday: number;
|
389
|
-
// Indicates if the asset is marginable.
|
390
|
-
assetMarginable: boolean;
|
391
|
-
// Relation to the AlpacaAccount model, if applicable. TYPESTRING. GQL.
|
392
|
-
alpacaAccount?: {
|
393
|
-
any
|
394
|
-
};
|
395
|
-
}[];
|
396
|
-
// List of news article sentiments related to this asset. TYPESTRING. GQL.
|
397
|
-
newsMentions: {
|
398
|
-
// URL of the news article, must be unique.
|
399
|
-
url: string;
|
400
|
-
// Relation to the NewsArticle model. TYPESTRING. GQL.
|
401
|
-
news: {
|
402
|
-
any
|
403
|
-
};
|
404
|
-
// Relevancy score indicating how relevant the news is to the asset.
|
405
|
-
relevancyScore?: string;
|
406
|
-
// Sentiment score derived from the news content.
|
407
|
-
sentimentScore?: string;
|
408
|
-
// Label indicating the overall sentiment (e.g., Positive, Negative, Neutral).
|
409
|
-
sentimentLabel?: string;
|
410
|
-
}[];
|
411
|
-
};
|
412
|
-
};
|
413
|
-
// The order associated with this action. GQL.
|
17
|
+
// The order associated with this action.
|
414
18
|
order?: {
|
415
19
|
// Quantity of the asset to be ordered.
|
416
20
|
qty?: number;
|
@@ -456,140 +60,7 @@ export type Action = {
|
|
456
60
|
filledAt?: Date;
|
457
61
|
// Average price at which the order was filled.
|
458
62
|
filledAvgPrice?: number;
|
459
|
-
// The
|
460
|
-
alpacaAccount: {
|
461
|
-
// The type of Alpaca account (PAPER or LIVE).
|
462
|
-
type: AlpacaAccountType;
|
463
|
-
// API key for authenticating requests to Alpaca. TYPESTRING.
|
464
|
-
APIKey: string;
|
465
|
-
// API secret for authenticating requests to Alpaca. TYPESTRING.
|
466
|
-
APISecret: string;
|
467
|
-
// JSON configuration settings for the Alpaca account.
|
468
|
-
configuration?: any;
|
469
|
-
// Indicates whether the market is currently open for trading.
|
470
|
-
marketOpen: boolean;
|
471
|
-
// Minimum order size for the account. TYPESTRING.
|
472
|
-
minOrderSize: number;
|
473
|
-
// Maximum order size for the account. TYPESTRING.
|
474
|
-
maxOrderSize: number;
|
475
|
-
// Minimum percentage change (from intraday high/low) to consider for a trade signal. TYPESTRING.
|
476
|
-
minPercentageChange: number;
|
477
|
-
// Volume threshold for a trade signal (minimum volume qualifier to consider an asset for trading). TYPESTRING.
|
478
|
-
volumeThreshold: number;
|
479
|
-
// Relation to the User model who owns this Alpaca account. TYPESTRING.
|
480
|
-
user: {
|
481
|
-
// The user's full name.
|
482
|
-
name?: string;
|
483
|
-
// The user's email address, must be unique.
|
484
|
-
email?: string;
|
485
|
-
// Timestamp when the user's email was verified. TYPESTRING.
|
486
|
-
emailVerified?: Date;
|
487
|
-
// URL to the user's profile image.
|
488
|
-
image?: string;
|
489
|
-
// The role assigned to the user, determining permissions.
|
490
|
-
role: UserRole;
|
491
|
-
// A short biography or description of the user.
|
492
|
-
bio?: string;
|
493
|
-
// The user's job title or position.
|
494
|
-
jobTitle?: string;
|
495
|
-
// The type of Alpaca account the user currently holds.
|
496
|
-
currentAccount: AlpacaAccountType;
|
497
|
-
// Relation to the Customer model. TYPESTRING. GQL.
|
498
|
-
customer?: {
|
499
|
-
any
|
500
|
-
};
|
501
|
-
// List of accounts associated with the user. TYPESTRING. GQL.
|
502
|
-
accounts: {
|
503
|
-
any
|
504
|
-
}[];
|
505
|
-
// List of sessions associated with the user. TYPESTRING. GQL.
|
506
|
-
sessions: {
|
507
|
-
any
|
508
|
-
}[];
|
509
|
-
// List of authenticators for the user. TYPESTRING. GQL.
|
510
|
-
authenticators: {
|
511
|
-
any
|
512
|
-
}[];
|
513
|
-
// The subscription plan the user is enrolled in.
|
514
|
-
plan?: SubscriptionPlan;
|
515
|
-
// OpenAI API key for the user.
|
516
|
-
openaiAPIKey?: string;
|
517
|
-
// OpenAI API Language model selected by the user
|
518
|
-
openaiModel?: OpenaiModel;
|
519
|
-
};
|
520
|
-
// List of trades executed through this Alpaca account. TYPESTRING.
|
521
|
-
trades: {
|
522
|
-
// Quantity of the asset being traded.
|
523
|
-
qty: number;
|
524
|
-
// Price at which the asset was traded.
|
525
|
-
price: number;
|
526
|
-
// Total value of the trade (qty * price).
|
527
|
-
total: number;
|
528
|
-
// Option Type (CALL or PUT) if the asset is an option.
|
529
|
-
optionType?: OptionType;
|
530
|
-
// Signal that triggered the trade.
|
531
|
-
signal: TradeSignal;
|
532
|
-
// Strategy used to execute the trade.
|
533
|
-
strategy: TradeStrategy;
|
534
|
-
// Analysis supporting the trade decision as markdown text. TYPESTRING.
|
535
|
-
analysis: string;
|
536
|
-
// summary of the trade decision (this should be a short description of the trade).
|
537
|
-
summary: string;
|
538
|
-
// Confidence level in the trade decision.
|
539
|
-
confidence: number;
|
540
|
-
// Timestamp when the trade was executed. TYPESTRING.
|
541
|
-
timestamp: Date;
|
542
|
-
// Current status of the trade.
|
543
|
-
status: TradeStatus;
|
544
|
-
// Relation to the Asset model. TYPESTRING. GQL.
|
545
|
-
asset: {
|
546
|
-
any
|
547
|
-
};
|
548
|
-
}[];
|
549
|
-
// List of positions held in this Alpaca account. TYPESTRING. GQL.
|
550
|
-
positions: {
|
551
|
-
// Relation to the Asset model. TYPESTRING. GQL.
|
552
|
-
asset: {
|
553
|
-
any
|
554
|
-
};
|
555
|
-
// The average price at which the asset was acquired.
|
556
|
-
averageEntryPrice: number;
|
557
|
-
// Total quantity of the asset held.
|
558
|
-
qty: number;
|
559
|
-
// Quantity of the asset available for trading.
|
560
|
-
qtyAvailable: number;
|
561
|
-
// Current market value of the position.
|
562
|
-
marketValue: number;
|
563
|
-
// Total cost basis of the position.
|
564
|
-
costBasis: number;
|
565
|
-
// Unrealized profit or loss of the position.
|
566
|
-
unrealizedPL: number;
|
567
|
-
// Unrealized profit or loss as a percentage.
|
568
|
-
unrealizedPLPC: number;
|
569
|
-
// Unrealized intraday profit or loss.
|
570
|
-
unrealisedIntradayPL: number;
|
571
|
-
// Unrealized intraday profit or loss as a percentage.
|
572
|
-
unrealisedIntradayPLPC: number;
|
573
|
-
// Current price of the asset.
|
574
|
-
currentPrice: number;
|
575
|
-
// Last traded price of the asset.
|
576
|
-
lastTradePrice: number;
|
577
|
-
// Price change of the asset for the day.
|
578
|
-
changeToday: number;
|
579
|
-
// Indicates if the asset is marginable.
|
580
|
-
assetMarginable: boolean;
|
581
|
-
}[];
|
582
|
-
// List of alerts generated for this Alpaca account. TYPESTRING.
|
583
|
-
alerts: {
|
584
|
-
// Message content of the alert.
|
585
|
-
message: string;
|
586
|
-
// Type of the alert, defined by AlertType enum.
|
587
|
-
type: AlertType;
|
588
|
-
// Indicates whether the alert has been read by the user.
|
589
|
-
isRead: boolean;
|
590
|
-
}[];
|
591
|
-
};
|
592
|
-
// The asset this order is for. TYPESTRING. GQL.
|
63
|
+
// The asset this order is for.
|
593
64
|
asset: {
|
594
65
|
// Ticker symbol of the asset, must be unique.
|
595
66
|
symbol: string;
|
@@ -597,187 +68,6 @@ export type Action = {
|
|
597
68
|
name: string;
|
598
69
|
// Type of the asset, defined by AssetType enum.
|
599
70
|
type: AssetType;
|
600
|
-
// URL to the asset's logo image. TYPESTRING.
|
601
|
-
logoUrl?: string;
|
602
|
-
// Description of the asset. TYPESTRING.
|
603
|
-
description?: string;
|
604
|
-
// Central Index Key for the asset. TYPESTRING.
|
605
|
-
cik?: string;
|
606
|
-
// Stock exchange where the asset is listed. TYPESTRING.
|
607
|
-
exchange?: string;
|
608
|
-
// Currency in which the asset is traded. TYPESTRING.
|
609
|
-
currency?: string;
|
610
|
-
// Country where the asset is based. TYPESTRING.
|
611
|
-
country?: string;
|
612
|
-
// Sector classification of the asset. TYPESTRING.
|
613
|
-
sector?: string;
|
614
|
-
// Industry classification of the asset. TYPESTRING.
|
615
|
-
industry?: string;
|
616
|
-
// Physical address associated with the asset. TYPESTRING.
|
617
|
-
address?: string;
|
618
|
-
// Official website of the asset. TYPESTRING.
|
619
|
-
officialSite?: string;
|
620
|
-
// Fiscal year-end date of the asset. TYPESTRING.
|
621
|
-
fiscalYearEnd?: string;
|
622
|
-
// Date of the latest financial quarter. TYPESTRING.
|
623
|
-
latestQuarter?: string;
|
624
|
-
// Market capitalization of the asset. TYPESTRING.
|
625
|
-
marketCapitalization?: string;
|
626
|
-
// Earnings Before Interest, Taxes, Depreciation, and Amortization. TYPESTRING.
|
627
|
-
ebitda?: string;
|
628
|
-
// Price-to-Earnings ratio. TYPESTRING.
|
629
|
-
peRatio?: string;
|
630
|
-
// Price/Earnings to Growth ratio. TYPESTRING.
|
631
|
-
pegRatio?: string;
|
632
|
-
// Book value per share. TYPESTRING.
|
633
|
-
bookValue?: string;
|
634
|
-
// Dividend per share. TYPESTRING.
|
635
|
-
dividendPerShare?: string;
|
636
|
-
// Dividend yield percentage. TYPESTRING.
|
637
|
-
dividendYield?: string;
|
638
|
-
// Earnings per share. TYPESTRING.
|
639
|
-
eps?: string;
|
640
|
-
// Revenue per share over the trailing twelve months. TYPESTRING.
|
641
|
-
revenuePerShareTTM?: string;
|
642
|
-
// Profit margin percentage. TYPESTRING.
|
643
|
-
profitMargin?: string;
|
644
|
-
// Operating margin over the trailing twelve months. TYPESTRING.
|
645
|
-
operatingMarginTTM?: string;
|
646
|
-
// Return on assets over the trailing twelve months. TYPESTRING.
|
647
|
-
returnOnAssetsTTM?: string;
|
648
|
-
// Return on equity over the trailing twelve months. TYPESTRING.
|
649
|
-
returnOnEquityTTM?: string;
|
650
|
-
// Total revenue over the trailing twelve months. TYPESTRING.
|
651
|
-
revenueTTM?: string;
|
652
|
-
// Gross profit over the trailing twelve months. TYPESTRING.
|
653
|
-
grossProfitTTM?: string;
|
654
|
-
// Diluted earnings per share over the trailing twelve months. TYPESTRING.
|
655
|
-
dilutedEPSTTM?: string;
|
656
|
-
// Year-over-year growth in quarterly earnings. TYPESTRING.
|
657
|
-
quarterlyEarningsGrowthYOY?: string;
|
658
|
-
// Year-over-year growth in quarterly revenue. TYPESTRING.
|
659
|
-
quarterlyRevenueGrowthYOY?: string;
|
660
|
-
// Analyst target price for the asset. TYPESTRING.
|
661
|
-
analystTargetPrice?: string;
|
662
|
-
// Percentage of analysts rating the asset as Strong Buy. TYPESTRING.
|
663
|
-
analystRatingStrongBuy?: string;
|
664
|
-
// Percentage of analysts rating the asset as Buy. TYPESTRING.
|
665
|
-
analystRatingBuy?: string;
|
666
|
-
// Percentage of analysts rating the asset as Hold. TYPESTRING.
|
667
|
-
analystRatingHold?: string;
|
668
|
-
// Percentage of analysts rating the asset as Sell. TYPESTRING.
|
669
|
-
analystRatingSell?: string;
|
670
|
-
// Percentage of analysts rating the asset as Strong Sell. TYPESTRING.
|
671
|
-
analystRatingStrongSell?: string;
|
672
|
-
// Trailing Price-to-Earnings ratio. TYPESTRING.
|
673
|
-
trailingPE?: string;
|
674
|
-
// Forward Price-to-Earnings ratio. TYPESTRING.
|
675
|
-
forwardPE?: string;
|
676
|
-
// Price-to-Sales ratio over the trailing twelve months. TYPESTRING.
|
677
|
-
priceToSalesRatioTTM?: string;
|
678
|
-
// Price-to-Book ratio. TYPESTRING.
|
679
|
-
priceToBookRatio?: string;
|
680
|
-
// Enterprise Value to Revenue ratio. TYPESTRING.
|
681
|
-
evToRevenue?: string;
|
682
|
-
// Enterprise Value to EBITDA ratio. TYPESTRING.
|
683
|
-
evToEbitda?: string;
|
684
|
-
// Beta coefficient measuring volatility. TYPESTRING.
|
685
|
-
beta?: string;
|
686
|
-
// 52-week high price of the asset. TYPESTRING.
|
687
|
-
week52High?: string;
|
688
|
-
// 52-week low price of the asset. TYPESTRING.
|
689
|
-
week52Low?: string;
|
690
|
-
// 50-day moving average price. TYPESTRING.
|
691
|
-
day50MovingAverage?: string;
|
692
|
-
// 200-day moving average price. TYPESTRING.
|
693
|
-
day200MovingAverage?: string;
|
694
|
-
// Total number of shares outstanding. TYPESTRING.
|
695
|
-
sharesOutstanding?: string;
|
696
|
-
// Date when the next dividend is paid. TYPESTRING.
|
697
|
-
dividendDate?: string;
|
698
|
-
// Date when the asset goes ex-dividend. TYPESTRING.
|
699
|
-
exDividendDate?: string;
|
700
|
-
// Last ask price of the asset. TYPESTRING.
|
701
|
-
askPrice?: string;
|
702
|
-
// Last bid price of the asset. TYPESTRING.
|
703
|
-
bidPrice?: string;
|
704
|
-
// List of trades involving this asset. TYPESTRING. GQL.
|
705
|
-
trades: {
|
706
|
-
// Quantity of the asset being traded.
|
707
|
-
qty: number;
|
708
|
-
// Price at which the asset was traded.
|
709
|
-
price: number;
|
710
|
-
// Total value of the trade (qty * price).
|
711
|
-
total: number;
|
712
|
-
// Option Type (CALL or PUT) if the asset is an option.
|
713
|
-
optionType?: OptionType;
|
714
|
-
// Signal that triggered the trade.
|
715
|
-
signal: TradeSignal;
|
716
|
-
// Strategy used to execute the trade.
|
717
|
-
strategy: TradeStrategy;
|
718
|
-
// Analysis supporting the trade decision as markdown text. TYPESTRING.
|
719
|
-
analysis: string;
|
720
|
-
// summary of the trade decision (this should be a short description of the trade).
|
721
|
-
summary: string;
|
722
|
-
// Confidence level in the trade decision.
|
723
|
-
confidence: number;
|
724
|
-
// Timestamp when the trade was executed. TYPESTRING.
|
725
|
-
timestamp: Date;
|
726
|
-
// Current status of the trade.
|
727
|
-
status: TradeStatus;
|
728
|
-
// Relation to the AlpacaAccount model. TYPESTRING. GQL.
|
729
|
-
alpacaAccount: {
|
730
|
-
any
|
731
|
-
};
|
732
|
-
}[];
|
733
|
-
// List of positions involving this asset. TYPESTRING. GQL.
|
734
|
-
positions: {
|
735
|
-
// The average price at which the asset was acquired.
|
736
|
-
averageEntryPrice: number;
|
737
|
-
// Total quantity of the asset held.
|
738
|
-
qty: number;
|
739
|
-
// Quantity of the asset available for trading.
|
740
|
-
qtyAvailable: number;
|
741
|
-
// Current market value of the position.
|
742
|
-
marketValue: number;
|
743
|
-
// Total cost basis of the position.
|
744
|
-
costBasis: number;
|
745
|
-
// Unrealized profit or loss of the position.
|
746
|
-
unrealizedPL: number;
|
747
|
-
// Unrealized profit or loss as a percentage.
|
748
|
-
unrealizedPLPC: number;
|
749
|
-
// Unrealized intraday profit or loss.
|
750
|
-
unrealisedIntradayPL: number;
|
751
|
-
// Unrealized intraday profit or loss as a percentage.
|
752
|
-
unrealisedIntradayPLPC: number;
|
753
|
-
// Current price of the asset.
|
754
|
-
currentPrice: number;
|
755
|
-
// Last traded price of the asset.
|
756
|
-
lastTradePrice: number;
|
757
|
-
// Price change of the asset for the day.
|
758
|
-
changeToday: number;
|
759
|
-
// Indicates if the asset is marginable.
|
760
|
-
assetMarginable: boolean;
|
761
|
-
// Relation to the AlpacaAccount model, if applicable. TYPESTRING. GQL.
|
762
|
-
alpacaAccount?: {
|
763
|
-
any
|
764
|
-
};
|
765
|
-
}[];
|
766
|
-
// List of news article sentiments related to this asset. TYPESTRING. GQL.
|
767
|
-
newsMentions: {
|
768
|
-
// URL of the news article, must be unique.
|
769
|
-
url: string;
|
770
|
-
// Relation to the NewsArticle model. TYPESTRING. GQL.
|
771
|
-
news: {
|
772
|
-
any
|
773
|
-
};
|
774
|
-
// Relevancy score indicating how relevant the news is to the asset.
|
775
|
-
relevancyScore?: string;
|
776
|
-
// Sentiment score derived from the news content.
|
777
|
-
sentimentScore?: string;
|
778
|
-
// Label indicating the overall sentiment (e.g., Positive, Negative, Neutral).
|
779
|
-
sentimentLabel?: string;
|
780
|
-
}[];
|
781
71
|
};
|
782
72
|
// Fee associated with the order.
|
783
73
|
fee?: number;
|
@@ -805,109 +95,6 @@ export enum ActionStatus {
|
|
805
95
|
COMPLETED = "COMPLETED"
|
806
96
|
}
|
807
97
|
|
808
|
-
export enum OptionType {
|
809
|
-
CALL = "CALL",
|
810
|
-
PUT = "PUT"
|
811
|
-
}
|
812
|
-
|
813
|
-
export enum TradeSignal {
|
814
|
-
GOLDEN_CROSS = "GOLDEN_CROSS",
|
815
|
-
MOVING_AVERAGE_CROSSOVER = "MOVING_AVERAGE_CROSSOVER",
|
816
|
-
RSI_OVERBOUGHT = "RSI_OVERBOUGHT",
|
817
|
-
RSI_OVERSOLD = "RSI_OVERSOLD",
|
818
|
-
MACD_CROSSOVER = "MACD_CROSSOVER",
|
819
|
-
BOLLINGER_BANDS_BREAKOUT = "BOLLINGER_BANDS_BREAKOUT",
|
820
|
-
TREND_REVERSAL = "TREND_REVERSAL",
|
821
|
-
VOLATILITY_SPIKE = "VOLATILITY_SPIKE",
|
822
|
-
PRICE_ACTION = "PRICE_ACTION",
|
823
|
-
IMPLIED_VOLATILITY_SURGE = "IMPLIED_VOLATILITY_SURGE",
|
824
|
-
BREAKOUT_ABOVE_RESISTANCE = "BREAKOUT_ABOVE_RESISTANCE",
|
825
|
-
BREAKDOWN_BELOW_SUPPORT = "BREAKDOWN_BELOW_SUPPORT",
|
826
|
-
SUPPORT_LEVEL_HOLD = "SUPPORT_LEVEL_HOLD",
|
827
|
-
RESISTANCE_LEVEL_HOLD = "RESISTANCE_LEVEL_HOLD",
|
828
|
-
FIBONACCI_RETRACEMENT = "FIBONACCI_RETRACEMENT",
|
829
|
-
ELLIOTT_WAVE = "ELLIOTT_WAVE",
|
830
|
-
PARABOLIC_SAR = "PARABOLIC_SAR",
|
831
|
-
ADX_TREND_STRENGTH = "ADX_TREND_STRENGTH",
|
832
|
-
CCI_OVERBOUGHT = "CCI_OVERBOUGHT",
|
833
|
-
CCI_OVERSOLD = "CCI_OVERSOLD",
|
834
|
-
STOCHASTIC_OVERSOLD = "STOCHASTIC_OVERSOLD",
|
835
|
-
STOCHASTIC_OVERBOUGHT = "STOCHASTIC_OVERBOUGHT",
|
836
|
-
DIVERGENCE_SIGNAL = "DIVERGENCE_SIGNAL",
|
837
|
-
GANN_FAN = "GANN_FAN",
|
838
|
-
DONCHIAN_CHANNEL_BREAKOUT = "DONCHIAN_CHANNEL_BREAKOUT",
|
839
|
-
PIVOT_POINT = "PIVOT_POINT",
|
840
|
-
KELTNER_CHANNEL_BREAK = "KELTNER_CHANNEL_BREAK",
|
841
|
-
HEIKIN_ASHI_CROSSOVER = "HEIKIN_ASHI_CROSSOVER",
|
842
|
-
VOLUME_SURGE = "VOLUME_SURGE",
|
843
|
-
ORDER_BOOK_IMBALANCE = "ORDER_BOOK_IMBALANCE",
|
844
|
-
TIME_SERIES_ANOMALY = "TIME_SERIES_ANOMALY",
|
845
|
-
MEAN_REVERSION_LEVEL = "MEAN_REVERSION_LEVEL",
|
846
|
-
PAIR_TRADING_SIGNAL = "PAIR_TRADING_SIGNAL",
|
847
|
-
SENTIMENT_SCORE_THRESHOLD = "SENTIMENT_SCORE_THRESHOLD",
|
848
|
-
NEWS_SENTIMENT_CHANGE = "NEWS_SENTIMENT_CHANGE",
|
849
|
-
ORDER_FLOW_IMPACT = "ORDER_FLOW_IMPACT",
|
850
|
-
LIQUIDITY_DRIVEN_MOVE = "LIQUIDITY_DRIVEN_MOVE",
|
851
|
-
MACHINE_LEARNING_PREDICTION = "MACHINE_LEARNING_PREDICTION",
|
852
|
-
SENTIMENT_ANALYSIS_TRIGGER = "SENTIMENT_ANALYSIS_TRIGGER",
|
853
|
-
NO_SIGNAL = "NO_SIGNAL"
|
854
|
-
}
|
855
|
-
|
856
|
-
export enum TradeStrategy {
|
857
|
-
TECHNICAL_ANALYSIS = "TECHNICAL_ANALYSIS",
|
858
|
-
TREND_FOLLOWING = "TREND_FOLLOWING",
|
859
|
-
MEAN_REVERSION = "MEAN_REVERSION",
|
860
|
-
OPTIONS_STRATEGY = "OPTIONS_STRATEGY",
|
861
|
-
MOMENTUM_STRATEGY = "MOMENTUM_STRATEGY",
|
862
|
-
ARBITRAGE = "ARBITRAGE",
|
863
|
-
STATISTICAL_ARBITRAGE = "STATISTICAL_ARBITRAGE",
|
864
|
-
MARKET_MAKING = "MARKET_MAKING",
|
865
|
-
NEWS_BASED_STRATEGY = "NEWS_BASED_STRATEGY",
|
866
|
-
SENTIMENT_ANALYSIS = "SENTIMENT_ANALYSIS",
|
867
|
-
LIQUIDITY_PROVISION = "LIQUIDITY_PROVISION",
|
868
|
-
SCALPING = "SCALPING",
|
869
|
-
VOLATILITY_TRADING = "VOLATILITY_TRADING",
|
870
|
-
EVENT_DRIVEN = "EVENT_DRIVEN",
|
871
|
-
BREAKOUT_STRATEGY = "BREAKOUT_STRATEGY",
|
872
|
-
ORDER_FLOW_TRADING = "ORDER_FLOW_TRADING",
|
873
|
-
PAIR_TRADING = "PAIR_TRADING",
|
874
|
-
SECTOR_ROTATION = "SECTOR_ROTATION",
|
875
|
-
HIGH_FREQUENCY_TRADING = "HIGH_FREQUENCY_TRADING",
|
876
|
-
MACHINE_VISION_ANALYSIS = "MACHINE_VISION_ANALYSIS",
|
877
|
-
NO_STRATEGY = "NO_STRATEGY"
|
878
|
-
}
|
879
|
-
|
880
|
-
export enum TradeStatus {
|
881
|
-
PENDING = "PENDING",
|
882
|
-
OPEN = "OPEN",
|
883
|
-
PARTIAL = "PARTIAL",
|
884
|
-
COMPLETED = "COMPLETED"
|
885
|
-
}
|
886
|
-
|
887
|
-
export enum AlpacaAccountType {
|
888
|
-
PAPER = "PAPER",
|
889
|
-
LIVE = "LIVE"
|
890
|
-
}
|
891
|
-
|
892
|
-
export enum UserRole {
|
893
|
-
OWNER = "OWNER",
|
894
|
-
ADMIN = "ADMIN",
|
895
|
-
USER = "USER"
|
896
|
-
}
|
897
|
-
|
898
|
-
export enum SubscriptionPlan {
|
899
|
-
FREE = "FREE",
|
900
|
-
PRO = "PRO",
|
901
|
-
BUSINESS = "BUSINESS"
|
902
|
-
}
|
903
|
-
|
904
|
-
export enum OpenaiModel {
|
905
|
-
GPT_4O = "GPT_4O",
|
906
|
-
GPT_4O_MINI = "GPT_4O_MINI",
|
907
|
-
O1_PREVIEW = "O1_PREVIEW",
|
908
|
-
O1_MINI = "O1_MINI"
|
909
|
-
}
|
910
|
-
|
911
98
|
export enum OrderSide {
|
912
99
|
BUY = "BUY",
|
913
100
|
SELL = "SELL"
|
@@ -959,13 +146,6 @@ export enum OrderStatus {
|
|
959
146
|
CALCULATED = "CALCULATED"
|
960
147
|
}
|
961
148
|
|
962
|
-
export enum AlertType {
|
963
|
-
SUCCESS = "SUCCESS",
|
964
|
-
WARNING = "WARNING",
|
965
|
-
ERROR = "ERROR",
|
966
|
-
INFO = "INFO"
|
967
|
-
}
|
968
|
-
|
969
149
|
export enum AssetType {
|
970
150
|
STOCK = "STOCK",
|
971
151
|
ETF = "ETF",
|
@@ -990,5 +170,10 @@ export enum AssetType {
|
|
990
170
|
OTHER = "OTHER"
|
991
171
|
}
|
992
172
|
|
173
|
+
export enum OptionType {
|
174
|
+
CALL = "CALL",
|
175
|
+
PUT = "PUT"
|
176
|
+
}
|
177
|
+
|
993
178
|
`;
|
994
179
|
//# sourceMappingURL=Action.js.map
|