adaptic-backend 1.0.193 → 1.0.195

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 (75) hide show
  1. package/Account.cjs +0 -1
  2. package/AlpacaAccount.cjs +0 -1
  3. package/Authenticator.cjs +0 -1
  4. package/Customer.cjs +0 -1
  5. package/Position.cjs +0 -1
  6. package/User.cjs +0 -1
  7. package/generated/typeStrings/Order.cjs +2 -16
  8. package/generated/typeStrings/Order.d.ts +1 -1
  9. package/generated/typeStrings/Order.d.ts.map +1 -1
  10. package/generated/typeStrings/Order.js.map +1 -1
  11. package/generated/typeStrings/index.d.ts +1 -1
  12. package/generated/typegraphql-prisma/models/Order.cjs +9 -9
  13. package/generated/typegraphql-prisma/models/Order.d.ts +9 -9
  14. package/generated/typegraphql-prisma/models/Order.js.map +1 -1
  15. package/generated/typegraphql-prisma/models/Position.cjs +1 -1
  16. package/generated/typegraphql-prisma/models/Position.d.ts +2 -2
  17. package/generated/typegraphql-prisma/models/Position.js.map +1 -1
  18. package/generated/typegraphql-prisma/resolvers/relations/Position/PositionRelationsResolver.cjs +1 -1
  19. package/generated/typegraphql-prisma/resolvers/relations/Position/PositionRelationsResolver.js.map +1 -1
  20. package/package.json +1 -1
  21. package/server/Account.d.ts.map +1 -1
  22. package/server/Account.js.map +1 -1
  23. package/server/Account.mjs +0 -1
  24. package/server/AlpacaAccount.d.ts.map +1 -1
  25. package/server/AlpacaAccount.js.map +1 -1
  26. package/server/AlpacaAccount.mjs +0 -1
  27. package/server/Authenticator.d.ts.map +1 -1
  28. package/server/Authenticator.js.map +1 -1
  29. package/server/Authenticator.mjs +0 -1
  30. package/server/Customer.d.ts.map +1 -1
  31. package/server/Customer.js.map +1 -1
  32. package/server/Customer.mjs +0 -1
  33. package/server/Position.d.ts.map +1 -1
  34. package/server/Position.js.map +1 -1
  35. package/server/Position.mjs +0 -1
  36. package/server/User.d.ts.map +1 -1
  37. package/server/User.js.map +1 -1
  38. package/server/User.mjs +0 -1
  39. package/server/generated/selectionSets/Account.d.ts +1 -1
  40. package/server/generated/selectionSets/Account.d.ts.map +1 -1
  41. package/server/generated/selectionSets/Account.js.map +1 -1
  42. package/server/generated/selectionSets/Account.mjs +0 -1
  43. package/server/generated/selectionSets/AlpacaAccount.d.ts +1 -1
  44. package/server/generated/selectionSets/AlpacaAccount.d.ts.map +1 -1
  45. package/server/generated/selectionSets/AlpacaAccount.js.map +1 -1
  46. package/server/generated/selectionSets/AlpacaAccount.mjs +0 -1
  47. package/server/generated/selectionSets/Authenticator.d.ts +1 -1
  48. package/server/generated/selectionSets/Authenticator.d.ts.map +1 -1
  49. package/server/generated/selectionSets/Authenticator.js.map +1 -1
  50. package/server/generated/selectionSets/Authenticator.mjs +0 -1
  51. package/server/generated/selectionSets/Customer.d.ts +1 -1
  52. package/server/generated/selectionSets/Customer.d.ts.map +1 -1
  53. package/server/generated/selectionSets/Customer.js.map +1 -1
  54. package/server/generated/selectionSets/Customer.mjs +0 -1
  55. package/server/generated/selectionSets/Position.d.ts +1 -1
  56. package/server/generated/selectionSets/Position.d.ts.map +1 -1
  57. package/server/generated/selectionSets/Position.js.map +1 -1
  58. package/server/generated/selectionSets/Position.mjs +0 -1
  59. package/server/generated/selectionSets/User.d.ts +1 -1
  60. package/server/generated/selectionSets/User.d.ts.map +1 -1
  61. package/server/generated/selectionSets/User.js.map +1 -1
  62. package/server/generated/selectionSets/User.mjs +0 -1
  63. package/server/generated/typeStrings/Order.d.ts +1 -1
  64. package/server/generated/typeStrings/Order.d.ts.map +1 -1
  65. package/server/generated/typeStrings/Order.js.map +1 -1
  66. package/server/generated/typeStrings/Order.mjs +2 -16
  67. package/server/generated/typeStrings/index.d.ts +1 -1
  68. package/server/generated/typegraphql-prisma/models/Order.d.ts +9 -9
  69. package/server/generated/typegraphql-prisma/models/Order.js.map +1 -1
  70. package/server/generated/typegraphql-prisma/models/Order.mjs +18 -18
  71. package/server/generated/typegraphql-prisma/models/Position.d.ts +2 -2
  72. package/server/generated/typegraphql-prisma/models/Position.js.map +1 -1
  73. package/server/generated/typegraphql-prisma/models/Position.mjs +3 -3
  74. package/server/generated/typegraphql-prisma/resolvers/relations/Position/PositionRelationsResolver.js.map +1 -1
  75. package/server/generated/typegraphql-prisma/resolvers/relations/Position/PositionRelationsResolver.mjs +1 -1
