adaptic-backend 1.0.192 → 1.0.193

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.
Files changed (163) hide show
  1. package/generated/typeStrings/Account.cjs +1 -0
  2. package/generated/typeStrings/Account.d.ts +1 -1
  3. package/generated/typeStrings/Account.d.ts.map +1 -1
  4. package/generated/typeStrings/Account.js.map +1 -1
  5. package/generated/typeStrings/Action.cjs +58 -0
  6. package/generated/typeStrings/Action.d.ts +1 -1
  7. package/generated/typeStrings/Action.d.ts.map +1 -1
  8. package/generated/typeStrings/Action.js.map +1 -1
  9. package/generated/typeStrings/Alert.cjs +1 -0
  10. package/generated/typeStrings/Alert.d.ts +1 -1
  11. package/generated/typeStrings/Alert.d.ts.map +1 -1
  12. package/generated/typeStrings/Alert.js.map +1 -1
  13. package/generated/typeStrings/AlpacaAccount.cjs +1 -0
  14. package/generated/typeStrings/AlpacaAccount.d.ts +1 -1
  15. package/generated/typeStrings/AlpacaAccount.d.ts.map +1 -1
  16. package/generated/typeStrings/AlpacaAccount.js.map +1 -1
  17. package/generated/typeStrings/Asset.cjs +1 -0
  18. package/generated/typeStrings/Asset.d.ts +1 -1
  19. package/generated/typeStrings/Asset.d.ts.map +1 -1
  20. package/generated/typeStrings/Asset.js.map +1 -1
  21. package/generated/typeStrings/Authenticator.cjs +1 -0
  22. package/generated/typeStrings/Authenticator.d.ts +1 -1
  23. package/generated/typeStrings/Authenticator.d.ts.map +1 -1
  24. package/generated/typeStrings/Authenticator.js.map +1 -1
  25. package/generated/typeStrings/Customer.cjs +1 -0
  26. package/generated/typeStrings/Customer.d.ts +1 -1
  27. package/generated/typeStrings/Customer.d.ts.map +1 -1
  28. package/generated/typeStrings/Customer.js.map +1 -1
  29. package/generated/typeStrings/EconomicEvent.cjs +1 -0
  30. package/generated/typeStrings/EconomicEvent.d.ts +1 -1
  31. package/generated/typeStrings/EconomicEvent.d.ts.map +1 -1
  32. package/generated/typeStrings/EconomicEvent.js.map +1 -1
  33. package/generated/typeStrings/MarketSentiment.cjs +1 -0
  34. package/generated/typeStrings/MarketSentiment.d.ts +1 -1
  35. package/generated/typeStrings/MarketSentiment.d.ts.map +1 -1
  36. package/generated/typeStrings/MarketSentiment.js.map +1 -1
  37. package/generated/typeStrings/NewsArticle.cjs +1 -0
  38. package/generated/typeStrings/NewsArticle.d.ts +1 -1
  39. package/generated/typeStrings/NewsArticle.d.ts.map +1 -1
  40. package/generated/typeStrings/NewsArticle.js.map +1 -1
  41. package/generated/typeStrings/NewsArticleAssetSentiment.cjs +25 -0
  42. package/generated/typeStrings/NewsArticleAssetSentiment.d.ts +1 -1
  43. package/generated/typeStrings/NewsArticleAssetSentiment.d.ts.map +1 -1
  44. package/generated/typeStrings/NewsArticleAssetSentiment.js.map +1 -1
  45. package/generated/typeStrings/Order.cjs +25 -0
  46. package/generated/typeStrings/Order.d.ts +1 -1
  47. package/generated/typeStrings/Order.d.ts.map +1 -1
  48. package/generated/typeStrings/Order.js.map +1 -1
  49. package/generated/typeStrings/Position.cjs +25 -0
  50. package/generated/typeStrings/Position.d.ts +1 -1
  51. package/generated/typeStrings/Position.d.ts.map +1 -1
  52. package/generated/typeStrings/Position.js.map +1 -1
  53. package/generated/typeStrings/ScheduledOptionOrder.cjs +1 -0
  54. package/generated/typeStrings/ScheduledOptionOrder.d.ts +1 -1
  55. package/generated/typeStrings/ScheduledOptionOrder.d.ts.map +1 -1
  56. package/generated/typeStrings/ScheduledOptionOrder.js.map +1 -1
  57. package/generated/typeStrings/Session.cjs +1 -0
  58. package/generated/typeStrings/Session.d.ts +1 -1
  59. package/generated/typeStrings/Session.d.ts.map +1 -1
  60. package/generated/typeStrings/Session.js.map +1 -1
  61. package/generated/typeStrings/StopLoss.cjs +1 -0
  62. package/generated/typeStrings/StopLoss.d.ts +1 -1
  63. package/generated/typeStrings/StopLoss.d.ts.map +1 -1
  64. package/generated/typeStrings/StopLoss.js.map +1 -1
  65. package/generated/typeStrings/TakeProfit.cjs +1 -0
  66. package/generated/typeStrings/TakeProfit.d.ts +1 -1
  67. package/generated/typeStrings/TakeProfit.d.ts.map +1 -1
  68. package/generated/typeStrings/TakeProfit.js.map +1 -1
  69. package/generated/typeStrings/Trade.cjs +42 -0
  70. package/generated/typeStrings/Trade.d.ts +1 -1
  71. package/generated/typeStrings/Trade.d.ts.map +1 -1
  72. package/generated/typeStrings/Trade.js.map +1 -1
  73. package/generated/typeStrings/User.cjs +1 -0
  74. package/generated/typeStrings/User.d.ts +1 -1
  75. package/generated/typeStrings/User.d.ts.map +1 -1
  76. package/generated/typeStrings/User.js.map +1 -1
  77. package/generated/typeStrings/VerificationToken.cjs +1 -0
  78. package/generated/typeStrings/VerificationToken.d.ts +1 -1
  79. package/generated/typeStrings/VerificationToken.d.ts.map +1 -1
  80. package/generated/typeStrings/VerificationToken.js.map +1 -1
  81. package/generated/typeStrings/index.d.ts +20 -20
  82. package/package.json +1 -1
  83. package/server/generated/typeStrings/Account.d.ts +1 -1
  84. package/server/generated/typeStrings/Account.d.ts.map +1 -1
  85. package/server/generated/typeStrings/Account.js.map +1 -1
  86. package/server/generated/typeStrings/Account.mjs +1 -0
  87. package/server/generated/typeStrings/Action.d.ts +1 -1
  88. package/server/generated/typeStrings/Action.d.ts.map +1 -1
  89. package/server/generated/typeStrings/Action.js.map +1 -1
  90. package/server/generated/typeStrings/Action.mjs +58 -0
  91. package/server/generated/typeStrings/Alert.d.ts +1 -1
  92. package/server/generated/typeStrings/Alert.d.ts.map +1 -1
  93. package/server/generated/typeStrings/Alert.js.map +1 -1
  94. package/server/generated/typeStrings/Alert.mjs +1 -0
  95. package/server/generated/typeStrings/AlpacaAccount.d.ts +1 -1
  96. package/server/generated/typeStrings/AlpacaAccount.d.ts.map +1 -1
  97. package/server/generated/typeStrings/AlpacaAccount.js.map +1 -1
  98. package/server/generated/typeStrings/AlpacaAccount.mjs +1 -0
  99. package/server/generated/typeStrings/Asset.d.ts +1 -1
  100. package/server/generated/typeStrings/Asset.d.ts.map +1 -1
  101. package/server/generated/typeStrings/Asset.js.map +1 -1
  102. package/server/generated/typeStrings/Asset.mjs +1 -0
  103. package/server/generated/typeStrings/Authenticator.d.ts +1 -1
  104. package/server/generated/typeStrings/Authenticator.d.ts.map +1 -1
  105. package/server/generated/typeStrings/Authenticator.js.map +1 -1
  106. package/server/generated/typeStrings/Authenticator.mjs +1 -0
  107. package/server/generated/typeStrings/Customer.d.ts +1 -1
  108. package/server/generated/typeStrings/Customer.d.ts.map +1 -1
  109. package/server/generated/typeStrings/Customer.js.map +1 -1
  110. package/server/generated/typeStrings/Customer.mjs +1 -0
  111. package/server/generated/typeStrings/EconomicEvent.d.ts +1 -1
  112. package/server/generated/typeStrings/EconomicEvent.d.ts.map +1 -1
  113. package/server/generated/typeStrings/EconomicEvent.js.map +1 -1
  114. package/server/generated/typeStrings/EconomicEvent.mjs +1 -0
  115. package/server/generated/typeStrings/MarketSentiment.d.ts +1 -1
  116. package/server/generated/typeStrings/MarketSentiment.d.ts.map +1 -1
  117. package/server/generated/typeStrings/MarketSentiment.js.map +1 -1
  118. package/server/generated/typeStrings/MarketSentiment.mjs +1 -0
  119. package/server/generated/typeStrings/NewsArticle.d.ts +1 -1
  120. package/server/generated/typeStrings/NewsArticle.d.ts.map +1 -1
  121. package/server/generated/typeStrings/NewsArticle.js.map +1 -1
  122. package/server/generated/typeStrings/NewsArticle.mjs +1 -0
  123. package/server/generated/typeStrings/NewsArticleAssetSentiment.d.ts +1 -1
  124. package/server/generated/typeStrings/NewsArticleAssetSentiment.d.ts.map +1 -1
  125. package/server/generated/typeStrings/NewsArticleAssetSentiment.js.map +1 -1
  126. package/server/generated/typeStrings/NewsArticleAssetSentiment.mjs +25 -0
  127. package/server/generated/typeStrings/Order.d.ts +1 -1
  128. package/server/generated/typeStrings/Order.d.ts.map +1 -1
  129. package/server/generated/typeStrings/Order.js.map +1 -1
  130. package/server/generated/typeStrings/Order.mjs +25 -0
  131. package/server/generated/typeStrings/Position.d.ts +1 -1
  132. package/server/generated/typeStrings/Position.d.ts.map +1 -1
  133. package/server/generated/typeStrings/Position.js.map +1 -1
  134. package/server/generated/typeStrings/Position.mjs +25 -0
  135. package/server/generated/typeStrings/ScheduledOptionOrder.d.ts +1 -1
  136. package/server/generated/typeStrings/ScheduledOptionOrder.d.ts.map +1 -1
  137. package/server/generated/typeStrings/ScheduledOptionOrder.js.map +1 -1
  138. package/server/generated/typeStrings/ScheduledOptionOrder.mjs +1 -0
  139. package/server/generated/typeStrings/Session.d.ts +1 -1
  140. package/server/generated/typeStrings/Session.d.ts.map +1 -1
  141. package/server/generated/typeStrings/Session.js.map +1 -1
  142. package/server/generated/typeStrings/Session.mjs +1 -0
  143. package/server/generated/typeStrings/StopLoss.d.ts +1 -1
  144. package/server/generated/typeStrings/StopLoss.d.ts.map +1 -1
  145. package/server/generated/typeStrings/StopLoss.js.map +1 -1
  146. package/server/generated/typeStrings/StopLoss.mjs +1 -0
  147. package/server/generated/typeStrings/TakeProfit.d.ts +1 -1
  148. package/server/generated/typeStrings/TakeProfit.d.ts.map +1 -1
  149. package/server/generated/typeStrings/TakeProfit.js.map +1 -1
  150. package/server/generated/typeStrings/TakeProfit.mjs +1 -0
  151. package/server/generated/typeStrings/Trade.d.ts +1 -1
  152. package/server/generated/typeStrings/Trade.d.ts.map +1 -1
  153. package/server/generated/typeStrings/Trade.js.map +1 -1
  154. package/server/generated/typeStrings/Trade.mjs +42 -0
  155. package/server/generated/typeStrings/User.d.ts +1 -1
  156. package/server/generated/typeStrings/User.d.ts.map +1 -1
  157. package/server/generated/typeStrings/User.js.map +1 -1
  158. package/server/generated/typeStrings/User.mjs +1 -0
  159. package/server/generated/typeStrings/VerificationToken.d.ts +1 -1
  160. package/server/generated/typeStrings/VerificationToken.d.ts.map +1 -1
  161. package/server/generated/typeStrings/VerificationToken.js.map +1 -1
  162. package/server/generated/typeStrings/VerificationToken.mjs +1 -0
  163. package/server/generated/typeStrings/index.d.ts +20 -20
