adaptic-backend 1.0.195 → 1.0.197
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/Order.cjs +0 -24
- package/Trade.cjs +0 -24
- package/generated/typeStrings/Action.cjs +105 -61
- 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 +12 -5
- 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 +0 -5
- 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 -24
- 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/Customer.cjs +0 -6
- 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/EconomicEvent.cjs +9 -4
- package/generated/typeStrings/EconomicEvent.d.ts +1 -1
- package/generated/typeStrings/EconomicEvent.d.ts.map +1 -1
- package/generated/typeStrings/EconomicEvent.js.map +1 -1
- package/generated/typeStrings/MarketSentiment.cjs +21 -8
- package/generated/typeStrings/MarketSentiment.d.ts +1 -1
- package/generated/typeStrings/MarketSentiment.d.ts.map +1 -1
- package/generated/typeStrings/MarketSentiment.js.map +1 -1
- package/generated/typeStrings/NewsArticleAssetSentiment.cjs +0 -24
- 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 +0 -81
- 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 +63 -22
- 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/Trade.cjs +236 -108
- 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 +32 -16
- 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 +12 -12
- package/generated/typegraphql-prisma/models/Action.d.ts +1 -1
- package/generated/typegraphql-prisma/models/Order.d.ts +1 -1
- package/generated/typegraphql-prisma/models/Trade.d.ts +2 -2
- package/generated/typegraphql-prisma/resolvers/relations/Action/ActionRelationsResolver.cjs +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/Action/ActionRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/Order/OrderRelationsResolver.cjs +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/Order/OrderRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.cjs +2 -2
- package/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.js.map +1 -1
- package/package.json +1 -1
- package/server/Order.d.ts.map +1 -1
- package/server/Order.js.map +1 -1
- package/server/Order.mjs +0 -24
- package/server/Trade.d.ts.map +1 -1
- package/server/Trade.js.map +1 -1
- package/server/Trade.mjs +0 -24
- package/server/generated/selectionSets/Order.d.ts +1 -1
- package/server/generated/selectionSets/Order.d.ts.map +1 -1
- package/server/generated/selectionSets/Order.js.map +1 -1
- package/server/generated/selectionSets/Order.mjs +0 -24
- package/server/generated/selectionSets/Trade.d.ts +1 -1
- package/server/generated/selectionSets/Trade.d.ts.map +1 -1
- package/server/generated/selectionSets/Trade.js.map +1 -1
- package/server/generated/selectionSets/Trade.mjs +0 -24
- 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 +105 -61
- 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 +12 -5
- 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 +0 -5
- 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 -24
- 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 +0 -6
- package/server/generated/typeStrings/EconomicEvent.d.ts +1 -1
- package/server/generated/typeStrings/EconomicEvent.d.ts.map +1 -1
- package/server/generated/typeStrings/EconomicEvent.js.map +1 -1
- package/server/generated/typeStrings/EconomicEvent.mjs +9 -4
- package/server/generated/typeStrings/MarketSentiment.d.ts +1 -1
- package/server/generated/typeStrings/MarketSentiment.d.ts.map +1 -1
- package/server/generated/typeStrings/MarketSentiment.js.map +1 -1
- package/server/generated/typeStrings/MarketSentiment.mjs +21 -8
- 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 -24
- 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 +0 -81
- 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 +63 -22
- 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 +236 -108
- 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 +32 -16
- package/server/generated/typeStrings/index.d.ts +12 -12
- package/server/generated/typegraphql-prisma/models/Action.d.ts +1 -1
- package/server/generated/typegraphql-prisma/models/Action.mjs +1 -1
- package/server/generated/typegraphql-prisma/models/Order.d.ts +1 -1
- package/server/generated/typegraphql-prisma/models/Order.mjs +1 -1
- package/server/generated/typegraphql-prisma/models/Trade.d.ts +2 -2
- package/server/generated/typegraphql-prisma/models/Trade.mjs +2 -2
- package/server/generated/typegraphql-prisma/resolvers/relations/Action/ActionRelationsResolver.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/relations/Action/ActionRelationsResolver.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 +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 +2 -2
package/server/Trade.mjs
CHANGED
@@ -23,30 +23,6 @@ const selectionSet = `
|
|
23
23
|
createdAt
|
24
24
|
updatedAt
|
25
25
|
status
|
26
|
-
alpacaAccount {
|
27
|
-
id
|
28
|
-
type
|
29
|
-
APIKey
|
30
|
-
APISecret
|
31
|
-
configuration
|
32
|
-
marketOpen
|
33
|
-
minOrderSize
|
34
|
-
maxOrderSize
|
35
|
-
minPercentageChange
|
36
|
-
volumeThreshold
|
37
|
-
userId
|
38
|
-
createdAt
|
39
|
-
updatedAt
|
40
|
-
alerts {
|
41
|
-
id
|
42
|
-
alpacaAccountId
|
43
|
-
message
|
44
|
-
type
|
45
|
-
isRead
|
46
|
-
createdAt
|
47
|
-
updatedAt
|
48
|
-
}
|
49
|
-
}
|
50
26
|
asset {
|
51
27
|
id
|
52
28
|
symbol
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const Order = "\n id\n clientOrderId\n alpacaAccountId\n assetId\n qty\n notional\n side\n type\n orderClass\n timeInForce\n limitPrice\n stopPrice\n stopLoss {\n id\n stopPrice\n limitPrice\n createdAt\n updatedAt\n orderId\n }\n takeProfit {\n id\n limitPrice\n stopPrice\n createdAt\n updatedAt\n orderId\n }\n trailPrice\n trailPercent\n extendedHours\n status\n createdAt\n updatedAt\n submittedAt\n filledAt\n filledQty\n filledAvgPrice\n cancelRequestedAt\n canceledAt\n actionId\n
|
1
|
+
export declare const Order = "\n id\n clientOrderId\n alpacaAccountId\n assetId\n qty\n notional\n side\n type\n orderClass\n timeInForce\n limitPrice\n stopPrice\n stopLoss {\n id\n stopPrice\n limitPrice\n createdAt\n updatedAt\n orderId\n }\n takeProfit {\n id\n limitPrice\n stopPrice\n createdAt\n updatedAt\n orderId\n }\n trailPrice\n trailPercent\n extendedHours\n status\n createdAt\n updatedAt\n submittedAt\n filledAt\n filledQty\n filledAvgPrice\n cancelRequestedAt\n canceledAt\n actionId\n action {\n id\n sequence\n tradeId\n type\n note\n status\n fee\n }\n asset {\n id\n symbol\n name\n type\n logoUrl\n description\n cik\n exchange\n currency\n country\n sector\n industry\n address\n officialSite\n fiscalYearEnd\n latestQuarter\n marketCapitalization\n ebitda\n peRatio\n pegRatio\n bookValue\n dividendPerShare\n dividendYield\n eps\n revenuePerShareTTM\n profitMargin\n operatingMarginTTM\n returnOnAssetsTTM\n returnOnEquityTTM\n revenueTTM\n grossProfitTTM\n dilutedEPSTTM\n quarterlyEarningsGrowthYOY\n quarterlyRevenueGrowthYOY\n analystTargetPrice\n analystRatingStrongBuy\n analystRatingBuy\n analystRatingHold\n analystRatingSell\n analystRatingStrongSell\n trailingPE\n forwardPE\n priceToSalesRatioTTM\n priceToBookRatio\n evToRevenue\n evToEbitda\n beta\n week52High\n week52Low\n day50MovingAverage\n day200MovingAverage\n sharesOutstanding\n dividendDate\n exDividendDate\n askPrice\n bidPrice\n createdAt\n updatedAt\n }\n fee\n strikePrice\n expirationDate\n optionType\n stopLossId\n takeProfitId\n";
|
2
2
|
//# sourceMappingURL=Order.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Order.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,
|
1
|
+
{"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Order.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,qvDAqHjB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Order.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Order.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG
|
1
|
+
{"version":3,"file":"Order.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Order.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqHpB,CAAC"}
|
@@ -40,30 +40,6 @@ export const Order = `
|
|
40
40
|
cancelRequestedAt
|
41
41
|
canceledAt
|
42
42
|
actionId
|
43
|
-
alpacaAccount {
|
44
|
-
id
|
45
|
-
type
|
46
|
-
APIKey
|
47
|
-
APISecret
|
48
|
-
configuration
|
49
|
-
marketOpen
|
50
|
-
minOrderSize
|
51
|
-
maxOrderSize
|
52
|
-
minPercentageChange
|
53
|
-
volumeThreshold
|
54
|
-
userId
|
55
|
-
createdAt
|
56
|
-
updatedAt
|
57
|
-
alerts {
|
58
|
-
id
|
59
|
-
alpacaAccountId
|
60
|
-
message
|
61
|
-
type
|
62
|
-
isRead
|
63
|
-
createdAt
|
64
|
-
updatedAt
|
65
|
-
}
|
66
|
-
}
|
67
43
|
action {
|
68
44
|
id
|
69
45
|
sequence
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const Trade = "\n id\n alpacaAccountId\n assetId\n qty\n price\n total\n optionType\n signal\n strategy\n analysis\n summary\n confidence\n timestamp\n createdAt\n updatedAt\n status\n
|
1
|
+
export declare const Trade = "\n id\n alpacaAccountId\n assetId\n qty\n price\n total\n optionType\n signal\n strategy\n analysis\n summary\n confidence\n timestamp\n createdAt\n updatedAt\n status\n asset {\n id\n symbol\n name\n type\n logoUrl\n description\n cik\n exchange\n currency\n country\n sector\n industry\n address\n officialSite\n fiscalYearEnd\n latestQuarter\n marketCapitalization\n ebitda\n peRatio\n pegRatio\n bookValue\n dividendPerShare\n dividendYield\n eps\n revenuePerShareTTM\n profitMargin\n operatingMarginTTM\n returnOnAssetsTTM\n returnOnEquityTTM\n revenueTTM\n grossProfitTTM\n dilutedEPSTTM\n quarterlyEarningsGrowthYOY\n quarterlyRevenueGrowthYOY\n analystTargetPrice\n analystRatingStrongBuy\n analystRatingBuy\n analystRatingHold\n analystRatingSell\n analystRatingStrongSell\n trailingPE\n forwardPE\n priceToSalesRatioTTM\n priceToBookRatio\n evToRevenue\n evToEbitda\n beta\n week52High\n week52Low\n day50MovingAverage\n day200MovingAverage\n sharesOutstanding\n dividendDate\n exDividendDate\n askPrice\n bidPrice\n createdAt\n updatedAt\n }\n actions {\n id\n sequence\n tradeId\n type\n note\n status\n fee\n order {\n id\n clientOrderId\n alpacaAccountId\n assetId\n qty\n notional\n side\n type\n orderClass\n timeInForce\n limitPrice\n stopPrice\n stopLoss {\n id\n stopPrice\n limitPrice\n createdAt\n updatedAt\n orderId\n }\n takeProfit {\n id\n limitPrice\n stopPrice\n createdAt\n updatedAt\n orderId\n }\n trailPrice\n trailPercent\n extendedHours\n status\n createdAt\n updatedAt\n submittedAt\n filledAt\n filledQty\n filledAvgPrice\n cancelRequestedAt\n canceledAt\n actionId\n asset {\n id\n symbol\n name\n type\n logoUrl\n description\n cik\n exchange\n currency\n country\n sector\n industry\n address\n officialSite\n fiscalYearEnd\n latestQuarter\n marketCapitalization\n ebitda\n peRatio\n pegRatio\n bookValue\n dividendPerShare\n dividendYield\n eps\n revenuePerShareTTM\n profitMargin\n operatingMarginTTM\n returnOnAssetsTTM\n returnOnEquityTTM\n revenueTTM\n grossProfitTTM\n dilutedEPSTTM\n quarterlyEarningsGrowthYOY\n quarterlyRevenueGrowthYOY\n analystTargetPrice\n analystRatingStrongBuy\n analystRatingBuy\n analystRatingHold\n analystRatingSell\n analystRatingStrongSell\n trailingPE\n forwardPE\n priceToSalesRatioTTM\n priceToBookRatio\n evToRevenue\n evToEbitda\n beta\n week52High\n week52Low\n day50MovingAverage\n day200MovingAverage\n sharesOutstanding\n dividendDate\n exDividendDate\n askPrice\n bidPrice\n createdAt\n updatedAt\n }\n fee\n strikePrice\n expirationDate\n optionType\n stopLossId\n takeProfitId\n }\n }\n";
|
2
2
|
//# sourceMappingURL=Trade.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Trade.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Trade.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,
|
1
|
+
{"version":3,"file":"Trade.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Trade.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,k5GAmMjB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Trade.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Trade.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG
|
1
|
+
{"version":3,"file":"Trade.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Trade.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmMpB,CAAC"}
|
@@ -15,30 +15,6 @@ export const Trade = `
|
|
15
15
|
createdAt
|
16
16
|
updatedAt
|
17
17
|
status
|
18
|
-
alpacaAccount {
|
19
|
-
id
|
20
|
-
type
|
21
|
-
APIKey
|
22
|
-
APISecret
|
23
|
-
configuration
|
24
|
-
marketOpen
|
25
|
-
minOrderSize
|
26
|
-
maxOrderSize
|
27
|
-
minPercentageChange
|
28
|
-
volumeThreshold
|
29
|
-
userId
|
30
|
-
createdAt
|
31
|
-
updatedAt
|
32
|
-
alerts {
|
33
|
-
id
|
34
|
-
alpacaAccountId
|
35
|
-
message
|
36
|
-
type
|
37
|
-
isRead
|
38
|
-
createdAt
|
39
|
-
updatedAt
|
40
|
-
}
|
41
|
-
}
|
42
18
|
asset {
|
43
19
|
id
|
44
20
|
symbol
|
@@ -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 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
|
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 strikePrice?: number;\n expirationDate?: Date;\n optionType?: OptionType;\n };\n};\n\nenum OrderSide {\n /// Represents the buying side of a trade action.\n BUY\n\n /// Represents the selling side of a trade action.\n SELL\n}\n\nenum OrderType {\n /// Executes immediately at the best available current market price.\n MARKET\n\n /// Executes only at the specified limit price or better.\n LIMIT\n\n /// Becomes a market order once the stop price is triggered.\n STOP\n\n /// Becomes a limit order once the stop price is triggered.\n STOP_LIMIT\n\n /// Adjusts the stop price based on a specified trail amount or percentage.\n TRAILING_STOP\n}\n\nenum OrderClass {\n /// A single standalone order without additional conditions.\n SIMPLE\n\n /// A primary order with attached take-profit and stop-loss orders to automatically manage the trade.\n BRACKET\n\n /// OCO (One-Cancels-Other): A pair of orders where the execution of one cancels the other.\n OCO\n\n /// OSO (One Sends Other): A chain of orders where the execution of one order triggers the placement of another.\n OSO\n\n /// OTO (One-Triggers-Other): Similar to BRACKET, where the execution of one order triggers the placement of another.\n OTO\n}\n\n// Time in force enum (day, gtc, opg, cls, etc.).\nenum TimeInForce {\n /// The order is valid for the day and expires at market close.\n DAY\n\n /// The order is valid until canceled by the user.\n GTC\n\n /// The order is valid for the opening of the market.\n OPG\n\n /// The order is valid until the close of the market.\n CLS\n\n /// The order must be executed immediately or canceled.\n IOC\n\n /// The order must be executed immediately or canceled.\n FOK\n}\n\nenum OrderStatus {\n /// The order has been staged in Adaptic to be sent to Alpaca. This is the initial status.\n STAGED\n\n /// The order has been received by Alpaca, and routed to exchanges for execution. This is the usual initial state of an order after being received.\n NEW\n\n /// The order has been partially filled.\n PARTIALLY_FILLED\n\n /// The order has been filled, and no further updates will occur for the order.\n FILLED\n\n /// The order is done executing for the day, and will not receive further updates until the next trading day.\n DONE_FOR_DAY\n\n /// The order has been canceled, and no further updates will occur for the order. This can be either due to a cancel request by the user, or the order has been canceled by the exchanges due to its time-in-force.\n CANCELED\n\n /// The order has expired, and no further updates will occur for the order.\n EXPIRED\n\n /// The order is waiting to be triggered, usually for stop or stop-limit orders.\n HELD\n\n /// The order was replaced by another order, or was updated due to a market event such as corporate action.\n REPLACED\n\n /// The order is waiting to be canceled.\n PENDING_CANCEL\n\n /// The order is waiting to be replaced by another order. The order will reject cancel request while in this state.\n PENDING_REPLACE\n\n /// The order has been received by Alpaca, but hasn\u2019t yet been routed to the execution venue. This could be seen often outside of trading session hours.\n ACCEPTED\n\n /// The order has been received by Alpaca, and routed to the exchanges, but has not yet been accepted for execution. This state only occurs on rare occasions.\n PENDING_NEW\n\n /// The order has been received by exchanges, and is evaluated for pricing. This state only occurs on rare occasions.\n ACCEPTED_FOR_BIDDING\n\n /// The order has been stopped, and a trade is guaranteed for the order, usually at a stated price or better, but has not yet occurred. This state only occurs on rare occasions.\n STOPPED\n\n /// The order has been rejected, and no further updates will occur for the order. This state occurs on rare occasions and may occur based on various conditions decided by the exchanges.\n REJECTED\n\n /// The order has been suspended, and is not eligible for trading. This state only occurs on rare occasions.\n SUSPENDED\n\n /// The order has been completed for the day (either filled or done for day), but remaining settlement calculations are still pending. This state only occurs on rare occasions.\n CALCULATED\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,6jMAuK5B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Action.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Action.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG
|
1
|
+
{"version":3,"file":"Action.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Action.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuK/B,CAAC"}
|
@@ -40,85 +40,129 @@ export type Action = {
|
|
40
40
|
trailPercent?: number;
|
41
41
|
extendedHours?: boolean;
|
42
42
|
status: OrderStatus;
|
43
|
-
submittedAt?: Date;
|
44
43
|
strikePrice?: number;
|
45
44
|
expirationDate?: Date;
|
46
45
|
optionType?: OptionType;
|
47
46
|
};
|
48
47
|
};
|
49
48
|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
EXERCISE_OPTION = "EXERCISE_OPTION",
|
54
|
-
SELL = "SELL",
|
55
|
-
CANCEL = "CANCEL",
|
56
|
-
ADJUST = "ADJUST",
|
57
|
-
HEDGE = "HEDGE"
|
58
|
-
}
|
49
|
+
enum OrderSide {
|
50
|
+
/// Represents the buying side of a trade action.
|
51
|
+
BUY
|
59
52
|
|
60
|
-
|
61
|
-
|
62
|
-
EXECUTED = "EXECUTED",
|
63
|
-
COMPLETED = "COMPLETED",
|
64
|
-
CANCELED = "CANCELED"
|
53
|
+
/// Represents the selling side of a trade action.
|
54
|
+
SELL
|
65
55
|
}
|
66
56
|
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
57
|
+
enum OrderType {
|
58
|
+
/// Executes immediately at the best available current market price.
|
59
|
+
MARKET
|
60
|
+
|
61
|
+
/// Executes only at the specified limit price or better.
|
62
|
+
LIMIT
|
63
|
+
|
64
|
+
/// Becomes a market order once the stop price is triggered.
|
65
|
+
STOP
|
71
66
|
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
TRAILING_STOP = "TRAILING_STOP"
|
67
|
+
/// Becomes a limit order once the stop price is triggered.
|
68
|
+
STOP_LIMIT
|
69
|
+
|
70
|
+
/// Adjusts the stop price based on a specified trail amount or percentage.
|
71
|
+
TRAILING_STOP
|
78
72
|
}
|
79
73
|
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
74
|
+
enum OrderClass {
|
75
|
+
/// A single standalone order without additional conditions.
|
76
|
+
SIMPLE
|
77
|
+
|
78
|
+
/// A primary order with attached take-profit and stop-loss orders to automatically manage the trade.
|
79
|
+
BRACKET
|
80
|
+
|
81
|
+
/// OCO (One-Cancels-Other): A pair of orders where the execution of one cancels the other.
|
82
|
+
OCO
|
83
|
+
|
84
|
+
/// OSO (One Sends Other): A chain of orders where the execution of one order triggers the placement of another.
|
85
|
+
OSO
|
86
|
+
|
87
|
+
/// OTO (One-Triggers-Other): Similar to BRACKET, where the execution of one order triggers the placement of another.
|
88
|
+
OTO
|
86
89
|
}
|
87
90
|
|
88
91
|
// Time in force enum (day, gtc, opg, cls, etc.).
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
92
|
+
enum TimeInForce {
|
93
|
+
/// The order is valid for the day and expires at market close.
|
94
|
+
DAY
|
95
|
+
|
96
|
+
/// The order is valid until canceled by the user.
|
97
|
+
GTC
|
98
|
+
|
99
|
+
/// The order is valid for the opening of the market.
|
100
|
+
OPG
|
97
101
|
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
HELD = "HELD",
|
107
|
-
REPLACED = "REPLACED",
|
108
|
-
PENDING_CANCEL = "PENDING_CANCEL",
|
109
|
-
PENDING_REPLACE = "PENDING_REPLACE",
|
110
|
-
ACCEPTED = "ACCEPTED",
|
111
|
-
PENDING_NEW = "PENDING_NEW",
|
112
|
-
ACCEPTED_FOR_BIDDING = "ACCEPTED_FOR_BIDDING",
|
113
|
-
STOPPED = "STOPPED",
|
114
|
-
REJECTED = "REJECTED",
|
115
|
-
SUSPENDED = "SUSPENDED",
|
116
|
-
CALCULATED = "CALCULATED"
|
102
|
+
/// The order is valid until the close of the market.
|
103
|
+
CLS
|
104
|
+
|
105
|
+
/// The order must be executed immediately or canceled.
|
106
|
+
IOC
|
107
|
+
|
108
|
+
/// The order must be executed immediately or canceled.
|
109
|
+
FOK
|
117
110
|
}
|
118
111
|
|
119
|
-
|
120
|
-
|
121
|
-
|
112
|
+
enum OrderStatus {
|
113
|
+
/// The order has been staged in Adaptic to be sent to Alpaca. This is the initial status.
|
114
|
+
STAGED
|
115
|
+
|
116
|
+
/// The order has been received by Alpaca, and routed to exchanges for execution. This is the usual initial state of an order after being received.
|
117
|
+
NEW
|
118
|
+
|
119
|
+
/// The order has been partially filled.
|
120
|
+
PARTIALLY_FILLED
|
121
|
+
|
122
|
+
/// The order has been filled, and no further updates will occur for the order.
|
123
|
+
FILLED
|
124
|
+
|
125
|
+
/// The order is done executing for the day, and will not receive further updates until the next trading day.
|
126
|
+
DONE_FOR_DAY
|
127
|
+
|
128
|
+
/// The order has been canceled, and no further updates will occur for the order. This can be either due to a cancel request by the user, or the order has been canceled by the exchanges due to its time-in-force.
|
129
|
+
CANCELED
|
130
|
+
|
131
|
+
/// The order has expired, and no further updates will occur for the order.
|
132
|
+
EXPIRED
|
133
|
+
|
134
|
+
/// The order is waiting to be triggered, usually for stop or stop-limit orders.
|
135
|
+
HELD
|
136
|
+
|
137
|
+
/// The order was replaced by another order, or was updated due to a market event such as corporate action.
|
138
|
+
REPLACED
|
139
|
+
|
140
|
+
/// The order is waiting to be canceled.
|
141
|
+
PENDING_CANCEL
|
142
|
+
|
143
|
+
/// The order is waiting to be replaced by another order. The order will reject cancel request while in this state.
|
144
|
+
PENDING_REPLACE
|
145
|
+
|
146
|
+
/// The order has been received by Alpaca, but hasn’t yet been routed to the execution venue. This could be seen often outside of trading session hours.
|
147
|
+
ACCEPTED
|
148
|
+
|
149
|
+
/// The order has been received by Alpaca, and routed to the exchanges, but has not yet been accepted for execution. This state only occurs on rare occasions.
|
150
|
+
PENDING_NEW
|
151
|
+
|
152
|
+
/// The order has been received by exchanges, and is evaluated for pricing. This state only occurs on rare occasions.
|
153
|
+
ACCEPTED_FOR_BIDDING
|
154
|
+
|
155
|
+
/// The order has been stopped, and a trade is guaranteed for the order, usually at a stated price or better, but has not yet occurred. This state only occurs on rare occasions.
|
156
|
+
STOPPED
|
157
|
+
|
158
|
+
/// The order has been rejected, and no further updates will occur for the order. This state occurs on rare occasions and may occur based on various conditions decided by the exchanges.
|
159
|
+
REJECTED
|
160
|
+
|
161
|
+
/// The order has been suspended, and is not eligible for trading. This state only occurs on rare occasions.
|
162
|
+
SUSPENDED
|
163
|
+
|
164
|
+
/// The order has been completed for the day (either filled or done for day), but remaining settlement calculations are still pending. This state only occurs on rare occasions.
|
165
|
+
CALCULATED
|
122
166
|
}
|
123
167
|
|
124
168
|
`;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const AlertTypeString = "\nYour response should adhere to the following type definition for the \"Alert\" 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 Alert = {\n // Message content of the alert.\n message: string;\n // Type of the alert, defined by AlertType enum.\n type: AlertType;\n // Indicates whether the alert has been read by the user.\n isRead: boolean;\n};\n\
|
1
|
+
export declare const AlertTypeString = "\nYour response should adhere to the following type definition for the \"Alert\" 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 Alert = {\n // Message content of the alert.\n message: string;\n // Type of the alert, defined by AlertType enum.\n type: AlertType;\n // Indicates whether the alert has been read by the user.\n isRead: boolean;\n};\n\nenum AlertType {\n /// Indicates a successful operation or event.\n SUCCESS\n\n /// Represents a warning that requires attention.\n WARNING\n\n /// Signifies an error that needs to be addressed.\n ERROR\n\n /// Provides informational messages to the user.\n INFO\n}\n\n";
|
2
2
|
//# sourceMappingURL=Alert.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Alert.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Alert.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,quBA4B3B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Alert.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG
|
1
|
+
{"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Alert.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4B9B,CAAC"}
|
@@ -12,11 +12,18 @@ export type Alert = {
|
|
12
12
|
isRead: boolean;
|
13
13
|
};
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
15
|
+
enum AlertType {
|
16
|
+
/// Indicates a successful operation or event.
|
17
|
+
SUCCESS
|
18
|
+
|
19
|
+
/// Represents a warning that requires attention.
|
20
|
+
WARNING
|
21
|
+
|
22
|
+
/// Signifies an error that needs to be addressed.
|
23
|
+
ERROR
|
24
|
+
|
25
|
+
/// Provides informational messages to the user.
|
26
|
+
INFO
|
20
27
|
}
|
21
28
|
|
22
29
|
`;
|
@@ -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 id: string;\n qty: number;\n asset: Asset;\n }[];\n};\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};\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,4oBAoBnC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AlpacaAccount.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/AlpacaAccount.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG
|
1
|
+
{"version":3,"file":"AlpacaAccount.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/AlpacaAccount.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG;;;;;;;;;;;;;;;;;;;;CAoBtC,CAAC"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const AssetTypeString = "\nYour response should adhere to the following type definition for the \"Asset\" 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 Asset = {\n // Ticker symbol of the asset\n symbol: string;\n // Full name of the asset\n name: string;\n // Type of the asset, defined by AssetType enum.\n type: AssetType;\n};\n\
|
1
|
+
export declare const AssetTypeString = "\nYour response should adhere to the following type definition for the \"Asset\" 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 Asset = {\n // Ticker symbol of the asset\n symbol: string;\n // Full name of the asset\n name: string;\n // Type of the asset, defined by AssetType enum.\n type: AssetType;\n};\n\n";
|
2
2
|
//# sourceMappingURL=Asset.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Asset.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Asset.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,
|
1
|
+
{"version":3,"file":"Asset.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Asset.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,yaAc3B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Asset.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Asset.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG
|
1
|
+
{"version":3,"file":"Asset.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Asset.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;;;;;;;;;;;;;;CAc9B,CAAC"}
|
@@ -12,29 +12,5 @@ export type Asset = {
|
|
12
12
|
type: AssetType;
|
13
13
|
};
|
14
14
|
|
15
|
-
export enum AssetType {
|
16
|
-
STOCK = "STOCK",
|
17
|
-
ETF = "ETF",
|
18
|
-
MUTUAL_FUND = "MUTUAL_FUND",
|
19
|
-
CRYPTOCURRENCY = "CRYPTOCURRENCY",
|
20
|
-
INDEX = "INDEX",
|
21
|
-
COMMODITY = "COMMODITY",
|
22
|
-
CURRENCY = "CURRENCY",
|
23
|
-
OPTION = "OPTION",
|
24
|
-
FUTURE = "FUTURE",
|
25
|
-
BOND = "BOND",
|
26
|
-
WARRANT = "WARRANT",
|
27
|
-
ADR = "ADR",
|
28
|
-
GDR = "GDR",
|
29
|
-
UNIT = "UNIT",
|
30
|
-
RIGHT = "RIGHT",
|
31
|
-
REIT = "REIT",
|
32
|
-
STRUCTURED_PRODUCT = "STRUCTURED_PRODUCT",
|
33
|
-
SWAP = "SWAP",
|
34
|
-
SPOT = "SPOT",
|
35
|
-
FORWARD = "FORWARD",
|
36
|
-
OTHER = "OTHER"
|
37
|
-
}
|
38
|
-
|
39
15
|
`;
|
40
16
|
//# sourceMappingURL=Asset.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 id: string;\n name?: string;\n email?: string;\n }[];\n};\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};\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,8lBAoB9B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Customer.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG
|
1
|
+
{"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Customer.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;CAoBjC,CAAC"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const EconomicEventTypeString = "\nYour response should adhere to the following type definition for the \"EconomicEvent\" 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 EconomicEvent = {\n // Title or name of the economic event.\n title: string;\n // Detailed description of the economic event.\n description?: string;\n // Date and time when the economic event is scheduled to occur.\n date: Date;\n // Importance level of the event, defined by EventImportance enum.\n importance: EventImportance;\n};\n\
|
1
|
+
export declare const EconomicEventTypeString = "\nYour response should adhere to the following type definition for the \"EconomicEvent\" 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 EconomicEvent = {\n // Title or name of the economic event.\n title: string;\n // Detailed description of the economic event.\n description?: string;\n // Date and time when the economic event is scheduled to occur.\n date: Date;\n // Importance level of the event, defined by EventImportance enum.\n importance: EventImportance;\n};\n\nenum EventImportance {\n /// Low importance events with minimal impact.\n LOW\n\n /// Medium importance events with noticeable impact.\n MEDIUM\n\n /// High importance events with significant impact.\n HIGH\n}\n\n";
|
2
2
|
//# sourceMappingURL=EconomicEvent.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EconomicEvent.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/EconomicEvent.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,
|
1
|
+
{"version":3,"file":"EconomicEvent.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/EconomicEvent.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,0yBA2BnC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EconomicEvent.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/EconomicEvent.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG
|
1
|
+
{"version":3,"file":"EconomicEvent.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/EconomicEvent.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BtC,CAAC"}
|
@@ -14,10 +14,15 @@ export type EconomicEvent = {
|
|
14
14
|
importance: EventImportance;
|
15
15
|
};
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
17
|
+
enum EventImportance {
|
18
|
+
/// Low importance events with minimal impact.
|
19
|
+
LOW
|
20
|
+
|
21
|
+
/// Medium importance events with noticeable impact.
|
22
|
+
MEDIUM
|
23
|
+
|
24
|
+
/// High importance events with significant impact.
|
25
|
+
HIGH
|
21
26
|
}
|
22
27
|
|
23
28
|
`;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const MarketSentimentTypeString = "\nYour response should adhere to the following type definition for the \"MarketSentiment\" 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 MarketSentiment = {\n // The current level of market sentiment.\n sentiment: MarketSentimentLevel;\n // A one-sentence description of the market sentiment, including specific references to stock market index values, recent changes, trends, and technical indicators, as well as quotes from major news sources.\n description: string;\n // A detailed, multi-paragraph description of the market sentiment, including extensive analyses, references, quotes from major news sources, and links to articles.\n longDescription: string;\n};\n\
|
1
|
+
export declare const MarketSentimentTypeString = "\nYour response should adhere to the following type definition for the \"MarketSentiment\" 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 MarketSentiment = {\n // The current level of market sentiment.\n sentiment: MarketSentimentLevel;\n // A one-sentence description of the market sentiment, including specific references to stock market index values, recent changes, trends, and technical indicators, as well as quotes from major news sources.\n description: string;\n // A detailed, multi-paragraph description of the market sentiment, including extensive analyses, references, quotes from major news sources, and links to articles.\n longDescription: string;\n};\n\nenum MarketSentimentLevel {\n /// Extremely negative outlook on the market.\n VERY_BEARISH\n\n /// Moderately negative outlook on the market.\n SOMEWHAT_BEARISH\n\n /// Negative outlook on the market.\n BEARISH\n\n /// Neutral outlook on the market.\n NEUTRAL\n\n /// Positive outlook on the market.\n SOMEWHAT_BULLISH\n\n /// Moderately positive outlook on the market.\n BULLISH\n\n /// Extremely positive outlook on the market.\n VERY_BULLISH\n}\n\n";
|
2
2
|
//# sourceMappingURL=MarketSentiment.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MarketSentiment.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/MarketSentiment.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,
|
1
|
+
{"version":3,"file":"MarketSentiment.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/MarketSentiment.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,ouCAqCrC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MarketSentiment.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/MarketSentiment.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,yBAAyB,GAAG
|
1
|
+
{"version":3,"file":"MarketSentiment.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/MarketSentiment.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,yBAAyB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCxC,CAAC"}
|