package/server/User.mjs CHANGED
@@ -363,7 +363,6 @@ id
363
363
  lastTradePrice
364
364
  changeToday
365
365
  assetMarginable
366
- alpacaAccountId
367
366
  closed
368
367
  createdAt
369
368
  updatedAt
@@ -1,2 +1,2 @@
1
- export declare const Account = "\n id\n userId\n type\n provider\n providerAccountId\n refresh_token\n access_token\n expires_at\n token_type\n scope\n id_token\n session_state\n createdAt\n updatedAt\n user {\n id\n name\n email\n emailVerified\n image\n createdAt\n updatedAt\n role\n bio\n jobTitle\n currentAccount\n customer {\n id\n authUserId\n name\n plan\n stripeCustomerId\n stripeSubscriptionId\n stripePriceId\n stripeCurrentPeriodEnd\n createdAt\n updatedAt\n }\n customerId\n sessions {\n id\n sessionToken\n userId\n expires\n createdAt\n updatedAt\n }\n authenticators {\n id\n userId\n credentialID\n publicKey\n counter\n createdAt\n updatedAt\n }\n plan\n alpacaAccounts {\n id\n type\n APIKey\n APISecret\n configuration\n marketOpen\n minOrderSize\n maxOrderSize\n minPercentageChange\n volumeThreshold\n userId\n createdAt\n updatedAt\n trades {\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 {\nid\n }\n actions {\nid\n }\n }\n orders {\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 {\nid\n }\n takeProfit {\nid\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 {\nid\n }\n asset {\nid\n }\n fee\n strikePrice\n expirationDate\n optionType\n stopLossId\n takeProfitId\n }\n positions {\n id\n assetId\n asset {\nid\n }\n averageEntryPrice\n qty\n qtyAvailable\n marketValue\n costBasis\n unrealizedPL\n unrealizedPLPC\n unrealisedIntradayPL\n unrealisedIntradayPLPC\n currentPrice\n lastTradePrice\n changeToday\n assetMarginable\n alpacaAccountId\n closed\n createdAt\n updatedAt\n }\n alerts {\n id\n alpacaAccountId\n message\n type\n isRead\n createdAt\n updatedAt\n }\n }\n openaiAPIKey\n openaiModel\n }\n";
1
+ export declare const Account = "\n id\n userId\n type\n provider\n providerAccountId\n refresh_token\n access_token\n expires_at\n token_type\n scope\n id_token\n session_state\n createdAt\n updatedAt\n user {\n id\n name\n email\n emailVerified\n image\n createdAt\n updatedAt\n role\n bio\n jobTitle\n currentAccount\n customer {\n id\n authUserId\n name\n plan\n stripeCustomerId\n stripeSubscriptionId\n stripePriceId\n stripeCurrentPeriodEnd\n createdAt\n updatedAt\n }\n customerId\n sessions {\n id\n sessionToken\n userId\n expires\n createdAt\n updatedAt\n }\n authenticators {\n id\n userId\n credentialID\n publicKey\n counter\n createdAt\n updatedAt\n }\n plan\n alpacaAccounts {\n id\n type\n APIKey\n APISecret\n configuration\n marketOpen\n minOrderSize\n maxOrderSize\n minPercentageChange\n volumeThreshold\n userId\n createdAt\n updatedAt\n trades {\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 {\nid\n }\n actions {\nid\n }\n }\n orders {\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 {\nid\n }\n takeProfit {\nid\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 {\nid\n }\n asset {\nid\n }\n fee\n strikePrice\n expirationDate\n optionType\n stopLossId\n takeProfitId\n }\n positions {\n id\n assetId\n asset {\nid\n }\n averageEntryPrice\n qty\n qtyAvailable\n marketValue\n costBasis\n unrealizedPL\n unrealizedPLPC\n unrealisedIntradayPL\n unrealisedIntradayPLPC\n currentPrice\n lastTradePrice\n changeToday\n assetMarginable\n closed\n createdAt\n updatedAt\n }\n alerts {\n id\n alpacaAccountId\n message\n type\n isRead\n createdAt\n updatedAt\n }\n }\n openaiAPIKey\n openaiModel\n }\n";
2
2
  //# sourceMappingURL=Account.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Account.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,o0FAkLnB,CAAC"}