@@ -1 +1 @@
1
- {"version":3,"file":"Asset.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Asset.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqC9B,CAAC"}
1
+ {"version":3,"file":"Asset.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Asset.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsC9B,CAAC"}
@@ -11,6 +11,7 @@ export type Asset = {
11
11
  // Type of the asset, defined by AssetType enum.
12
12
  type: AssetType;
13
13
  };
14
+
14
15
  export enum AssetType {
15
16
  STOCK = "STOCK",
16
17
  ETF = "ETF",
@@ -1,2 +1,2 @@
1
- export declare const AuthenticatorTypeString = "\nYour response should adhere to the following type definition for the \"Authenticator\" 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 Authenticator = {\n\n};\n";
1
+ export declare const AuthenticatorTypeString = "\nYour response should adhere to the following type definition for the \"Authenticator\" 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 Authenticator = {\n\n};\n\n";
2
2
  //# sourceMappingURL=Authenticator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Authenticator.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Authenticator.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,+QAQnC,CAAC"}
1
+ {"version":3,"file":"Authenticator.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Authenticator.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,iRASnC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Authenticator.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Authenticator.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG;;;;;;;;CAQtC,CAAC"}
1
+ {"version":3,"file":"Authenticator.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Authenticator.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG;;;;;;;;;CAStC,CAAC"}
@@ -6,5 +6,6 @@ Importantly, DO NOT include any annotations in your response (i.e., remove the o
6
6
  export type Authenticator = {
7
7
 
8
8
  };
9
+
9
10
  `;
10
11
  //# sourceMappingURL=Authenticator.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};\nexport enum SubscriptionPlan {\n FREE = \"FREE\",\n PRO = \"PRO\",\n BUSINESS = \"BUSINESS\"\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\nexport enum SubscriptionPlan {\n FREE = \"FREE\",\n PRO = \"PRO\",\n BUSINESS = \"BUSINESS\"\n}\n\n";
2
2
  //# sourceMappingURL=Customer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Customer.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Customer.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,ksBAyB9B,CAAC"}
1
+ {"version":3,"file":"Customer.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Customer.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,osBA0B9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Customer.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;CAyBjC,CAAC"}
1
+ {"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Customer.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BjC,CAAC"}
@@ -17,6 +17,7 @@ export type Customer = {
17
17
  email?: string;
18
18
  }[];
19
19
  };
20
+
20
21
  export enum SubscriptionPlan {
21
22
  FREE = "FREE",
22
23
  PRO = "PRO",
@@ -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};\nexport enum EventImportance {\n LOW = \"LOW\",\n MEDIUM = \"MEDIUM\",\n HIGH = \"HIGH\"\n}\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\nexport enum EventImportance {\n LOW = \"LOW\",\n MEDIUM = \"MEDIUM\",\n HIGH = \"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,8qBAqBnC,CAAC"}
1
+ {"version":3,"file":"EconomicEvent.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/EconomicEvent.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,grBAsBnC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"EconomicEvent.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/EconomicEvent.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG;;;;;;;;;;;;;;;;;;;;;CAqBtC,CAAC"}
1
+ {"version":3,"file":"EconomicEvent.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/EconomicEvent.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG;;;;;;;;;;;;;;;;;;;;;;CAsBtC,CAAC"}
@@ -13,6 +13,7 @@ export type EconomicEvent = {
13
13
  // Importance level of the event, defined by EventImportance enum.
14
14
  importance: EventImportance;
15
15
  };
16
+
16
17
  export enum EventImportance {
17
18
  LOW = "LOW",
18
19
  MEDIUM = "MEDIUM",
@@ -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};\nexport enum MarketSentimentLevel {\n VERY_BEARISH = \"VERY_BEARISH\",\n SOMEWHAT_BEARISH = \"SOMEWHAT_BEARISH\",\n BEARISH = \"BEARISH\",\n NEUTRAL = \"NEUTRAL\",\n SOMEWHAT_BULLISH = \"SOMEWHAT_BULLISH\",\n BULLISH = \"BULLISH\",\n VERY_BULLISH = \"VERY_BULLISH\"\n}\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\nexport enum MarketSentimentLevel {\n VERY_BEARISH = \"VERY_BEARISH\",\n SOMEWHAT_BEARISH = \"SOMEWHAT_BEARISH\",\n BEARISH = \"BEARISH\",\n NEUTRAL = \"NEUTRAL\",\n SOMEWHAT_BULLISH = \"SOMEWHAT_BULLISH\",\n BULLISH = \"BULLISH\",\n VERY_BULLISH = \"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,uiCAuBrC,CAAC"}
1
+ {"version":3,"file":"MarketSentiment.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/MarketSentiment.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,yiCAwBrC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MarketSentiment.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/MarketSentiment.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,yBAAyB,GAAG;;;;;;;;;;;;;;;;;;;;;;;CAuBxC,CAAC"}
1
+ {"version":3,"file":"MarketSentiment.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/MarketSentiment.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,yBAAyB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;CAwBxC,CAAC"}
@@ -11,6 +11,7 @@ export type MarketSentiment = {
11
11
  // A detailed, multi-paragraph description of the market sentiment, including extensive analyses, references, quotes from major news sources, and links to articles.
12
12
  longDescription: string;
13
13
  };
14
+
14
15
  export enum MarketSentimentLevel {
15
16
  VERY_BEARISH = "VERY_BEARISH",
16
17
  SOMEWHAT_BEARISH = "SOMEWHAT_BEARISH",
@@ -1,2 +1,2 @@
1
- export declare const NewsArticleTypeString = "\nYour response should adhere to the following type definition for the \"NewsArticle\" 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 NewsArticle = {\n // Title of the news article.\n title: string;\n // Full content of the news article.\n content?: string;\n // Source of the news article (e.g., Bloomberg, Reuters).\n source: string;\n // Domain of the source website.\n sourceDomain?: string;\n // URL to the original news article, must be unique.\n url: string;\n // Sentiment analysis result of the article.\n sentiment: string;\n // List of authors who wrote the article.\n authors: string[];\n // Summary or abstract of the news article.\n summary?: string;\n // URL to the banner image of the article.\n bannerImage?: string;\n // Publication time of the article.\n timePublished: string;\n // Category or genre of the news article.\n category?: string;\n // Topics covered in the news article.\n topics: string[];\n // URL to the logo image of the news source.\n logo?: string;\n};\n";
1
+ export declare const NewsArticleTypeString = "\nYour response should adhere to the following type definition for the \"NewsArticle\" 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 NewsArticle = {\n // Title of the news article.\n title: string;\n // Full content of the news article.\n content?: string;\n // Source of the news article (e.g., Bloomberg, Reuters).\n source: string;\n // Domain of the source website.\n sourceDomain?: string;\n // URL to the original news article, must be unique.\n url: string;\n // Sentiment analysis result of the article.\n sentiment: string;\n // List of authors who wrote the article.\n authors: string[];\n // Summary or abstract of the news article.\n summary?: string;\n // URL to the banner image of the article.\n bannerImage?: string;\n // Publication time of the article.\n timePublished: string;\n // Category or genre of the news article.\n category?: string;\n // Topics covered in the news article.\n topics: string[];\n // URL to the logo image of the news source.\n logo?: string;\n};\n\n";
2
2
  //# sourceMappingURL=NewsArticle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NewsArticle.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/NewsArticle.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,wmCAiCjC,CAAC"}
1
+ {"version":3,"file":"NewsArticle.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/NewsArticle.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,0mCAkCjC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NewsArticle.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/NewsArticle.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,qBAAqB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCpC,CAAC"}
1
+ {"version":3,"file":"NewsArticle.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/NewsArticle.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,qBAAqB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCpC,CAAC"}
@@ -31,5 +31,6 @@ export type NewsArticle = {
31
31
  // URL to the logo image of the news source.
32
32
  logo?: string;
33
33
  };
34
+
34
35
  `;
35
36
  //# sourceMappingURL=NewsArticle.js.map
@@ -1,2 +1,2 @@
1
- export declare const NewsArticleAssetSentimentTypeString = "\nYour response should adhere to the following type definition for the \"NewsArticleAssetSentiment\" type.\n\nImportantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type NewsArticleAssetSentiment = {\n // URL of the news article, must be unique.\n url: string;\n // Relation to the Asset model.\n asset: {\n symbol: string;\n name: string;\n type: AssetType;\n };\n // Relevancy score indicating how relevant the news is to the asset.\n relevancyScore?: string;\n // Sentiment score derived from the news content.\n sentimentScore?: string;\n // Label indicating the overall sentiment (e.g., Positive, Negative, Neutral).\n sentimentLabel?: string;\n};\n";
1
+ export declare const NewsArticleAssetSentimentTypeString = "\nYour response should adhere to the following type definition for the \"NewsArticleAssetSentiment\" type.\n\nImportantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type NewsArticleAssetSentiment = {\n // URL of the news article, must be unique.\n url: string;\n // Relation to the Asset model.\n asset: {\n symbol: string;\n name: string;\n type: AssetType;\n };\n // Relevancy score indicating how relevant the news is to the asset.\n relevancyScore?: string;\n // Sentiment score derived from the news content.\n sentimentScore?: string;\n // Label indicating the overall sentiment (e.g., Positive, Negative, Neutral).\n sentimentLabel?: string;\n};\n\nexport enum AssetType {\n STOCK = \"STOCK\",\n ETF = \"ETF\",\n MUTUAL_FUND = \"MUTUAL_FUND\",\n CRYPTOCURRENCY = \"CRYPTOCURRENCY\",\n INDEX = \"INDEX\",\n COMMODITY = \"COMMODITY\",\n CURRENCY = \"CURRENCY\",\n OPTION = \"OPTION\",\n FUTURE = \"FUTURE\",\n BOND = \"BOND\",\n WARRANT = \"WARRANT\",\n ADR = \"ADR\",\n GDR = \"GDR\",\n UNIT = \"UNIT\",\n RIGHT = \"RIGHT\",\n REIT = \"REIT\",\n STRUCTURED_PRODUCT = \"STRUCTURED_PRODUCT\",\n SWAP = \"SWAP\",\n SPOT = \"SPOT\",\n FORWARD = \"FORWARD\",\n OTHER = \"OTHER\"\n}\n\n";
2
2
  //# sourceMappingURL=NewsArticleAssetSentiment.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NewsArticleAssetSentiment.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/NewsArticleAssetSentiment.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mCAAmC,0vBAqB/C,CAAC"}
1
+ {"version":3,"file":"NewsArticleAssetSentiment.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/NewsArticleAssetSentiment.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mCAAmC,myCA8C/C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NewsArticleAssetSentiment.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/NewsArticleAssetSentiment.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,mCAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;CAqBlD,CAAC"}
1
+ {"version":3,"file":"NewsArticleAssetSentiment.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/NewsArticleAssetSentiment.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,mCAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8ClD,CAAC"}
@@ -19,5 +19,30 @@ export type NewsArticleAssetSentiment = {
19
19
  // Label indicating the overall sentiment (e.g., Positive, Negative, Neutral).
20
20
  sentimentLabel?: string;
21
21
  };
22
+
23
+ export enum AssetType {
24
+ STOCK = "STOCK",
25
+ ETF = "ETF",
26
+ MUTUAL_FUND = "MUTUAL_FUND",
27
+ CRYPTOCURRENCY = "CRYPTOCURRENCY",
28
+ INDEX = "INDEX",
29
+ COMMODITY = "COMMODITY",
30
+ CURRENCY = "CURRENCY",
31
+ OPTION = "OPTION",
32
+ FUTURE = "FUTURE",
33
+ BOND = "BOND",
34
+ WARRANT = "WARRANT",
35
+ ADR = "ADR",
36
+ GDR = "GDR",
37
+ UNIT = "UNIT",
38
+ RIGHT = "RIGHT",
39
+ REIT = "REIT",
40
+ STRUCTURED_PRODUCT = "STRUCTURED_PRODUCT",
41
+ SWAP = "SWAP",
42
+ SPOT = "SPOT",
43
+ FORWARD = "FORWARD",
44
+ OTHER = "OTHER"
45
+ }
46
+
22
47
  `;
23
48
  //# sourceMappingURL=NewsArticleAssetSentiment.js.map
@@ -1,2 +1,2 @@
1
- export declare const OrderTypeString = "\nYour response should adhere to the following type definition for the \"Order\" 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 Order = {\n // Quantity of the asset to be ordered. Required if 'notional' is not provided. For 'MARKET' orders with 'timeInForce' set to 'DAY', 'qty' can be fractional.\n qty?: number;\n // Notional dollar amount to trade. Required if 'qty' is not provided. Only valid for 'MARKET' orders with 'timeInForce' set to 'DAY'.\n notional?: number;\n // Side of the order ('BUY' or 'SELL').\n side: OrderSide;\n // Type of order ('MARKET', 'LIMIT', 'STOP', 'STOP_LIMIT', 'TRAILING_STOP').\n type: OrderType;\n // Order class for advanced order types. Options are 'SIMPLE', 'BRACKET', 'OCO', 'OTO'. Default is 'SIMPLE'. For 'BRACKET' orders, 'takeProfit' and 'stopLoss' are required.\n orderClass: OrderClass;\n // Time in force for the order ('DAY', 'GTC', 'OPG', 'CLS', 'IOC', 'FOK').\n timeInForce: TimeInForce;\n // Limit price of the order. Required for 'LIMIT' and 'STOP_LIMIT' order types. Must be a positive number. For 'BUY' orders, 'limitPrice' represents the maximum price to pay; for 'SELL' orders, it represents the minimum price to accept.\n limitPrice?: number;\n // Stop price of the order. Required for 'STOP' and 'STOP_LIMIT' order types. Must be a positive number. For 'BUY' 'STOP_LIMIT' orders, 'stopPrice' must be less than or equal to 'limitPrice'. For 'SELL' 'STOP_LIMIT' orders, 'stopPrice' must be greater than or equal to 'limitPrice'.\n stopPrice?: number;\n // Stop loss object. Required for 'BRACKET' and 'OTO' order classes when setting a stop-loss order. For 'BUY' bracket orders, 'stopLoss.stopPrice' must be less than 'takeProfit.limitPrice'.\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 // Take profit object. Required for 'BRACKET' and 'OTO' order classes when setting a take-profit order. For 'BUY' bracket orders, 'takeProfit.limitPrice' must be greater than 'stopLoss.stopPrice'.\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 // Trail price for 'TRAILING_STOP' orders. Must be a positive number. Either 'trailPrice' or 'trailPercent' is required when 'type' is 'TRAILING_STOP'.\n trailPrice?: number;\n // Trail percent for 'TRAILING_STOP' orders. Must be a positive number. Either 'trailPrice' or 'trailPercent' is required when 'type' is 'TRAILING_STOP'.\n trailPercent?: number;\n // Whether the order is eligible for execution outside regular trading hours. Only valid for 'LIMIT' orders with 'timeInForce' set to 'DAY'. Defaults to false.\n extendedHours?: boolean;\n // Current status of the order.\n status: OrderStatus;\n // Timestamp when the order was submitted.\n submittedAt?: Date;\n // Timestamp when the order was filled.\n filledAt?: Date;\n // Total quantity of the order that was filled.\n filledQty?: number;\n // Average price at which the order was filled.\n filledAvgPrice?: number;\n // Timestamp when the request to cancel the order was made.\n cancelRequestedAt?: Date;\n // Timestamp when the order was canceled.\n canceledAt?: Date;\n // The asset this order is for.\n asset: {\n symbol: string;\n name: string;\n type: AssetType;\n };\n // Fee associated with the order.\n fee?: number;\n // Strike price for option orders. Required when 'asset.type' is 'OPTION'.\n strikePrice?: number;\n // Expiration date for option orders. Required when 'asset.type' is 'OPTION'.\n expirationDate?: Date;\n // Type of option contract ('CALL' or 'PUT'). Required when 'asset.type' is 'OPTION'.\n optionType?: OptionType;\n};\nexport enum OrderSide {\n BUY = \"BUY\",\n SELL = \"SELL\"\n}\n\nexport enum OrderType {\n MARKET = \"MARKET\",\n LIMIT = \"LIMIT\",\n STOP = \"STOP\",\n STOP_LIMIT = \"STOP_LIMIT\",\n TRAILING_STOP = \"TRAILING_STOP\"\n}\n\nexport enum OrderClass {\n SIMPLE = \"SIMPLE\",\n BRACKET = \"BRACKET\",\n OCO = \"OCO\",\n OSO = \"OSO\",\n OTO = \"OTO\"\n}\n\n// Time in force enum (day, gtc, opg, cls, etc.).\nexport enum TimeInForce {\n DAY = \"DAY\",\n GTC = \"GTC\",\n OPG = \"OPG\",\n CLS = \"CLS\",\n IOC = \"IOC\",\n FOK = \"FOK\"\n}\n\nexport enum OrderStatus {\n STAGED = \"STAGED\",\n NEW = \"NEW\",\n PARTIALLY_FILLED = \"PARTIALLY_FILLED\",\n FILLED = \"FILLED\",\n DONE_FOR_DAY = \"DONE_FOR_DAY\",\n CANCELED = \"CANCELED\",\n EXPIRED = \"EXPIRED\",\n HELD = \"HELD\",\n REPLACED = \"REPLACED\",\n PENDING_CANCEL = \"PENDING_CANCEL\",\n PENDING_REPLACE = \"PENDING_REPLACE\",\n ACCEPTED = \"ACCEPTED\",\n PENDING_NEW = \"PENDING_NEW\",\n ACCEPTED_FOR_BIDDING = \"ACCEPTED_FOR_BIDDING\",\n STOPPED = \"STOPPED\",\n REJECTED = \"REJECTED\",\n SUSPENDED = \"SUSPENDED\",\n CALCULATED = \"CALCULATED\"\n}\n\nexport enum OptionType {\n CALL = \"CALL\",\n PUT = \"PUT\"\n}\n\n";
1
+ export declare const OrderTypeString = "\nYour response should adhere to the following type definition for the \"Order\" 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 Order = {\n // Quantity of the asset to be ordered. Required if 'notional' is not provided. For 'MARKET' orders with 'timeInForce' set to 'DAY', 'qty' can be fractional.\n qty?: number;\n // Notional dollar amount to trade. Required if 'qty' is not provided. Only valid for 'MARKET' orders with 'timeInForce' set to 'DAY'.\n notional?: number;\n // Side of the order ('BUY' or 'SELL').\n side: OrderSide;\n // Type of order ('MARKET', 'LIMIT', 'STOP', 'STOP_LIMIT', 'TRAILING_STOP').\n type: OrderType;\n // Order class for advanced order types. Options are 'SIMPLE', 'BRACKET', 'OCO', 'OTO'. Default is 'SIMPLE'. For 'BRACKET' orders, 'takeProfit' and 'stopLoss' are required.\n orderClass: OrderClass;\n // Time in force for the order ('DAY', 'GTC', 'OPG', 'CLS', 'IOC', 'FOK').\n timeInForce: TimeInForce;\n // Limit price of the order. Required for 'LIMIT' and 'STOP_LIMIT' order types. Must be a positive number. For 'BUY' orders, 'limitPrice' represents the maximum price to pay; for 'SELL' orders, it represents the minimum price to accept.\n limitPrice?: number;\n // Stop price of the order. Required for 'STOP' and 'STOP_LIMIT' order types. Must be a positive number. For 'BUY' 'STOP_LIMIT' orders, 'stopPrice' must be less than or equal to 'limitPrice'. For 'SELL' 'STOP_LIMIT' orders, 'stopPrice' must be greater than or equal to 'limitPrice'.\n stopPrice?: number;\n // Stop loss object. Required for 'BRACKET' and 'OTO' order classes when setting a stop-loss order. For 'BUY' bracket orders, 'stopLoss.stopPrice' must be less than 'takeProfit.limitPrice'.\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 // Take profit object. Required for 'BRACKET' and 'OTO' order classes when setting a take-profit order. For 'BUY' bracket orders, 'takeProfit.limitPrice' must be greater than 'stopLoss.stopPrice'.\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 // Trail price for 'TRAILING_STOP' orders. Must be a positive number. Either 'trailPrice' or 'trailPercent' is required when 'type' is 'TRAILING_STOP'.\n trailPrice?: number;\n // Trail percent for 'TRAILING_STOP' orders. Must be a positive number. Either 'trailPrice' or 'trailPercent' is required when 'type' is 'TRAILING_STOP'.\n trailPercent?: number;\n // Whether the order is eligible for execution outside regular trading hours. Only valid for 'LIMIT' orders with 'timeInForce' set to 'DAY'. Defaults to false.\n extendedHours?: boolean;\n // Current status of the order.\n status: OrderStatus;\n // Timestamp when the order was submitted.\n submittedAt?: Date;\n // Timestamp when the order was filled.\n filledAt?: Date;\n // Total quantity of the order that was filled.\n filledQty?: number;\n // Average price at which the order was filled.\n filledAvgPrice?: number;\n // Timestamp when the request to cancel the order was made.\n cancelRequestedAt?: Date;\n // Timestamp when the order was canceled.\n canceledAt?: Date;\n // The asset this order is for.\n asset: {\n symbol: string;\n name: string;\n type: AssetType;\n };\n // Fee associated with the order.\n fee?: number;\n // Strike price for option orders. Required when 'asset.type' is 'OPTION'.\n strikePrice?: number;\n // Expiration date for option orders. Required when 'asset.type' is 'OPTION'.\n expirationDate?: Date;\n // Type of option contract ('CALL' or 'PUT'). Required when 'asset.type' is 'OPTION'.\n optionType?: OptionType;\n};\n\nexport enum OrderSide {\n BUY = \"BUY\",\n SELL = \"SELL\"\n}\n\nexport enum OrderType {\n MARKET = \"MARKET\",\n LIMIT = \"LIMIT\",\n STOP = \"STOP\",\n STOP_LIMIT = \"STOP_LIMIT\",\n TRAILING_STOP = \"TRAILING_STOP\"\n}\n\nexport enum OrderClass {\n SIMPLE = \"SIMPLE\",\n BRACKET = \"BRACKET\",\n OCO = \"OCO\",\n OSO = \"OSO\",\n OTO = \"OTO\"\n}\n\n// Time in force enum (day, gtc, opg, cls, etc.).\nexport enum TimeInForce {\n DAY = \"DAY\",\n GTC = \"GTC\",\n OPG = \"OPG\",\n CLS = \"CLS\",\n IOC = \"IOC\",\n FOK = \"FOK\"\n}\n\nexport enum OrderStatus {\n STAGED = \"STAGED\",\n NEW = \"NEW\",\n PARTIALLY_FILLED = \"PARTIALLY_FILLED\",\n FILLED = \"FILLED\",\n DONE_FOR_DAY = \"DONE_FOR_DAY\",\n CANCELED = \"CANCELED\",\n EXPIRED = \"EXPIRED\",\n HELD = \"HELD\",\n REPLACED = \"REPLACED\",\n PENDING_CANCEL = \"PENDING_CANCEL\",\n PENDING_REPLACE = \"PENDING_REPLACE\",\n ACCEPTED = \"ACCEPTED\",\n PENDING_NEW = \"PENDING_NEW\",\n ACCEPTED_FOR_BIDDING = \"ACCEPTED_FOR_BIDDING\",\n STOPPED = \"STOPPED\",\n REJECTED = \"REJECTED\",\n SUSPENDED = \"SUSPENDED\",\n CALCULATED = \"CALCULATED\"\n}\n\nexport enum AssetType {\n STOCK = \"STOCK\",\n ETF = \"ETF\",\n MUTUAL_FUND = \"MUTUAL_FUND\",\n CRYPTOCURRENCY = \"CRYPTOCURRENCY\",\n INDEX = \"INDEX\",\n COMMODITY = \"COMMODITY\",\n CURRENCY = \"CURRENCY\",\n OPTION = \"OPTION\",\n FUTURE = \"FUTURE\",\n BOND = \"BOND\",\n WARRANT = \"WARRANT\",\n ADR = \"ADR\",\n GDR = \"GDR\",\n UNIT = \"UNIT\",\n RIGHT = \"RIGHT\",\n REIT = \"REIT\",\n STRUCTURED_PRODUCT = \"STRUCTURED_PRODUCT\",\n SWAP = \"SWAP\",\n SPOT = \"SPOT\",\n FORWARD = \"FORWARD\",\n OTHER = \"OTHER\"\n}\n\nexport enum OptionType {\n CALL = \"CALL\",\n PUT = \"PUT\"\n}\n\n";
2
2
  //# sourceMappingURL=Order.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Order.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,8mLAgI3B,CAAC"}
1
+ {"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Order.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,upMAyJ3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Order.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Order.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgI9B,CAAC"}
1
+ {"version":3,"file":"Order.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Order.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyJ9B,CAAC"}
@@ -69,6 +69,7 @@ export type Order = {
69
69
  // Type of option contract ('CALL' or 'PUT'). Required when 'asset.type' is 'OPTION'.
70
70
  optionType?: OptionType;
71
71
  };
72
+
72
73
  export enum OrderSide {
73
74
  BUY = "BUY",
74
75
  SELL = "SELL"
@@ -121,6 +122,30 @@ export enum OrderStatus {
121
122
  CALCULATED = "CALCULATED"
122
123
  }
123
124
 
125
+ export enum AssetType {
126
+ STOCK = "STOCK",
127
+ ETF = "ETF",
128
+ MUTUAL_FUND = "MUTUAL_FUND",
129
+ CRYPTOCURRENCY = "CRYPTOCURRENCY",
130
+ INDEX = "INDEX",
131
+ COMMODITY = "COMMODITY",
132
+ CURRENCY = "CURRENCY",
133
+ OPTION = "OPTION",
134
+ FUTURE = "FUTURE",
135
+ BOND = "BOND",
136
+ WARRANT = "WARRANT",
137
+ ADR = "ADR",
138
+ GDR = "GDR",
139
+ UNIT = "UNIT",
140
+ RIGHT = "RIGHT",
141
+ REIT = "REIT",
142
+ STRUCTURED_PRODUCT = "STRUCTURED_PRODUCT",
143
+ SWAP = "SWAP",
144
+ SPOT = "SPOT",
145
+ FORWARD = "FORWARD",
146
+ OTHER = "OTHER"
147
+ }
148
+
124
149
  export enum OptionType {
125
150
  CALL = "CALL",
126
151
  PUT = "PUT"
@@ -1,2 +1,2 @@
1
- export declare const PositionTypeString = "\nYour response should adhere to the following type definition for the \"Position\" 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 Position = {\n // Relation to the Asset model.\n asset: {\n symbol: string;\n name: string;\n type: AssetType;\n };\n // The average price at which the asset was acquired.\n averageEntryPrice: number;\n // Total quantity of the asset held.\n qty: number;\n // Quantity of the asset available for trading.\n qtyAvailable: number;\n // Current market value of the position.\n marketValue: number;\n // Total cost basis of the position.\n costBasis: number;\n // Unrealized profit or loss of the position.\n unrealizedPL: number;\n // Unrealized profit or loss as a percentage.\n unrealizedPLPC: number;\n // Unrealized intraday profit or loss.\n unrealisedIntradayPL: number;\n // Unrealized intraday profit or loss as a percentage.\n unrealisedIntradayPLPC: number;\n // Current price of the asset.\n currentPrice: number;\n // Last traded price of the asset.\n lastTradePrice: number;\n // Price change of the asset for the day.\n changeToday: number;\n // Indicates if the asset is marginable.\n assetMarginable: boolean;\n};\n";
1
+ export declare const PositionTypeString = "\nYour response should adhere to the following type definition for the \"Position\" 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 Position = {\n // Relation to the Asset model.\n asset: {\n symbol: string;\n name: string;\n type: AssetType;\n };\n // The average price at which the asset was acquired.\n averageEntryPrice: number;\n // Total quantity of the asset held.\n qty: number;\n // Quantity of the asset available for trading.\n qtyAvailable: number;\n // Current market value of the position.\n marketValue: number;\n // Total cost basis of the position.\n costBasis: number;\n // Unrealized profit or loss of the position.\n unrealizedPL: number;\n // Unrealized profit or loss as a percentage.\n unrealizedPLPC: number;\n // Unrealized intraday profit or loss.\n unrealisedIntradayPL: number;\n // Unrealized intraday profit or loss as a percentage.\n unrealisedIntradayPLPC: number;\n // Current price of the asset.\n currentPrice: number;\n // Last traded price of the asset.\n lastTradePrice: number;\n // Price change of the asset for the day.\n changeToday: number;\n // Indicates if the asset is marginable.\n assetMarginable: boolean;\n};\n\nexport enum AssetType {\n STOCK = \"STOCK\",\n ETF = \"ETF\",\n MUTUAL_FUND = \"MUTUAL_FUND\",\n CRYPTOCURRENCY = \"CRYPTOCURRENCY\",\n INDEX = \"INDEX\",\n COMMODITY = \"COMMODITY\",\n CURRENCY = \"CURRENCY\",\n OPTION = \"OPTION\",\n FUTURE = \"FUTURE\",\n BOND = \"BOND\",\n WARRANT = \"WARRANT\",\n ADR = \"ADR\",\n GDR = \"GDR\",\n UNIT = \"UNIT\",\n RIGHT = \"RIGHT\",\n REIT = \"REIT\",\n STRUCTURED_PRODUCT = \"STRUCTURED_PRODUCT\",\n SWAP = \"SWAP\",\n SPOT = \"SPOT\",\n FORWARD = \"FORWARD\",\n OTHER = \"OTHER\"\n}\n\n";
2
2
  //# sourceMappingURL=Position.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Position.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Position.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,2xCAuC9B,CAAC"}
1
+ {"version":3,"file":"Position.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Position.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,o0DAgE9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Position.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Position.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuCjC,CAAC"}
1
+ {"version":3,"file":"Position.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Position.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgEjC,CAAC"}
@@ -37,5 +37,30 @@ export type Position = {
37
37
  // Indicates if the asset is marginable.
38
38
  assetMarginable: boolean;
39
39
  };
40
+
41
+ export enum AssetType {
42
+ STOCK = "STOCK",
43
+ ETF = "ETF",
44
+ MUTUAL_FUND = "MUTUAL_FUND",
45
+ CRYPTOCURRENCY = "CRYPTOCURRENCY",
46
+ INDEX = "INDEX",
47
+ COMMODITY = "COMMODITY",
48
+ CURRENCY = "CURRENCY",
49
+ OPTION = "OPTION",
50
+ FUTURE = "FUTURE",
51
+ BOND = "BOND",
52
+ WARRANT = "WARRANT",
53
+ ADR = "ADR",
54
+ GDR = "GDR",
55
+ UNIT = "UNIT",
56
+ RIGHT = "RIGHT",
57
+ REIT = "REIT",
58
+ STRUCTURED_PRODUCT = "STRUCTURED_PRODUCT",
59
+ SWAP = "SWAP",
60
+ SPOT = "SPOT",
61
+ FORWARD = "FORWARD",
62
+ OTHER = "OTHER"
63
+ }
64
+
40
65
  `;
41
66
  //# sourceMappingURL=Position.js.map
@@ -1,2 +1,2 @@
1
- export declare const ScheduledOptionOrderTypeString = "\nYour response should adhere to the following type definition for the \"ScheduledOptionOrder\" 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 ScheduledOptionOrder = {\n // Payload of the scheduled option order as a JSON object.\n payload: any;\n};\n";
1
+ export declare const ScheduledOptionOrderTypeString = "\nYour response should adhere to the following type definition for the \"ScheduledOptionOrder\" 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 ScheduledOptionOrder = {\n // Payload of the scheduled option order as a JSON object.\n payload: any;\n};\n\n";
2
2
  //# sourceMappingURL=ScheduledOptionOrder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ScheduledOptionOrder.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/ScheduledOptionOrder.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,8BAA8B,0WAS1C,CAAC"}
1
+ {"version":3,"file":"ScheduledOptionOrder.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/ScheduledOptionOrder.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,8BAA8B,4WAU1C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ScheduledOptionOrder.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/ScheduledOptionOrder.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,8BAA8B,GAAG;;;;;;;;;CAS7C,CAAC"}
1
+ {"version":3,"file":"ScheduledOptionOrder.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/ScheduledOptionOrder.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,8BAA8B,GAAG;;;;;;;;;;CAU7C,CAAC"}
@@ -7,5 +7,6 @@ export type ScheduledOptionOrder = {
7
7
  // Payload of the scheduled option order as a JSON object.
8
8
  payload: any;
9
9
  };
10
+
10
11
  `;
11
12
  //# sourceMappingURL=ScheduledOptionOrder.js.map
@@ -1,2 +1,2 @@
1
- export declare const SessionTypeString = "\nYour response should adhere to the following type definition for the \"Session\" 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 Session = {\n // Expiration date and time of the session.\n expires: Date;\n // Relation to the User model.\n user: {\n id: string;\n name?: string;\n email?: string;\n };\n};\n";
1
+ export declare const SessionTypeString = "\nYour response should adhere to the following type definition for the \"Session\" 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 Session = {\n // Expiration date and time of the session.\n expires: Date;\n // Relation to the User model.\n user: {\n id: string;\n name?: string;\n email?: string;\n };\n};\n\n";
2
2
  //# sourceMappingURL=Session.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Session.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Session.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,+aAe7B,CAAC"}
1
+ {"version":3,"file":"Session.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Session.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,ibAgB7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Session.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Session.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,iBAAiB,GAAG;;;;;;;;;;;;;;;CAehC,CAAC"}
1
+ {"version":3,"file":"Session.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Session.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,iBAAiB,GAAG;;;;;;;;;;;;;;;;CAgBhC,CAAC"}
@@ -13,5 +13,6 @@ export type Session = {
13
13
  email?: string;
14
14
  };
15
15
  };
16
+
16
17
  `;
17
18
  //# sourceMappingURL=Session.js.map
@@ -1,2 +1,2 @@
1
- export declare const StopLossTypeString = "\nYour response should adhere to the following type definition for the \"StopLoss\" 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 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";
1
+ export declare const StopLossTypeString = "\nYour response should adhere to the following type definition for the \"StopLoss\" 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 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\n";
2
2
  //# sourceMappingURL=StopLoss.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StopLoss.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/StopLoss.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,msBAW9B,CAAC"}
1
+ {"version":3,"file":"StopLoss.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/StopLoss.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,qsBAY9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"StopLoss.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/StopLoss.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG;;;;;;;;;;;CAWjC,CAAC"}
1
+ {"version":3,"file":"StopLoss.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/StopLoss.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG;;;;;;;;;;;;CAYjC,CAAC"}
@@ -9,5 +9,6 @@ export type StopLoss = {
9
9
  // Must be a positive number and required if parent Order's type is STOP_LIMIT. It must be ≥ basePrice + 0.01, and should always be greater than stopPrice.
10
10
  limitPrice?: number;
11
11
  };
12
+
12
13
  `;
13
14
  //# sourceMappingURL=StopLoss.js.map
@@ -1,2 +1,2 @@
1
- export declare const TakeProfitTypeString = "\nYour response should adhere to the following type definition for the \"TakeProfit\" 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 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";
1
+ export declare const TakeProfitTypeString = "\nYour response should adhere to the following type definition for the \"TakeProfit\" 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 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\n";
2
2
  //# sourceMappingURL=TakeProfit.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TakeProfit.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/TakeProfit.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,0rBAWhC,CAAC"}
1
+ {"version":3,"file":"TakeProfit.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/TakeProfit.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,4rBAYhC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TakeProfit.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/TakeProfit.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,oBAAoB,GAAG;;;;;;;;;;;CAWnC,CAAC"}
1
+ {"version":3,"file":"TakeProfit.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/TakeProfit.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,oBAAoB,GAAG;;;;;;;;;;;;CAYnC,CAAC"}
@@ -9,5 +9,6 @@ export type TakeProfit = {
9
9
  // Must be a positive number and required if parent Order's type is STOP_LIMIT. It must be ≤ basePrice - 0.01, and should always be less than limitPrice.
10
10
  stopPrice?: number;
11
11
  };
12
+
12
13
  `;
13
14
  //# sourceMappingURL=TakeProfit.js.map
@@ -1,2 +1,2 @@
1
- export declare const TradeTypeString = "\nYour response should adhere to the following type definition for the \"Trade\" 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 Trade = {\n // Quantity of the asset being traded.\n qty: number;\n // Price at which the asset was traded.\n price: number;\n // Total value of the trade (qty * price).\n total: number;\n // Option Type (CALL or PUT) if the asset is an option.\n optionType?: OptionType;\n // Signal that triggered the trade.\n signal: TradeSignal;\n // Strategy used to execute the trade.\n strategy: TradeStrategy;\n // summary of the trade decision (this should be a short description of the trade).\n summary: string;\n // Confidence level in the trade decision.\n confidence: number;\n // Current status of the trade.\n status: TradeStatus;\n // Relation to the Asset model.\n asset: {\n symbol: string;\n name: string;\n type: AssetType;\n };\n // List of actions associated with this trade.\n actions: {\n id: string;\n sequence: number;\n type: ActionType;\n note: string;\n status: ActionStatus;\n }[];\n};\nexport enum OptionType {\n CALL = \"CALL\",\n PUT = \"PUT\"\n}\n\nexport enum TradeSignal {\n GOLDEN_CROSS = \"GOLDEN_CROSS\",\n MOVING_AVERAGE_CROSSOVER = \"MOVING_AVERAGE_CROSSOVER\",\n RSI_OVERBOUGHT = \"RSI_OVERBOUGHT\",\n RSI_OVERSOLD = \"RSI_OVERSOLD\",\n MACD_CROSSOVER = \"MACD_CROSSOVER\",\n BOLLINGER_BANDS_BREAKOUT = \"BOLLINGER_BANDS_BREAKOUT\",\n TREND_REVERSAL = \"TREND_REVERSAL\",\n VOLATILITY_SPIKE = \"VOLATILITY_SPIKE\",\n PRICE_ACTION = \"PRICE_ACTION\",\n IMPLIED_VOLATILITY_SURGE = \"IMPLIED_VOLATILITY_SURGE\",\n BREAKOUT_ABOVE_RESISTANCE = \"BREAKOUT_ABOVE_RESISTANCE\",\n BREAKDOWN_BELOW_SUPPORT = \"BREAKDOWN_BELOW_SUPPORT\",\n SUPPORT_LEVEL_HOLD = \"SUPPORT_LEVEL_HOLD\",\n RESISTANCE_LEVEL_HOLD = \"RESISTANCE_LEVEL_HOLD\",\n FIBONACCI_RETRACEMENT = \"FIBONACCI_RETRACEMENT\",\n ELLIOTT_WAVE = \"ELLIOTT_WAVE\",\n PARABOLIC_SAR = \"PARABOLIC_SAR\",\n ADX_TREND_STRENGTH = \"ADX_TREND_STRENGTH\",\n CCI_OVERBOUGHT = \"CCI_OVERBOUGHT\",\n CCI_OVERSOLD = \"CCI_OVERSOLD\",\n STOCHASTIC_OVERSOLD = \"STOCHASTIC_OVERSOLD\",\n STOCHASTIC_OVERBOUGHT = \"STOCHASTIC_OVERBOUGHT\",\n DIVERGENCE_SIGNAL = \"DIVERGENCE_SIGNAL\",\n GANN_FAN = \"GANN_FAN\",\n DONCHIAN_CHANNEL_BREAKOUT = \"DONCHIAN_CHANNEL_BREAKOUT\",\n PIVOT_POINT = \"PIVOT_POINT\",\n KELTNER_CHANNEL_BREAK = \"KELTNER_CHANNEL_BREAK\",\n HEIKIN_ASHI_CROSSOVER = \"HEIKIN_ASHI_CROSSOVER\",\n VOLUME_SURGE = \"VOLUME_SURGE\",\n ORDER_BOOK_IMBALANCE = \"ORDER_BOOK_IMBALANCE\",\n TIME_SERIES_ANOMALY = \"TIME_SERIES_ANOMALY\",\n MEAN_REVERSION_LEVEL = \"MEAN_REVERSION_LEVEL\",\n PAIR_TRADING_SIGNAL = \"PAIR_TRADING_SIGNAL\",\n SENTIMENT_SCORE_THRESHOLD = \"SENTIMENT_SCORE_THRESHOLD\",\n NEWS_SENTIMENT_CHANGE = \"NEWS_SENTIMENT_CHANGE\",\n ORDER_FLOW_IMPACT = \"ORDER_FLOW_IMPACT\",\n LIQUIDITY_DRIVEN_MOVE = \"LIQUIDITY_DRIVEN_MOVE\",\n MACHINE_LEARNING_PREDICTION = \"MACHINE_LEARNING_PREDICTION\",\n SENTIMENT_ANALYSIS_TRIGGER = \"SENTIMENT_ANALYSIS_TRIGGER\",\n NO_SIGNAL = \"NO_SIGNAL\"\n}\n\nexport enum TradeStrategy {\n TECHNICAL_ANALYSIS = \"TECHNICAL_ANALYSIS\",\n TREND_FOLLOWING = \"TREND_FOLLOWING\",\n MEAN_REVERSION = \"MEAN_REVERSION\",\n OPTIONS_STRATEGY = \"OPTIONS_STRATEGY\",\n MOMENTUM_STRATEGY = \"MOMENTUM_STRATEGY\",\n ARBITRAGE = \"ARBITRAGE\",\n STATISTICAL_ARBITRAGE = \"STATISTICAL_ARBITRAGE\",\n MARKET_MAKING = \"MARKET_MAKING\",\n NEWS_BASED_STRATEGY = \"NEWS_BASED_STRATEGY\",\n SENTIMENT_ANALYSIS = \"SENTIMENT_ANALYSIS\",\n LIQUIDITY_PROVISION = \"LIQUIDITY_PROVISION\",\n SCALPING = \"SCALPING\",\n VOLATILITY_TRADING = \"VOLATILITY_TRADING\",\n EVENT_DRIVEN = \"EVENT_DRIVEN\",\n BREAKOUT_STRATEGY = \"BREAKOUT_STRATEGY\",\n ORDER_FLOW_TRADING = \"ORDER_FLOW_TRADING\",\n PAIR_TRADING = \"PAIR_TRADING\",\n SECTOR_ROTATION = \"SECTOR_ROTATION\",\n HIGH_FREQUENCY_TRADING = \"HIGH_FREQUENCY_TRADING\",\n MACHINE_VISION_ANALYSIS = \"MACHINE_VISION_ANALYSIS\",\n NO_STRATEGY = \"NO_STRATEGY\"\n}\n\nexport enum TradeStatus {\n PENDING = \"PENDING\",\n OPEN = \"OPEN\",\n PARTIAL = \"PARTIAL\",\n COMPLETED = \"COMPLETED\",\n CANCELED = \"CANCELED\"\n}\n\n";
1
+ export declare const TradeTypeString = "\nYour response should adhere to the following type definition for the \"Trade\" 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 Trade = {\n // Quantity of the asset being traded.\n qty: number;\n // Price at which the asset was traded.\n price: number;\n // Total value of the trade (qty * price).\n total: number;\n // Option Type (CALL or PUT) if the asset is an option.\n optionType?: OptionType;\n // Signal that triggered the trade.\n signal: TradeSignal;\n // Strategy used to execute the trade.\n strategy: TradeStrategy;\n // summary of the trade decision (this should be a short description of the trade).\n summary: string;\n // Confidence level in the trade decision.\n confidence: number;\n // Current status of the trade.\n status: TradeStatus;\n // Relation to the Asset model.\n asset: {\n symbol: string;\n name: string;\n type: AssetType;\n };\n // List of actions associated with this trade.\n actions: {\n id: string;\n sequence: number;\n type: ActionType;\n note: string;\n status: ActionStatus;\n }[];\n};\n\nexport enum OptionType {\n CALL = \"CALL\",\n PUT = \"PUT\"\n}\n\nexport enum TradeSignal {\n GOLDEN_CROSS = \"GOLDEN_CROSS\",\n MOVING_AVERAGE_CROSSOVER = \"MOVING_AVERAGE_CROSSOVER\",\n RSI_OVERBOUGHT = \"RSI_OVERBOUGHT\",\n RSI_OVERSOLD = \"RSI_OVERSOLD\",\n MACD_CROSSOVER = \"MACD_CROSSOVER\",\n BOLLINGER_BANDS_BREAKOUT = \"BOLLINGER_BANDS_BREAKOUT\",\n TREND_REVERSAL = \"TREND_REVERSAL\",\n VOLATILITY_SPIKE = \"VOLATILITY_SPIKE\",\n PRICE_ACTION = \"PRICE_ACTION\",\n IMPLIED_VOLATILITY_SURGE = \"IMPLIED_VOLATILITY_SURGE\",\n BREAKOUT_ABOVE_RESISTANCE = \"BREAKOUT_ABOVE_RESISTANCE\",\n BREAKDOWN_BELOW_SUPPORT = \"BREAKDOWN_BELOW_SUPPORT\",\n SUPPORT_LEVEL_HOLD = \"SUPPORT_LEVEL_HOLD\",\n RESISTANCE_LEVEL_HOLD = \"RESISTANCE_LEVEL_HOLD\",\n FIBONACCI_RETRACEMENT = \"FIBONACCI_RETRACEMENT\",\n ELLIOTT_WAVE = \"ELLIOTT_WAVE\",\n PARABOLIC_SAR = \"PARABOLIC_SAR\",\n ADX_TREND_STRENGTH = \"ADX_TREND_STRENGTH\",\n CCI_OVERBOUGHT = \"CCI_OVERBOUGHT\",\n CCI_OVERSOLD = \"CCI_OVERSOLD\",\n STOCHASTIC_OVERSOLD = \"STOCHASTIC_OVERSOLD\",\n STOCHASTIC_OVERBOUGHT = \"STOCHASTIC_OVERBOUGHT\",\n DIVERGENCE_SIGNAL = \"DIVERGENCE_SIGNAL\",\n GANN_FAN = \"GANN_FAN\",\n DONCHIAN_CHANNEL_BREAKOUT = \"DONCHIAN_CHANNEL_BREAKOUT\",\n PIVOT_POINT = \"PIVOT_POINT\",\n KELTNER_CHANNEL_BREAK = \"KELTNER_CHANNEL_BREAK\",\n HEIKIN_ASHI_CROSSOVER = \"HEIKIN_ASHI_CROSSOVER\",\n VOLUME_SURGE = \"VOLUME_SURGE\",\n ORDER_BOOK_IMBALANCE = \"ORDER_BOOK_IMBALANCE\",\n TIME_SERIES_ANOMALY = \"TIME_SERIES_ANOMALY\",\n MEAN_REVERSION_LEVEL = \"MEAN_REVERSION_LEVEL\",\n PAIR_TRADING_SIGNAL = \"PAIR_TRADING_SIGNAL\",\n SENTIMENT_SCORE_THRESHOLD = \"SENTIMENT_SCORE_THRESHOLD\",\n NEWS_SENTIMENT_CHANGE = \"NEWS_SENTIMENT_CHANGE\",\n ORDER_FLOW_IMPACT = \"ORDER_FLOW_IMPACT\",\n LIQUIDITY_DRIVEN_MOVE = \"LIQUIDITY_DRIVEN_MOVE\",\n MACHINE_LEARNING_PREDICTION = \"MACHINE_LEARNING_PREDICTION\",\n SENTIMENT_ANALYSIS_TRIGGER = \"SENTIMENT_ANALYSIS_TRIGGER\",\n NO_SIGNAL = \"NO_SIGNAL\"\n}\n\nexport enum TradeStrategy {\n TECHNICAL_ANALYSIS = \"TECHNICAL_ANALYSIS\",\n TREND_FOLLOWING = \"TREND_FOLLOWING\",\n MEAN_REVERSION = \"MEAN_REVERSION\",\n OPTIONS_STRATEGY = \"OPTIONS_STRATEGY\",\n MOMENTUM_STRATEGY = \"MOMENTUM_STRATEGY\",\n ARBITRAGE = \"ARBITRAGE\",\n STATISTICAL_ARBITRAGE = \"STATISTICAL_ARBITRAGE\",\n MARKET_MAKING = \"MARKET_MAKING\",\n NEWS_BASED_STRATEGY = \"NEWS_BASED_STRATEGY\",\n SENTIMENT_ANALYSIS = \"SENTIMENT_ANALYSIS\",\n LIQUIDITY_PROVISION = \"LIQUIDITY_PROVISION\",\n SCALPING = \"SCALPING\",\n VOLATILITY_TRADING = \"VOLATILITY_TRADING\",\n EVENT_DRIVEN = \"EVENT_DRIVEN\",\n BREAKOUT_STRATEGY = \"BREAKOUT_STRATEGY\",\n ORDER_FLOW_TRADING = \"ORDER_FLOW_TRADING\",\n PAIR_TRADING = \"PAIR_TRADING\",\n SECTOR_ROTATION = \"SECTOR_ROTATION\",\n HIGH_FREQUENCY_TRADING = \"HIGH_FREQUENCY_TRADING\",\n MACHINE_VISION_ANALYSIS = \"MACHINE_VISION_ANALYSIS\",\n NO_STRATEGY = \"NO_STRATEGY\"\n}\n\nexport enum TradeStatus {\n PENDING = \"PENDING\",\n OPEN = \"OPEN\",\n PARTIAL = \"PARTIAL\",\n COMPLETED = \"COMPLETED\",\n CANCELED = \"CANCELED\"\n}\n\nexport enum AssetType {\n STOCK = \"STOCK\",\n ETF = \"ETF\",\n MUTUAL_FUND = \"MUTUAL_FUND\",\n CRYPTOCURRENCY = \"CRYPTOCURRENCY\",\n INDEX = \"INDEX\",\n COMMODITY = \"COMMODITY\",\n CURRENCY = \"CURRENCY\",\n OPTION = \"OPTION\",\n FUTURE = \"FUTURE\",\n BOND = \"BOND\",\n WARRANT = \"WARRANT\",\n ADR = \"ADR\",\n GDR = \"GDR\",\n UNIT = \"UNIT\",\n RIGHT = \"RIGHT\",\n REIT = \"REIT\",\n STRUCTURED_PRODUCT = \"STRUCTURED_PRODUCT\",\n SWAP = \"SWAP\",\n SPOT = \"SPOT\",\n FORWARD = \"FORWARD\",\n OTHER = \"OTHER\"\n}\n\nexport enum ActionType {\n BUY = \"BUY\",\n BUY_OPTION = \"BUY_OPTION\",\n EXERCISE_OPTION = \"EXERCISE_OPTION\",\n SELL = \"SELL\",\n CANCEL = \"CANCEL\",\n ADJUST = \"ADJUST\",\n HEDGE = \"HEDGE\"\n}\n\nexport enum ActionStatus {\n STAGED = \"STAGED\",\n EXECUTED = \"EXECUTED\",\n COMPLETED = \"COMPLETED\",\n CANCELED = \"CANCELED\"\n}\n\n";
2
2
  //# sourceMappingURL=Trade.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Trade.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Trade.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,suIAuH3B,CAAC"}
1
+ {"version":3,"file":"Trade.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Trade.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,inKAiK3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Trade.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Trade.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuH9B,CAAC"}
1
+ {"version":3,"file":"Trade.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Trade.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiK9B,CAAC"}
@@ -37,6 +37,7 @@ export type Trade = {
37
37
  status: ActionStatus;
38
38
  }[];
39
39
  };
40
+
40
41
  export enum OptionType {
41
42
  CALL = "CALL",
42
43
  PUT = "PUT"
@@ -117,5 +118,46 @@ export enum TradeStatus {
117
118
  CANCELED = "CANCELED"
118
119
  }
119
120
 
121
+ export enum AssetType {
122
+ STOCK = "STOCK",
123
+ ETF = "ETF",
124
+ MUTUAL_FUND = "MUTUAL_FUND",
125
+ CRYPTOCURRENCY = "CRYPTOCURRENCY",
126
+ INDEX = "INDEX",
127
+ COMMODITY = "COMMODITY",
128
+ CURRENCY = "CURRENCY",
129
+ OPTION = "OPTION",
130
+ FUTURE = "FUTURE",
131
+ BOND = "BOND",
132
+ WARRANT = "WARRANT",
133
+ ADR = "ADR",
134
+ GDR = "GDR",
135
+ UNIT = "UNIT",
136
+ RIGHT = "RIGHT",
137
+ REIT = "REIT",
138
+ STRUCTURED_PRODUCT = "STRUCTURED_PRODUCT",
139
+ SWAP = "SWAP",
140
+ SPOT = "SPOT",
141
+ FORWARD = "FORWARD",
142
+ OTHER = "OTHER"
143
+ }
144
+
145
+ export enum ActionType {
146
+ BUY = "BUY",
147
+ BUY_OPTION = "BUY_OPTION",
148
+ EXERCISE_OPTION = "EXERCISE_OPTION",
149
+ SELL = "SELL",
150
+ CANCEL = "CANCEL",
151
+ ADJUST = "ADJUST",
152
+ HEDGE = "HEDGE"
153
+ }
154
+
155
+ export enum ActionStatus {
156
+ STAGED = "STAGED",
157
+ EXECUTED = "EXECUTED",
158
+ COMPLETED = "COMPLETED",
159
+ CANCELED = "CANCELED"
160
+ }
161
+
120
162
  `;
121
163
  //# sourceMappingURL=Trade.js.map
@@ -1,2 +1,2 @@
1
- export declare const UserTypeString = "\nYour response should adhere to the following type definition for the \"User\" 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 User = {\n // The user's full name.\n name?: string;\n // The user's email address, must be unique.\n email?: string;\n // URL to the user's profile image.\n image?: string;\n // The role assigned to the user, determining permissions.\n role: UserRole;\n // A short biography or description of the user.\n bio?: string;\n // The user's job title or position.\n jobTitle?: string;\n // The type of Alpaca account the user currently holds.\n currentAccount: AlpacaAccountType;\n // Relation to the Customer model.\n customer?: {\n id: number;\n name?: string;\n plan?: SubscriptionPlan;\n };\n // The subscription plan the user is enrolled in.\n plan?: SubscriptionPlan;\n // List of Alpaca accounts linked to the user.\n alpacaAccounts: {\n id: string;\n type: AlpacaAccountType;\n }[];\n // OpenAI API key for the user.\n openaiAPIKey?: string;\n // OpenAI API Language model selected by the user\n openaiModel?: OpenaiModel;\n};\nexport enum UserRole {\n OWNER = \"OWNER\",\n ADMIN = \"ADMIN\",\n USER = \"USER\"\n}\n\nexport enum AlpacaAccountType {\n PAPER = \"PAPER\",\n LIVE = \"LIVE\"\n}\n\nexport enum SubscriptionPlan {\n FREE = \"FREE\",\n PRO = \"PRO\",\n BUSINESS = \"BUSINESS\"\n}\n\nexport enum OpenaiModel {\n GPT_4O = \"GPT_4O\",\n GPT_4O_MINI = \"GPT_4O_MINI\",\n O1_PREVIEW = \"O1_PREVIEW\",\n O1_MINI = \"O1_MINI\"\n}\n\n";
1
+ export declare const UserTypeString = "\nYour response should adhere to the following type definition for the \"User\" 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 User = {\n // The user's full name.\n name?: string;\n // The user's email address, must be unique.\n email?: string;\n // URL to the user's profile image.\n image?: string;\n // The role assigned to the user, determining permissions.\n role: UserRole;\n // A short biography or description of the user.\n bio?: string;\n // The user's job title or position.\n jobTitle?: string;\n // The type of Alpaca account the user currently holds.\n currentAccount: AlpacaAccountType;\n // Relation to the Customer model.\n customer?: {\n id: number;\n name?: string;\n plan?: SubscriptionPlan;\n };\n // The subscription plan the user is enrolled in.\n plan?: SubscriptionPlan;\n // List of Alpaca accounts linked to the user.\n alpacaAccounts: {\n id: string;\n type: AlpacaAccountType;\n }[];\n // OpenAI API key for the user.\n openaiAPIKey?: string;\n // OpenAI API Language model selected by the user\n openaiModel?: OpenaiModel;\n};\n\nexport enum UserRole {\n OWNER = \"OWNER\",\n ADMIN = \"ADMIN\",\n USER = \"USER\"\n}\n\nexport enum AlpacaAccountType {\n PAPER = \"PAPER\",\n LIVE = \"LIVE\"\n}\n\nexport enum SubscriptionPlan {\n FREE = \"FREE\",\n PRO = \"PRO\",\n BUSINESS = \"BUSINESS\"\n}\n\nexport enum OpenaiModel {\n GPT_4O = \"GPT_4O\",\n GPT_4O_MINI = \"GPT_4O_MINI\",\n O1_PREVIEW = \"O1_PREVIEW\",\n O1_MINI = \"O1_MINI\"\n}\n\n";
2
2
  //# sourceMappingURL=User.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/User.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,6lDA8D1B,CAAC"}
1
+ {"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/User.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,+lDA+D1B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"User.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/User.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,cAAc,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8D7B,CAAC"}
1
+ {"version":3,"file":"User.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/User.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,cAAc,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+D7B,CAAC"}
@@ -36,6 +36,7 @@ export type User = {
36
36
  // OpenAI API Language model selected by the user
37
37
  openaiModel?: OpenaiModel;
38
38
  };
39
+
39
40
  export enum UserRole {
40
41
  OWNER = "OWNER",
41
42
  ADMIN = "ADMIN",
@@ -1,2 +1,2 @@
1
- export declare const VerificationTokenTypeString = "\nYour response should adhere to the following type definition for the \"VerificationToken\" 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 VerificationToken = {\n\n};\n";
1
+ export declare const VerificationTokenTypeString = "\nYour response should adhere to the following type definition for the \"VerificationToken\" 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 VerificationToken = {\n\n};\n\n";
2
2
  //# sourceMappingURL=VerificationToken.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VerificationToken.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/VerificationToken.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B,uRAQvC,CAAC"}
1
+ {"version":3,"file":"VerificationToken.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/VerificationToken.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B,yRASvC,CAAC"}