1
+ {"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Account.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,2yFAiLnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Account.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Account.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkLtB,CAAC"}
1
+ {"version":3,"file":"Account.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Account.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiLtB,CAAC"}
@@ -158,7 +158,6 @@ id
158
158
  lastTradePrice
159
159
  changeToday
160
160
  assetMarginable
161
- alpacaAccountId
162
161
  closed
163
162
  createdAt
164
163
  updatedAt
@@ -1,2 +1,2 @@
1
- export declare const AlpacaAccount = "\n id\n type\n APIKey\n APISecret\n configuration\n marketOpen\n minOrderSize\n maxOrderSize\n minPercentageChange\n volumeThreshold\n user {\n id\n name\n email\n emailVerified\n image\n createdAt\n updatedAt\n role\n bio\n jobTitle\n currentAccount\n customer {\n id\n authUserId\n name\n plan\n stripeCustomerId\n stripeSubscriptionId\n stripePriceId\n stripeCurrentPeriodEnd\n createdAt\n updatedAt\n }\n customerId\n accounts {\n id\n userId\n type\n provider\n providerAccountId\n refresh_token\n access_token\n expires_at\n token_type\n scope\n id_token\n session_state\n createdAt\n updatedAt\n }\n sessions {\n id\n sessionToken\n userId\n expires\n createdAt\n updatedAt\n }\n authenticators {\n id\n userId\n credentialID\n publicKey\n counter\n createdAt\n updatedAt\n }\n plan\n openaiAPIKey\n openaiModel\n }\n userId\n createdAt\n updatedAt\n trades {\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 {\nid\n }\n takeProfit {\nid\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 {\nid\n }\n fee\n strikePrice\n expirationDate\n optionType\n stopLossId\n takeProfitId\n }\n }\n }\n orders {\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 }\n positions {\n id\n assetId\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 averageEntryPrice\n qty\n qtyAvailable\n marketValue\n costBasis\n unrealizedPL\n unrealizedPLPC\n unrealisedIntradayPL\n unrealisedIntradayPLPC\n currentPrice\n lastTradePrice\n changeToday\n assetMarginable\n alpacaAccountId\n closed\n createdAt\n updatedAt\n }\n alerts {\n id\n alpacaAccountId\n message\n type\n isRead\n createdAt\n updatedAt\n }\n";
1
+ export declare const AlpacaAccount = "\n id\n type\n APIKey\n APISecret\n configuration\n marketOpen\n minOrderSize\n maxOrderSize\n minPercentageChange\n volumeThreshold\n user {\n id\n name\n email\n emailVerified\n image\n createdAt\n updatedAt\n role\n bio\n jobTitle\n currentAccount\n customer {\n id\n authUserId\n name\n plan\n stripeCustomerId\n stripeSubscriptionId\n stripePriceId\n stripeCurrentPeriodEnd\n createdAt\n updatedAt\n }\n customerId\n accounts {\n id\n userId\n type\n provider\n providerAccountId\n refresh_token\n access_token\n expires_at\n token_type\n scope\n id_token\n session_state\n createdAt\n updatedAt\n }\n sessions {\n id\n sessionToken\n userId\n expires\n createdAt\n updatedAt\n }\n authenticators {\n id\n userId\n credentialID\n publicKey\n counter\n createdAt\n updatedAt\n }\n plan\n openaiAPIKey\n openaiModel\n }\n userId\n createdAt\n updatedAt\n trades {\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 {\nid\n }\n takeProfit {\nid\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 {\nid\n }\n fee\n strikePrice\n expirationDate\n optionType\n stopLossId\n takeProfitId\n }\n }\n }\n orders {\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 }\n positions {\n id\n assetId\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 averageEntryPrice\n qty\n qtyAvailable\n marketValue\n costBasis\n unrealizedPL\n unrealizedPLPC\n unrealisedIntradayPL\n unrealisedIntradayPLPC\n currentPrice\n lastTradePrice\n changeToday\n assetMarginable\n closed\n createdAt\n updatedAt\n }\n alerts {\n id\n alpacaAccountId\n message\n type\n isRead\n createdAt\n updatedAt\n }\n";
2
2
  //# sourceMappingURL=AlpacaAccount.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AlpacaAccount.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/AlpacaAccount.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,+4NA6ZzB,CAAC"}
1
+ {"version":3,"file":"AlpacaAccount.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/AlpacaAccount.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,03NA4ZzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AlpacaAccount.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/AlpacaAccount.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6Z5B,CAAC"}
1
+ {"version":3,"file":"AlpacaAccount.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/AlpacaAccount.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4Z5B,CAAC"}
@@ -397,7 +397,6 @@ id
397
397
  lastTradePrice
398
398
  changeToday
399
399
  assetMarginable
400
- alpacaAccountId
401
400
  closed
402
401
  createdAt
403
402
  updatedAt
@@ -1,2 +1,2 @@
1
- export declare const Authenticator = "\n id\n userId\n credentialID\n publicKey\n counter\n user {\n id\n name\n email\n emailVerified\n image\n createdAt\n updatedAt\n role\n bio\n jobTitle\n currentAccount\n customer {\n id\n authUserId\n name\n plan\n stripeCustomerId\n stripeSubscriptionId\n stripePriceId\n stripeCurrentPeriodEnd\n createdAt\n updatedAt\n }\n customerId\n accounts {\n id\n userId\n type\n provider\n providerAccountId\n refresh_token\n access_token\n expires_at\n token_type\n scope\n id_token\n session_state\n createdAt\n updatedAt\n }\n sessions {\n id\n sessionToken\n userId\n expires\n createdAt\n updatedAt\n }\n plan\n alpacaAccounts {\n id\n type\n APIKey\n APISecret\n configuration\n marketOpen\n minOrderSize\n maxOrderSize\n minPercentageChange\n volumeThreshold\n userId\n createdAt\n updatedAt\n trades {\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 {\nid\n }\n actions {\nid\n }\n }\n orders {\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 {\nid\n }\n takeProfit {\nid\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 {\nid\n }\n asset {\nid\n }\n fee\n strikePrice\n expirationDate\n optionType\n stopLossId\n takeProfitId\n }\n positions {\n id\n assetId\n asset {\nid\n }\n averageEntryPrice\n qty\n qtyAvailable\n marketValue\n costBasis\n unrealizedPL\n unrealizedPLPC\n unrealisedIntradayPL\n unrealisedIntradayPLPC\n currentPrice\n lastTradePrice\n changeToday\n assetMarginable\n alpacaAccountId\n closed\n createdAt\n updatedAt\n }\n alerts {\n id\n alpacaAccountId\n message\n type\n isRead\n createdAt\n updatedAt\n }\n }\n openaiAPIKey\n openaiModel\n }\n createdAt\n updatedAt\n";
1
+ export declare const Authenticator = "\n id\n userId\n credentialID\n publicKey\n counter\n user {\n id\n name\n email\n emailVerified\n image\n createdAt\n updatedAt\n role\n bio\n jobTitle\n currentAccount\n customer {\n id\n authUserId\n name\n plan\n stripeCustomerId\n stripeSubscriptionId\n stripePriceId\n stripeCurrentPeriodEnd\n createdAt\n updatedAt\n }\n customerId\n accounts {\n id\n userId\n type\n provider\n providerAccountId\n refresh_token\n access_token\n expires_at\n token_type\n scope\n id_token\n session_state\n createdAt\n updatedAt\n }\n sessions {\n id\n sessionToken\n userId\n expires\n createdAt\n updatedAt\n }\n plan\n alpacaAccounts {\n id\n type\n APIKey\n APISecret\n configuration\n marketOpen\n minOrderSize\n maxOrderSize\n minPercentageChange\n volumeThreshold\n userId\n createdAt\n updatedAt\n trades {\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 {\nid\n }\n actions {\nid\n }\n }\n orders {\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 {\nid\n }\n takeProfit {\nid\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 {\nid\n }\n asset {\nid\n }\n fee\n strikePrice\n expirationDate\n optionType\n stopLossId\n takeProfitId\n }\n positions {\n id\n assetId\n asset {\nid\n }\n averageEntryPrice\n qty\n qtyAvailable\n marketValue\n costBasis\n unrealizedPL\n unrealizedPLPC\n unrealisedIntradayPL\n unrealisedIntradayPLPC\n currentPrice\n lastTradePrice\n changeToday\n assetMarginable\n closed\n createdAt\n updatedAt\n }\n alerts {\n id\n alpacaAccountId\n message\n type\n isRead\n createdAt\n updatedAt\n }\n }\n openaiAPIKey\n openaiModel\n }\n createdAt\n updatedAt\n";
2
2
  //# sourceMappingURL=Authenticator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Authenticator.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Authenticator.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,01FAkLzB,CAAC"}
1
+ {"version":3,"file":"Authenticator.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Authenticator.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,i0FAiLzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Authenticator.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Authenticator.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkL5B,CAAC"}
1
+ {"version":3,"file":"Authenticator.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Authenticator.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiL5B,CAAC"}
@@ -156,7 +156,6 @@ id
156
156
  lastTradePrice
157
157
  changeToday
158
158
  assetMarginable
159
- alpacaAccountId
160
159
  closed
161
160
  createdAt
162
161
  updatedAt
@@ -1,2 +1,2 @@
1
- export declare const Customer = "\n id\n authUserId\n name\n plan\n stripeCustomerId\n stripeSubscriptionId\n stripePriceId\n stripeCurrentPeriodEnd\n createdAt\n updatedAt\n users {\n id\n name\n email\n emailVerified\n image\n createdAt\n updatedAt\n role\n bio\n jobTitle\n currentAccount\n customerId\n accounts {\n id\n userId\n type\n provider\n providerAccountId\n refresh_token\n access_token\n expires_at\n token_type\n scope\n id_token\n session_state\n createdAt\n updatedAt\n }\n sessions {\n id\n sessionToken\n userId\n expires\n createdAt\n updatedAt\n }\n authenticators {\n id\n userId\n credentialID\n publicKey\n counter\n createdAt\n updatedAt\n }\n plan\n alpacaAccounts {\n id\n type\n APIKey\n APISecret\n configuration\n marketOpen\n minOrderSize\n maxOrderSize\n minPercentageChange\n volumeThreshold\n userId\n createdAt\n updatedAt\n trades {\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 {\nid\n }\n actions {\nid\n }\n }\n orders {\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 {\nid\n }\n takeProfit {\nid\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 {\nid\n }\n asset {\nid\n }\n fee\n strikePrice\n expirationDate\n optionType\n stopLossId\n takeProfitId\n }\n positions {\n id\n assetId\n asset {\nid\n }\n averageEntryPrice\n qty\n qtyAvailable\n marketValue\n costBasis\n unrealizedPL\n unrealizedPLPC\n unrealisedIntradayPL\n unrealisedIntradayPLPC\n currentPrice\n lastTradePrice\n changeToday\n assetMarginable\n alpacaAccountId\n closed\n createdAt\n updatedAt\n }\n alerts {\n id\n alpacaAccountId\n message\n type\n isRead\n createdAt\n updatedAt\n }\n }\n openaiAPIKey\n openaiModel\n }\n";
1
+ export declare const Customer = "\n id\n authUserId\n name\n plan\n stripeCustomerId\n stripeSubscriptionId\n stripePriceId\n stripeCurrentPeriodEnd\n createdAt\n updatedAt\n users {\n id\n name\n email\n emailVerified\n image\n createdAt\n updatedAt\n role\n bio\n jobTitle\n currentAccount\n customerId\n accounts {\n id\n userId\n type\n provider\n providerAccountId\n refresh_token\n access_token\n expires_at\n token_type\n scope\n id_token\n session_state\n createdAt\n updatedAt\n }\n sessions {\n id\n sessionToken\n userId\n expires\n createdAt\n updatedAt\n }\n authenticators {\n id\n userId\n credentialID\n publicKey\n counter\n createdAt\n updatedAt\n }\n plan\n alpacaAccounts {\n id\n type\n APIKey\n APISecret\n configuration\n marketOpen\n minOrderSize\n maxOrderSize\n minPercentageChange\n volumeThreshold\n userId\n createdAt\n updatedAt\n trades {\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 {\nid\n }\n actions {\nid\n }\n }\n orders {\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 {\nid\n }\n takeProfit {\nid\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 {\nid\n }\n asset {\nid\n }\n fee\n strikePrice\n expirationDate\n optionType\n stopLossId\n takeProfitId\n }\n positions {\n id\n assetId\n asset {\nid\n }\n averageEntryPrice\n qty\n qtyAvailable\n marketValue\n costBasis\n unrealizedPL\n unrealizedPLPC\n unrealisedIntradayPL\n unrealisedIntradayPLPC\n currentPrice\n lastTradePrice\n changeToday\n assetMarginable\n closed\n createdAt\n updatedAt\n }\n alerts {\n id\n alpacaAccountId\n message\n type\n isRead\n createdAt\n updatedAt\n }\n }\n openaiAPIKey\n openaiModel\n }\n";
2
2
  //# sourceMappingURL=Customer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Customer.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Customer.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,q1FAkLpB,CAAC"}
1
+ {"version":3,"file":"Customer.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Customer.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,4zFAiLpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Customer.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkLvB,CAAC"}
1
+ {"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Customer.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiLvB,CAAC"}
@@ -158,7 +158,6 @@ id
158
158
  lastTradePrice
159
159
  changeToday
160
160
  assetMarginable
161
- alpacaAccountId
162
161
  closed
163
162
  createdAt
164
163
  updatedAt
@@ -1,2 +1,2 @@
1
- export declare const Position = "\n id\n assetId\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 averageEntryPrice\n qty\n qtyAvailable\n marketValue\n costBasis\n unrealizedPL\n unrealizedPLPC\n unrealisedIntradayPL\n unrealisedIntradayPLPC\n currentPrice\n lastTradePrice\n changeToday\n assetMarginable\n alpacaAccountId\n closed\n createdAt\n updatedAt\n";
1
+ export declare const Position = "\n id\n assetId\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 averageEntryPrice\n qty\n qtyAvailable\n marketValue\n costBasis\n unrealizedPL\n unrealizedPLPC\n unrealisedIntradayPL\n unrealisedIntradayPLPC\n currentPrice\n lastTradePrice\n changeToday\n assetMarginable\n closed\n createdAt\n updatedAt\n";
2
2
  //# sourceMappingURL=Position.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Position.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Position.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,o1CAgFpB,CAAC"}
1
+ {"version":3,"file":"Position.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Position.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,i0CA+EpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Position.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Position.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgFvB,CAAC"}
1
+ {"version":3,"file":"Position.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Position.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+EvB,CAAC"}
@@ -74,7 +74,6 @@ export const Position = `
74
74
  lastTradePrice
75
75
  changeToday
76
76
  assetMarginable
77
- alpacaAccountId
78
77
  closed
79
78
  createdAt
80
79
  updatedAt
@@ -1,2 +1,2 @@
1
- export declare const User = "\n id\n name\n email\n emailVerified\n image\n createdAt\n updatedAt\n role\n bio\n jobTitle\n currentAccount\n customer {\n id\n authUserId\n name\n plan\n stripeCustomerId\n stripeSubscriptionId\n stripePriceId\n stripeCurrentPeriodEnd\n createdAt\n updatedAt\n }\n customerId\n accounts {\n id\n userId\n type\n provider\n providerAccountId\n refresh_token\n access_token\n expires_at\n token_type\n scope\n id_token\n session_state\n createdAt\n updatedAt\n }\n sessions {\n id\n sessionToken\n userId\n expires\n createdAt\n updatedAt\n }\n authenticators {\n id\n userId\n credentialID\n publicKey\n counter\n createdAt\n updatedAt\n }\n plan\n alpacaAccounts {\n id\n type\n APIKey\n APISecret\n configuration\n marketOpen\n minOrderSize\n maxOrderSize\n minPercentageChange\n volumeThreshold\n userId\n createdAt\n updatedAt\n trades {\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 {\nid\n }\n }\n }\n orders {\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 }\n positions {\n id\n assetId\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 averageEntryPrice\n qty\n qtyAvailable\n marketValue\n costBasis\n unrealizedPL\n unrealizedPLPC\n unrealisedIntradayPL\n unrealisedIntradayPLPC\n currentPrice\n lastTradePrice\n changeToday\n assetMarginable\n alpacaAccountId\n closed\n createdAt\n updatedAt\n }\n alerts {\n id\n alpacaAccountId\n message\n type\n isRead\n createdAt\n updatedAt\n }\n }\n openaiAPIKey\n openaiModel\n";
1
+ export declare const User = "\n id\n name\n email\n emailVerified\n image\n createdAt\n updatedAt\n role\n bio\n jobTitle\n currentAccount\n customer {\n id\n authUserId\n name\n plan\n stripeCustomerId\n stripeSubscriptionId\n stripePriceId\n stripeCurrentPeriodEnd\n createdAt\n updatedAt\n }\n customerId\n accounts {\n id\n userId\n type\n provider\n providerAccountId\n refresh_token\n access_token\n expires_at\n token_type\n scope\n id_token\n session_state\n createdAt\n updatedAt\n }\n sessions {\n id\n sessionToken\n userId\n expires\n createdAt\n updatedAt\n }\n authenticators {\n id\n userId\n credentialID\n publicKey\n counter\n createdAt\n updatedAt\n }\n plan\n alpacaAccounts {\n id\n type\n APIKey\n APISecret\n configuration\n marketOpen\n minOrderSize\n maxOrderSize\n minPercentageChange\n volumeThreshold\n userId\n createdAt\n updatedAt\n trades {\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 {\nid\n }\n }\n }\n orders {\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 }\n positions {\n id\n assetId\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 averageEntryPrice\n qty\n qtyAvailable\n marketValue\n costBasis\n unrealizedPL\n unrealizedPLPC\n unrealisedIntradayPL\n unrealisedIntradayPLPC\n currentPrice\n lastTradePrice\n changeToday\n assetMarginable\n closed\n createdAt\n updatedAt\n }\n alerts {\n id\n alpacaAccountId\n message\n type\n isRead\n createdAt\n updatedAt\n }\n }\n openaiAPIKey\n openaiModel\n";
2
2
  //# sourceMappingURL=User.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/User.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,+sNAsXhB,CAAC"}
1
+ {"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/User.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,wrNAqXhB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"User.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/User.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsXnB,CAAC"}
1
+ {"version":3,"file":"User.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/User.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqXnB,CAAC"}
@@ -355,7 +355,6 @@ id
355
355
  lastTradePrice
356
356
  changeToday
357
357
  assetMarginable
358
- alpacaAccountId
359
358
  closed
360
359
  createdAt
361
360
  updatedAt
@@ -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};\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";
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 // The asset this order is for.\n asset: {\n symbol: string;\n name: string;\n type: AssetType;\n };\n // Strike price for option orders. Required when 'asset.type' is 'OPTION'. Must be a positive number.\n strikePrice?: number;\n // Expiration date for option orders. Required when 'asset.type' is 'OPTION'. Must be a valid date in the future.\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,upMAyJ3B,CAAC"}
1
+ {"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Order.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,ouLA2I3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Order.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Order.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyJ9B,CAAC"}
1
+ {"version":3,"file":"Order.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Order.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2I9B,CAAC"}
@@ -42,29 +42,15 @@ export type Order = {
42
42
  extendedHours?: boolean;
43
43
  // Current status of the order.
44
44
  status: OrderStatus;
45
- // Timestamp when the order was submitted.
46
- submittedAt?: Date;
47
- // Timestamp when the order was filled.
48
- filledAt?: Date;
49
- // Total quantity of the order that was filled.
50
- filledQty?: number;
51
- // Average price at which the order was filled.
52
- filledAvgPrice?: number;
53
- // Timestamp when the request to cancel the order was made.
54
- cancelRequestedAt?: Date;
55
- // Timestamp when the order was canceled.
56
- canceledAt?: Date;
57
45
  // The asset this order is for.
58
46
  asset: {
59
47
  symbol: string;
60
48
  name: string;
61
49
  type: AssetType;
62
50
  };
63
- // Fee associated with the order.
64
- fee?: number;
65
- // Strike price for option orders. Required when 'asset.type' is 'OPTION'.
51
+ // Strike price for option orders. Required when 'asset.type' is 'OPTION'. Must be a positive number.
66
52
  strikePrice?: number;
67
- // Expiration date for option orders. Required when 'asset.type' is 'OPTION'.
53
+ // Expiration date for option orders. Required when 'asset.type' is 'OPTION'. Must be a valid date in the future.
68
54
  expirationDate?: Date;
69
55
  // Type of option contract ('CALL' or 'PUT'). Required when 'asset.type' is 'OPTION'.
70
56
  optionType?: OptionType;
@@ -11,7 +11,7 @@ export declare const typeStrings: {
11
11
  readonly asset: "\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\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";
12
12
  readonly trade: "\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";
13
13
  readonly action: "\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’s market price moves unfavourably beyond a specified point. It must be ≤ 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 ≥ basePrice + 0.01, and should always be greater than stopPrice.\n limitPrice?: number;\n };\n takeProfit?: {\n // Must be a positive number and ≥ base_price + 0.01, and is always greater than stopPrice. Price must be at a threshold to lock in profits when the asset’s market price moves favourably beyond a specified point.\n limitPrice?: number;\n // 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.\n stopPrice?: number;\n };\n trailPrice?: number;\n trailPercent?: number;\n extendedHours?: boolean;\n status: OrderStatus;\n submittedAt?: Date;\n strikePrice?: number;\n expirationDate?: Date;\n optionType?: OptionType;\n };\n};\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\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";
14
- readonly order: "\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’s market price moves unfavourably beyond a specified point. It must be ≤ 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 ≥ 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 ≥ base_price + 0.01, and is always greater than stopPrice. Price must be at a threshold to lock in profits when the asset’s market price moves favourably beyond a specified point.\n limitPrice?: number;\n // 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.\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";
14
+ readonly order: "\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’s market price moves unfavourably beyond a specified point. It must be ≤ 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 ≥ 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 ≥ base_price + 0.01, and is always greater than stopPrice. Price must be at a threshold to lock in profits when the asset’s market price moves favourably beyond a specified point.\n limitPrice?: number;\n // 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.\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 // The asset this order is for.\n asset: {\n symbol: string;\n name: string;\n type: AssetType;\n };\n // Strike price for option orders. Required when 'asset.type' is 'OPTION'. Must be a positive number.\n strikePrice?: number;\n // Expiration date for option orders. Required when 'asset.type' is 'OPTION'. Must be a valid date in the future.\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";
15
15
  readonly stopLoss: "\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’s market price moves unfavourably beyond a specified point. It must be ≤ 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 ≥ basePrice + 0.01, and should always be greater than stopPrice.\n limitPrice?: number;\n};\n\n";
16
16
  readonly takeProfit: "\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 ≥ base_price + 0.01, and is always greater than stopPrice. Price must be at a threshold to lock in profits when the asset’s market price moves favourably beyond a specified point.\n limitPrice?: number;\n // 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.\n stopPrice?: number;\n};\n\n";
17
17
  readonly alert: "\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\nexport enum AlertType {\n SUCCESS = \"SUCCESS\",\n WARNING = \"WARNING\",\n ERROR = \"ERROR\",\n INFO = \"INFO\"\n}\n\n";
@@ -85,27 +85,27 @@ export declare class Order {
85
85
  */
86
86
  updatedAt: Date;
87
87
  /**
88
- * Timestamp when the order was submitted.
88
+ * Timestamp when the order was submitted. TYPESTRING.SKIP=true
89
89
  */
90
90
  submittedAt?: Date | null;
91
91
  /**
92
- * Timestamp when the order was filled.
92
+ * Timestamp when the order was filled. TYPESTRING.SKIP=true
93
93
  */
94
94
  filledAt?: Date | null;
95
95
  /**
96
- * Total quantity of the order that was filled.
96
+ * Total quantity of the order that was filled. TYPESTRING.SKIP=true
97
97
  */
98
98
  filledQty?: number | null;
99
99
  /**
100
- * Average price at which the order was filled.
100
+ * Average price at which the order was filled. TYPESTRING.SKIP=true
101
101
  */
102
102
  filledAvgPrice?: number | null;
103
103
  /**
104
- * Timestamp when the request to cancel the order was made.
104
+ * Timestamp when the request to cancel the order was made. TYPESTRING.SKIP=true
105
105
  */
106
106
  cancelRequestedAt?: Date | null;
107
107
  /**
108
- * Timestamp when the order was canceled.
108
+ * Timestamp when the order was canceled. TYPESTRING.SKIP=true
109
109
  */
110
110
  canceledAt?: Date | null;
111
111
  /**
@@ -125,15 +125,15 @@ export declare class Order {
125
125
  */
126
126
  asset?: Asset;
127
127
  /**
128
- * Fee associated with the order.
128
+ * Fee associated with the order. TYPESTRING.SKIP=true
129
129
  */
130
130
  fee?: number | null;
131
131
  /**
132
- * Strike price for option orders. Required when 'asset.type' is 'OPTION'.
132
+ * Strike price for option orders. Required when 'asset.type' is 'OPTION'. Must be a positive number.
133
133
  */
134
134
  strikePrice?: number | null;
135
135
  /**
136
- * Expiration date for option orders. Required when 'asset.type' is 'OPTION'.
136
+ * Expiration date for option orders. Required when 'asset.type' is 'OPTION'. Must be a valid date in the future.
137
137
  */
138
138
  expirationDate?: Date | null;
139
139
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Order.js","sourceRoot":"","sources":["../../../../../src/generated/typegraphql-prisma/models/Order.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,KAAK,WAAW,MAAM,cAAc,CAAC;AAS5C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAG5C,IAAM,KAAK,GAAX,MAAM,KAAK;IAChB;;OAEG;IAKH,EAAE,CAAU;IAEZ;;OAEG;IAKH,aAAa,CAAiB;IAE9B;;OAEG;IAKH,eAAe,CAAU;IAEzB;;OAEG;IAKH,OAAO,CAAU;IAEjB;;OAEG;IAKH,GAAG,CAAiB;IAEpB;;OAEG;IAKH,QAAQ,CAAiB;IAEzB;;OAEG;IAKH,IAAI,CAAkB;IAEtB;;OAEG;IAKH,IAAI,CAAgE;IAEpE;;OAEG;IAKH,UAAU,CAAgD;IAE1D;;OAEG;IAKH,WAAW,CAAiD;IAE5D;;OAEG;IAKH,UAAU,CAAiB;IAE3B;;OAEG;IAKH,SAAS,CAAiB;IAE1B;;OAEG;IACH,QAAQ,CAAmB;IAE3B;;OAEG;IACH,UAAU,C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