adaptic-backend 1.0.191 → 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.
- package/generated/typeStrings/Account.cjs +1 -0
- package/generated/typeStrings/Account.d.ts +1 -1
- package/generated/typeStrings/Account.d.ts.map +1 -1
- package/generated/typeStrings/Account.js.map +1 -1
- package/generated/typeStrings/Action.cjs +1 -63
- package/generated/typeStrings/Action.d.ts +1 -1
- package/generated/typeStrings/Action.d.ts.map +1 -1
- package/generated/typeStrings/Action.js.map +1 -1
- package/generated/typeStrings/Alert.cjs +1 -0
- package/generated/typeStrings/Alert.d.ts +1 -1
- package/generated/typeStrings/Alert.d.ts.map +1 -1
- package/generated/typeStrings/Alert.js.map +1 -1
- package/generated/typeStrings/AlpacaAccount.cjs +3 -58
- package/generated/typeStrings/AlpacaAccount.d.ts +1 -1
- package/generated/typeStrings/AlpacaAccount.d.ts.map +1 -1
- package/generated/typeStrings/AlpacaAccount.js.map +1 -1
- package/generated/typeStrings/Asset.cjs +1 -0
- package/generated/typeStrings/Asset.d.ts +1 -1
- package/generated/typeStrings/Asset.d.ts.map +1 -1
- package/generated/typeStrings/Asset.js.map +1 -1
- package/generated/typeStrings/Authenticator.cjs +1 -0
- package/generated/typeStrings/Authenticator.d.ts +1 -1
- package/generated/typeStrings/Authenticator.d.ts.map +1 -1
- package/generated/typeStrings/Authenticator.js.map +1 -1
- package/generated/typeStrings/Customer.cjs +2 -107
- package/generated/typeStrings/Customer.d.ts +1 -1
- package/generated/typeStrings/Customer.d.ts.map +1 -1
- package/generated/typeStrings/Customer.js.map +1 -1
- package/generated/typeStrings/EconomicEvent.cjs +1 -0
- package/generated/typeStrings/EconomicEvent.d.ts +1 -1
- package/generated/typeStrings/EconomicEvent.d.ts.map +1 -1
- package/generated/typeStrings/EconomicEvent.js.map +1 -1
- package/generated/typeStrings/MarketSentiment.cjs +1 -0
- package/generated/typeStrings/MarketSentiment.d.ts +1 -1
- package/generated/typeStrings/MarketSentiment.d.ts.map +1 -1
- package/generated/typeStrings/MarketSentiment.js.map +1 -1
- package/generated/typeStrings/NewsArticle.cjs +1 -0
- package/generated/typeStrings/NewsArticle.d.ts +1 -1
- package/generated/typeStrings/NewsArticle.d.ts.map +1 -1
- package/generated/typeStrings/NewsArticle.js.map +1 -1
- package/generated/typeStrings/NewsArticleAssetSentiment.cjs +1 -3
- package/generated/typeStrings/NewsArticleAssetSentiment.d.ts +1 -1
- package/generated/typeStrings/NewsArticleAssetSentiment.d.ts.map +1 -1
- package/generated/typeStrings/NewsArticleAssetSentiment.js.map +1 -1
- package/generated/typeStrings/Order.cjs +19 -21
- package/generated/typeStrings/Order.d.ts +1 -1
- package/generated/typeStrings/Order.d.ts.map +1 -1
- package/generated/typeStrings/Order.js.map +1 -1
- package/generated/typeStrings/Position.cjs +1 -3
- package/generated/typeStrings/Position.d.ts +1 -1
- package/generated/typeStrings/Position.d.ts.map +1 -1
- package/generated/typeStrings/Position.js.map +1 -1
- package/generated/typeStrings/ScheduledOptionOrder.cjs +1 -0
- package/generated/typeStrings/ScheduledOptionOrder.d.ts +1 -1
- package/generated/typeStrings/ScheduledOptionOrder.d.ts.map +1 -1
- package/generated/typeStrings/ScheduledOptionOrder.js.map +1 -1
- package/generated/typeStrings/Session.cjs +1 -121
- package/generated/typeStrings/Session.d.ts +1 -1
- package/generated/typeStrings/Session.d.ts.map +1 -1
- package/generated/typeStrings/Session.js.map +1 -1
- package/generated/typeStrings/StopLoss.cjs +0 -143
- package/generated/typeStrings/StopLoss.d.ts +1 -1
- package/generated/typeStrings/StopLoss.d.ts.map +1 -1
- package/generated/typeStrings/StopLoss.js.map +1 -1
- package/generated/typeStrings/TakeProfit.cjs +0 -143
- package/generated/typeStrings/TakeProfit.d.ts +1 -1
- package/generated/typeStrings/TakeProfit.d.ts.map +1 -1
- package/generated/typeStrings/TakeProfit.js.map +1 -1
- package/generated/typeStrings/Trade.cjs +2 -131
- package/generated/typeStrings/Trade.d.ts +1 -1
- package/generated/typeStrings/Trade.d.ts.map +1 -1
- package/generated/typeStrings/Trade.js.map +1 -1
- package/generated/typeStrings/User.cjs +3 -71
- package/generated/typeStrings/User.d.ts +1 -1
- package/generated/typeStrings/User.d.ts.map +1 -1
- package/generated/typeStrings/User.js.map +1 -1
- package/generated/typeStrings/VerificationToken.cjs +1 -0
- package/generated/typeStrings/VerificationToken.d.ts +1 -1
- package/generated/typeStrings/VerificationToken.d.ts.map +1 -1
- package/generated/typeStrings/VerificationToken.js.map +1 -1
- package/generated/typeStrings/index.d.ts +20 -20
- package/generated/typegraphql-prisma/models/Order.cjs +17 -17
- package/generated/typegraphql-prisma/models/Order.d.ts +20 -20
- package/generated/typegraphql-prisma/models/Order.js.map +1 -1
- package/generated/typegraphql-prisma/models/StopLoss.cjs +1 -1
- package/generated/typegraphql-prisma/models/StopLoss.d.ts +2 -2
- package/generated/typegraphql-prisma/models/StopLoss.js.map +1 -1
- package/generated/typegraphql-prisma/models/TakeProfit.cjs +1 -1
- package/generated/typegraphql-prisma/models/TakeProfit.d.ts +2 -2
- package/generated/typegraphql-prisma/models/TakeProfit.js.map +1 -1
- package/generated/typegraphql-prisma/models/Trade.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/Order/OrderRelationsResolver.cjs +3 -3
- package/generated/typegraphql-prisma/resolvers/relations/Order/OrderRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/StopLoss/StopLossRelationsResolver.cjs +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/StopLoss/StopLossRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/TakeProfit/TakeProfitRelationsResolver.cjs +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/TakeProfit/TakeProfitRelationsResolver.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.cjs +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.js.map +1 -1
- package/package.json +1 -1
- package/server/generated/typeStrings/Account.d.ts +1 -1
- package/server/generated/typeStrings/Account.d.ts.map +1 -1
- package/server/generated/typeStrings/Account.js.map +1 -1
- package/server/generated/typeStrings/Account.mjs +1 -0
- package/server/generated/typeStrings/Action.d.ts +1 -1
- package/server/generated/typeStrings/Action.d.ts.map +1 -1
- package/server/generated/typeStrings/Action.js.map +1 -1
- package/server/generated/typeStrings/Action.mjs +1 -63
- package/server/generated/typeStrings/Alert.d.ts +1 -1
- package/server/generated/typeStrings/Alert.d.ts.map +1 -1
- package/server/generated/typeStrings/Alert.js.map +1 -1
- package/server/generated/typeStrings/Alert.mjs +1 -0
- package/server/generated/typeStrings/AlpacaAccount.d.ts +1 -1
- package/server/generated/typeStrings/AlpacaAccount.d.ts.map +1 -1
- package/server/generated/typeStrings/AlpacaAccount.js.map +1 -1
- package/server/generated/typeStrings/AlpacaAccount.mjs +3 -58
- package/server/generated/typeStrings/Asset.d.ts +1 -1
- package/server/generated/typeStrings/Asset.d.ts.map +1 -1
- package/server/generated/typeStrings/Asset.js.map +1 -1
- package/server/generated/typeStrings/Asset.mjs +1 -0
- package/server/generated/typeStrings/Authenticator.d.ts +1 -1
- package/server/generated/typeStrings/Authenticator.d.ts.map +1 -1
- package/server/generated/typeStrings/Authenticator.js.map +1 -1
- package/server/generated/typeStrings/Authenticator.mjs +1 -0
- package/server/generated/typeStrings/Customer.d.ts +1 -1
- package/server/generated/typeStrings/Customer.d.ts.map +1 -1
- package/server/generated/typeStrings/Customer.js.map +1 -1
- package/server/generated/typeStrings/Customer.mjs +2 -107
- package/server/generated/typeStrings/EconomicEvent.d.ts +1 -1
- package/server/generated/typeStrings/EconomicEvent.d.ts.map +1 -1
- package/server/generated/typeStrings/EconomicEvent.js.map +1 -1
- package/server/generated/typeStrings/EconomicEvent.mjs +1 -0
- package/server/generated/typeStrings/MarketSentiment.d.ts +1 -1
- package/server/generated/typeStrings/MarketSentiment.d.ts.map +1 -1
- package/server/generated/typeStrings/MarketSentiment.js.map +1 -1
- package/server/generated/typeStrings/MarketSentiment.mjs +1 -0
- package/server/generated/typeStrings/NewsArticle.d.ts +1 -1
- package/server/generated/typeStrings/NewsArticle.d.ts.map +1 -1
- package/server/generated/typeStrings/NewsArticle.js.map +1 -1
- package/server/generated/typeStrings/NewsArticle.mjs +1 -0
- package/server/generated/typeStrings/NewsArticleAssetSentiment.d.ts +1 -1
- package/server/generated/typeStrings/NewsArticleAssetSentiment.d.ts.map +1 -1
- package/server/generated/typeStrings/NewsArticleAssetSentiment.js.map +1 -1
- package/server/generated/typeStrings/NewsArticleAssetSentiment.mjs +1 -3
- package/server/generated/typeStrings/Order.d.ts +1 -1
- package/server/generated/typeStrings/Order.d.ts.map +1 -1
- package/server/generated/typeStrings/Order.js.map +1 -1
- package/server/generated/typeStrings/Order.mjs +19 -21
- package/server/generated/typeStrings/Position.d.ts +1 -1
- package/server/generated/typeStrings/Position.d.ts.map +1 -1
- package/server/generated/typeStrings/Position.js.map +1 -1
- package/server/generated/typeStrings/Position.mjs +1 -3
- package/server/generated/typeStrings/ScheduledOptionOrder.d.ts +1 -1
- package/server/generated/typeStrings/ScheduledOptionOrder.d.ts.map +1 -1
- package/server/generated/typeStrings/ScheduledOptionOrder.js.map +1 -1
- package/server/generated/typeStrings/ScheduledOptionOrder.mjs +1 -0
- package/server/generated/typeStrings/Session.d.ts +1 -1
- package/server/generated/typeStrings/Session.d.ts.map +1 -1
- package/server/generated/typeStrings/Session.js.map +1 -1
- package/server/generated/typeStrings/Session.mjs +1 -121
- package/server/generated/typeStrings/StopLoss.d.ts +1 -1
- package/server/generated/typeStrings/StopLoss.d.ts.map +1 -1
- package/server/generated/typeStrings/StopLoss.js.map +1 -1
- package/server/generated/typeStrings/StopLoss.mjs +0 -143
- package/server/generated/typeStrings/TakeProfit.d.ts +1 -1
- package/server/generated/typeStrings/TakeProfit.d.ts.map +1 -1
- package/server/generated/typeStrings/TakeProfit.js.map +1 -1
- package/server/generated/typeStrings/TakeProfit.mjs +0 -143
- package/server/generated/typeStrings/Trade.d.ts +1 -1
- package/server/generated/typeStrings/Trade.d.ts.map +1 -1
- package/server/generated/typeStrings/Trade.js.map +1 -1
- package/server/generated/typeStrings/Trade.mjs +2 -131
- package/server/generated/typeStrings/User.d.ts +1 -1
- package/server/generated/typeStrings/User.d.ts.map +1 -1
- package/server/generated/typeStrings/User.js.map +1 -1
- package/server/generated/typeStrings/User.mjs +3 -71
- package/server/generated/typeStrings/VerificationToken.d.ts +1 -1
- package/server/generated/typeStrings/VerificationToken.d.ts.map +1 -1
- package/server/generated/typeStrings/VerificationToken.js.map +1 -1
- package/server/generated/typeStrings/VerificationToken.mjs +1 -0
- package/server/generated/typeStrings/index.d.ts +20 -20
- package/server/generated/typegraphql-prisma/models/Order.d.ts +20 -20
- package/server/generated/typegraphql-prisma/models/Order.js.map +1 -1
- package/server/generated/typegraphql-prisma/models/Order.mjs +37 -37
- package/server/generated/typegraphql-prisma/models/StopLoss.d.ts +2 -2
- package/server/generated/typegraphql-prisma/models/StopLoss.js.map +1 -1
- package/server/generated/typegraphql-prisma/models/StopLoss.mjs +3 -3
- package/server/generated/typegraphql-prisma/models/TakeProfit.d.ts +2 -2
- package/server/generated/typegraphql-prisma/models/TakeProfit.js.map +1 -1
- package/server/generated/typegraphql-prisma/models/TakeProfit.mjs +3 -3
- package/server/generated/typegraphql-prisma/models/Trade.d.ts +1 -1
- package/server/generated/typegraphql-prisma/models/Trade.mjs +1 -1
- package/server/generated/typegraphql-prisma/resolvers/relations/Order/OrderRelationsResolver.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/relations/Order/OrderRelationsResolver.mjs +3 -3
- package/server/generated/typegraphql-prisma/resolvers/relations/StopLoss/StopLossRelationsResolver.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/relations/StopLoss/StopLossRelationsResolver.mjs +1 -1
- package/server/generated/typegraphql-prisma/resolvers/relations/TakeProfit/TakeProfitRelationsResolver.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/relations/TakeProfit/TakeProfitRelationsResolver.mjs +1 -1
- package/server/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.mjs +1 -1
@@ -75,7 +75,7 @@ __decorate([
|
|
75
75
|
__decorate([
|
76
76
|
TypeGraphQL.Field(_type => String, {
|
77
77
|
nullable: false,
|
78
|
-
description: "Reference to the order associated with this take profit."
|
78
|
+
description: "Reference to the order associated with this take profit. TYPESTRING.SKIP=true"
|
79
79
|
}),
|
80
80
|
__metadata("design:type", String)
|
81
81
|
], TakeProfit.prototype, "orderId", void 0);
|
@@ -21,11 +21,11 @@ export declare class TakeProfit {
|
|
21
21
|
*/
|
22
22
|
updatedAt: Date;
|
23
23
|
/**
|
24
|
-
* Reference to the order associated with this take profit.
|
24
|
+
* Reference to the order associated with this take profit. TYPESTRING.SKIP=true
|
25
25
|
*/
|
26
26
|
orderId: string;
|
27
27
|
/**
|
28
|
-
* An order that is associated with this take profit. GQL.SKIP=true
|
28
|
+
* An order that is associated with this take profit. TYPESTRING.SKIP=true GQL.SKIP=true
|
29
29
|
*/
|
30
30
|
Order?: Order;
|
31
31
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TakeProfit.js","sourceRoot":"","sources":["../../../../src/generated/typegraphql-prisma/models/TakeProfit.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAOrC,IAAM,UAAU,GAAhB,MAAM,UAAU;CA2DtB,CAAA;AA3DY,gCAAU;AAQrB;IAJC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE;QAClC,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,mEAAmE;KACjF,CAAC;;sCACU;AASZ;IAJC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK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C,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE;QAC7C,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE,wJAAwJ;KACtK,CAAC;;6CACwB;AAS1B;IAJC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE;QAChC,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,wEAAwE;KACtF,CAAC;8BACU,IAAI;6CAAC;AASjB;IAJC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE;QAChC,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,6EAA6E;KAC3F,CAAC;8BACU,IAAI;6CAAC;AASjB;IAJC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE;QAClC,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,+EAA+E;KAC7F,CAAC;;2CACe;qBArDN,UAAU;IADtB,WAAW,CAAC,UAAU,CAAC,YAAY,EAAE,EAAE,CAAC;GAC5B,UAAU,CA2DtB"}
|
@@ -76,7 +76,7 @@ export declare class Trade {
|
|
76
76
|
*/
|
77
77
|
asset?: Asset;
|
78
78
|
/**
|
79
|
-
* List of actions associated with this trade. TYPESTRING.INCLUDE=[\"id\",\"sequence\",\"type\",\"note\",\"status\"
|
79
|
+
* List of actions associated with this trade. TYPESTRING.INCLUDE=[\"id\",\"sequence\",\"type\",\"note\",\"status\"] GQL.EXCLUDE=['trade']
|
80
80
|
*/
|
81
81
|
actions?: Action[];
|
82
82
|
_count?: TradeCount | null;
|
@@ -106,7 +106,7 @@ exports.OrderRelationsResolver = OrderRelationsResolver;
|
|
106
106
|
__decorate([
|
107
107
|
TypeGraphQL.FieldResolver(_type => StopLoss_1.StopLoss, {
|
108
108
|
nullable: true,
|
109
|
-
description: "Stop loss object
|
109
|
+
description: "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'."
|
110
110
|
}),
|
111
111
|
__param(0, TypeGraphQL.Root()),
|
112
112
|
__param(1, TypeGraphQL.Ctx()),
|
@@ -119,7 +119,7 @@ __decorate([
|
|
119
119
|
__decorate([
|
120
120
|
TypeGraphQL.FieldResolver(_type => TakeProfit_1.TakeProfit, {
|
121
121
|
nullable: true,
|
122
|
-
description: "Take profit object
|
122
|
+
description: "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'."
|
123
123
|
}),
|
124
124
|
__param(0, TypeGraphQL.Root()),
|
125
125
|
__param(1, TypeGraphQL.Ctx()),
|
@@ -132,7 +132,7 @@ __decorate([
|
|
132
132
|
__decorate([
|
133
133
|
TypeGraphQL.FieldResolver(_type => AlpacaAccount_1.AlpacaAccount, {
|
134
134
|
nullable: false,
|
135
|
-
description: "The Alpaca account this order is associated with. TYPESTRING.SKIP=true
|
135
|
+
description: "The Alpaca account this order is associated with. TYPESTRING.SKIP=true GQL.EXCLUDE=['trades', 'orders', 'positions', 'user']"
|
136
136
|
}),
|
137
137
|
__param(0, TypeGraphQL.Root()),
|
138
138
|
__param(1, TypeGraphQL.Ctx()),
|
package/generated/typegraphql-prisma/resolvers/relations/Order/OrderRelationsResolver.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"OrderRelationsResolver.js","sourceRoot":"","sources":["../../../../../../src/generated/typegraphql-prisma/resolvers/relations/Order/OrderRelationsResolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAE5C,mDAAgD;AAChD,iEAA8D;AAC9D,iDAA8C;AAC9C,iDAA8C;AAC9C,uDAAoD;AACpD,2DAAwD;AACxD,4DAAyD;AACzD,gEAA6D;AAC7D,oEAAiE;AACjE,8CAAkI;AAG3H,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAK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2C,EAAC,MAAM,CAAC,CAAC;SACnE,CAAC,CAAC;IACL,CAAC;IAMK,AAAN,KAAK,CAAC,MAAM,CAAqB,KAAY,EAAqB,GAAQ,EAAsB,IAAwB,EAAsB,IAAqB;QACjK,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,qCAA2B,EAAC,IAAI,CAAC,CAAC;QACrD,OAAO,IAAA,8BAAoB,EAAC,GAAG,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC;YACvD,KAAK,EAAE;gBACL,EAAE,EAAE,KAAK,CAAC,EAAE;aACb;SACF,CAAC,CAAC,MAAM,CAAC;YACR,GAAG,IAAI;YACP,GAAG,CAAC,MAAM,IAAI,IAAA,qDAA2C,EAAC,MAAM,CAAC,CAAC;SACnE,CAAC,CAAC;IACL,CAAC;IAMK,AAAN,KAAK,CAAC,KAAK,CAAqB,KAAY,EAAqB,GAAQ,EAAsB,IAAwB;QACrH,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,qCAA2B,EAAC,IAAI,CAAC,CAAC;QACrD,OAAO,IAAA,8BAAoB,EAAC,GAAG,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC;YACvD,KAAK,EAAE;gBACL,EAAE,EAAE,KAAK,CAAC,EAAE;aACb;SACF,CAAC,CAAC,KAAK,CAAC;YACP,GAAG,CAAC,MAAM,IAAI,IAAA,qDAA2C,EAAC,MAAM,CAAC,CAAC;SACnE,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AA9EY,wDAAsB;AAK3B;IAJL,WAAW,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC,mBAAQ,EAAE;QAC5C,QAAQ,EAAE,IAAI;QACd,WAAW,EAAE
|
1
|
+
{"version":3,"file":"OrderRelationsResolver.js","sourceRoot":"","sources":["../../../../../../src/generated/typegraphql-prisma/resolvers/relations/Order/OrderRelationsResolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;A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MK;IAJL,WAAW,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC,aAAK,EAAE;QACzC,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,sIAAsI;KACpJ,CAAC;IACW,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;IAAgB,WAAA,WAAW,CAAC,GAAG,EAAE,CAAA;IAAY,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;;qCAAvD,aAAK;;mDAS3C;iCA7EU,sBAAsB;IADlC,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,aAAK,CAAC;GACtB,sBAAsB,CA8ElC"}
|
package/generated/typegraphql-prisma/resolvers/relations/StopLoss/StopLossRelationsResolver.cjs
CHANGED
@@ -56,7 +56,7 @@ exports.StopLossRelationsResolver = StopLossRelationsResolver;
|
|
56
56
|
__decorate([
|
57
57
|
TypeGraphQL.FieldResolver(_type => Order_1.Order, {
|
58
58
|
nullable: false,
|
59
|
-
description: "An order that is associated with this stop loss. GQL.SKIP=true"
|
59
|
+
description: "An order that is associated with this stop loss. TYPESTRING.SKIP=true GQL.SKIP=true"
|
60
60
|
}),
|
61
61
|
__param(0, TypeGraphQL.Root()),
|
62
62
|
__param(1, TypeGraphQL.Ctx()),
|
package/generated/typegraphql-prisma/resolvers/relations/StopLoss/StopLossRelationsResolver.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"StopLossRelationsResolver.js","sourceRoot":"","sources":["../../../../../../src/generated/typegraphql-prisma/resolvers/relations/StopLoss/StopLossRelationsResolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAE5C,iDAA8C;AAC9C,uDAAoD;AACpD,8CAAkI;AAG3H,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;IAK9B,AAAN,KAAK,CAAC,KAAK,CAAqB,QAAkB,EAAqB,GAAQ,EAAsB,IAAwB;QAC3H,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,qCAA2B,EAAC,IAAI,CAAC,CAAC;QACrD,OAAO,IAAA,8BAAoB,EAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,iBAAiB,CAAC;YAC1D,KAAK,EAAE;gBACL,EAAE,EAAE,QAAQ,CAAC,EAAE;aAChB;SACF,CAAC,CAAC,KAAK,CAAC;YACP,GAAG,CAAC,MAAM,IAAI,IAAA,qDAA2C,EAAC,MAAM,CAAC,CAAC;SACnE,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AAfY,8DAAyB;AAK9B;IAJL,WAAW,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC,aAAK,EAAE;QACzC,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,
|
1
|
+
{"version":3,"file":"StopLossRelationsResolver.js","sourceRoot":"","sources":["../../../../../../src/generated/typegraphql-prisma/resolvers/relations/StopLoss/StopLossRelationsResolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAE5C,iDAA8C;AAC9C,uDAAoD;AACpD,8CAAkI;AAG3H,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;IAK9B,AAAN,KAAK,CAAC,KAAK,CAAqB,QAAkB,EAAqB,GAAQ,EAAsB,IAAwB;QAC3H,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,qCAA2B,EAAC,IAAI,CAAC,CAAC;QACrD,OAAO,IAAA,8BAAoB,EAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,iBAAiB,CAAC;YAC1D,KAAK,EAAE;gBACL,EAAE,EAAE,QAAQ,CAAC,EAAE;aAChB;SACF,CAAC,CAAC,KAAK,CAAC;YACP,GAAG,CAAC,MAAM,IAAI,IAAA,qDAA2C,EAAC,MAAM,CAAC,CAAC;SACnE,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AAfY,8DAAyB;AAK9B;IAJL,WAAW,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC,aAAK,EAAE;QACzC,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,qFAAqF;KACnG,CAAC;IACW,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;IAAsB,WAAA,WAAW,CAAC,GAAG,EAAE,CAAA;IAAY,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;;qCAA1D,mBAAQ;;sDASjD;oCAdU,yBAAyB;IADrC,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,mBAAQ,CAAC;GACzB,yBAAyB,CAerC"}
|
package/generated/typegraphql-prisma/resolvers/relations/TakeProfit/TakeProfitRelationsResolver.cjs
CHANGED
@@ -56,7 +56,7 @@ exports.TakeProfitRelationsResolver = TakeProfitRelationsResolver;
|
|
56
56
|
__decorate([
|
57
57
|
TypeGraphQL.FieldResolver(_type => Order_1.Order, {
|
58
58
|
nullable: false,
|
59
|
-
description: "An order that is associated with this take profit. GQL.SKIP=true"
|
59
|
+
description: "An order that is associated with this take profit. TYPESTRING.SKIP=true GQL.SKIP=true"
|
60
60
|
}),
|
61
61
|
__param(0, TypeGraphQL.Root()),
|
62
62
|
__param(1, TypeGraphQL.Ctx()),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TakeProfitRelationsResolver.js","sourceRoot":"","sources":["../../../../../../src/generated/typegraphql-prisma/resolvers/relations/TakeProfit/TakeProfitRelationsResolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAE5C,iDAA8C;AAC9C,2DAAwD;AACxD,8CAAkI;AAG3H,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;IAKhC,AAAN,KAAK,CAAC,KAAK,CAAqB,UAAsB,EAAqB,GAAQ,EAAsB,IAAwB;QAC/H,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,qCAA2B,EAAC,IAAI,CAAC,CAAC;QACrD,OAAO,IAAA,8BAAoB,EAAC,GAAG,CAAC,CAAC,UAAU,CAAC,iBAAiB,CAAC;YAC5D,KAAK,EAAE;gBACL,EAAE,EAAE,UAAU,CAAC,EAAE;aAClB;SACF,CAAC,CAAC,KAAK,CAAC;YACP,GAAG,CAAC,MAAM,IAAI,IAAA,qDAA2C,EAAC,MAAM,CAAC,CAAC;SACnE,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AAfY,kEAA2B;AAKhC;IAJL,WAAW,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC,aAAK,EAAE;QACzC,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,
|
1
|
+
{"version":3,"file":"TakeProfitRelationsResolver.js","sourceRoot":"","sources":["../../../../../../src/generated/typegraphql-prisma/resolvers/relations/TakeProfit/TakeProfitRelationsResolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAE5C,iDAA8C;AAC9C,2DAAwD;AACxD,8CAAkI;AAG3H,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;IAKhC,AAAN,KAAK,CAAC,KAAK,CAAqB,UAAsB,EAAqB,GAAQ,EAAsB,IAAwB;QAC/H,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,qCAA2B,EAAC,IAAI,CAAC,CAAC;QACrD,OAAO,IAAA,8BAAoB,EAAC,GAAG,CAAC,CAAC,UAAU,CAAC,iBAAiB,CAAC;YAC5D,KAAK,EAAE;gBACL,EAAE,EAAE,UAAU,CAAC,EAAE;aAClB;SACF,CAAC,CAAC,KAAK,CAAC;YACP,GAAG,CAAC,MAAM,IAAI,IAAA,qDAA2C,EAAC,MAAM,CAAC,CAAC;SACnE,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AAfY,kEAA2B;AAKhC;IAJL,WAAW,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC,aAAK,EAAE;QACzC,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,uFAAuF;KACrG,CAAC;IACW,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;IAA0B,WAAA,WAAW,CAAC,GAAG,EAAE,CAAA;IAAY,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;;qCAA5D,uBAAU;;wDASrD;sCAdU,2BAA2B;IADvC,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,uBAAU,CAAC;GAC3B,2BAA2B,CAevC"}
|
@@ -104,7 +104,7 @@ __decorate([
|
|
104
104
|
__decorate([
|
105
105
|
TypeGraphQL.FieldResolver(_type => [Action_1.Action], {
|
106
106
|
nullable: false,
|
107
|
-
description: "List of actions associated with this trade. TYPESTRING.INCLUDE=[\"id\",\"sequence\",\"type\",\"note\",\"status\"
|
107
|
+
description: "List of actions associated with this trade. TYPESTRING.INCLUDE=[\"id\",\"sequence\",\"type\",\"note\",\"status\"] GQL.EXCLUDE=['trade']"
|
108
108
|
}),
|
109
109
|
__param(0, TypeGraphQL.Root()),
|
110
110
|
__param(1, TypeGraphQL.Ctx()),
|
package/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TradeRelationsResolver.js","sourceRoot":"","sources":["../../../../../../src/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAE5C,mDAAgD;AAChD,iEAA8D;AAC9D,iDAA8C;AAC9C,iDAA8C;AAC9C,8DAA2D;AAC3D,8CAAkI;AAG3H,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAK3B,AAAN,KAAK,CAAC,aAAa,CAAqB,KAAY,EAAqB,GAAQ,EAAsB,IAAwB;QAC7H,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,qCAA2B,EAAC,IAAI,CAAC,CAAC;QACrD,OAAO,IAAA,8BAAoB,EAAC,GAAG,CAAC,CAAC,KAAK,CAAC,iBAAiB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,EAAE,CAAA;IAAgB,WAAA,WAAW,CAAC,GAAG,EAAE,CAAA;IAAY,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;;qCAAvD,aAAK;;2DASnD;AAMK;IAJL,WAAW,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC,aAAK,EAAE;QACzC,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,wHAAwH;KACtI,CAAC;IACW,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;IAAgB,WAAA,WAAW,CAAC,GAAG,EAAE,CAAA;IAAY,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;;qCAAvD,aAAK;;mDAS3C;AAMK;IAJL,WAAW,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,eAAM,CAAC,EAAE;QAC5C,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,
|
1
|
+
{"version":3,"file":"TradeRelationsResolver.js","sourceRoot":"","sources":["../../../../../../src/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAE5C,mDAAgD;AAChD,iEAA8D;AAC9D,iDAA8C;AAC9C,iDAA8C;AAC9C,8DAA2D;AAC3D,8CAAkI;AAG3H,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAK3B,AAAN,KAAK,CAAC,aAAa,CAAqB,KAAY,EAAqB,GAAQ,EAAsB,IAAwB;QAC7H,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,qCAA2B,EAAC,IAAI,CAAC,CAAC;QACrD,OAAO,IAAA,8BAAoB,EAAC,GAAG,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC;YACvD,KAAK,EAAE;gBACL,EAAE,EAAE,KAAK,CAAC,EAAE;aACb;SACF,CAAC,CAAC,aAAa,CAAC;YACf,GAAG,CAAC,MAAM,IAAI,IAAA,qDAA2C,EAAC,MAAM,CAAC,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C,KAAK,CAAC,EAAE,CAAC,aAAK,EAAE;QACzC,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,wHAAwH;KACtI,CAAC;IACW,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;IAAgB,WAAA,WAAW,CAAC,GAAG,EAAE,CAAA;IAAY,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;;qCAAvD,aAAK;;mDAS3C;AAMK;IAJL,WAAW,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,eAAM,CAAC,EAAE;QAC5C,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,yIAAyI;KACvJ,CAAC;IACa,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;IAAgB,WAAA,WAAW,CAAC,GAAG,EAAE,CAAA;IAAY,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;IAA4B,WAAA,WAAW,CAAC,IAAI,EAAE,CAAA;;qCAArG,aAAK,kBAAuG,mCAAgB;;qDAUpK;iCA7CU,sBAAsB;IADlC,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,aAAK,CAAC;GACtB,sBAAsB,CA8ClC"}
|
package/package.json
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const AccountTypeString = "\nYour response should adhere to the following type definition for the \"Account\" 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 Account = {\n // Type of the account (e.g., OAuth provider).\n type: string;\n // Provider of the account (e.g., Google, GitHub).\n provider: string;\n // Expiration time of the access token.\n expires_at?: number;\n // Type of the token (e.g., Bearer).\n token_type?: string;\n // Scope of access granted by the token.\n scope?: string;\n // State of the session associated with the account.\n session_state?: string;\n};\n";
|
1
|
+
export declare const AccountTypeString = "\nYour response should adhere to the following type definition for the \"Account\" 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 Account = {\n // Type of the account (e.g., OAuth provider).\n type: string;\n // Provider of the account (e.g., Google, GitHub).\n provider: string;\n // Expiration time of the access token.\n expires_at?: number;\n // Type of the token (e.g., Bearer).\n token_type?: string;\n // Scope of access granted by the token.\n scope?: string;\n // State of the session associated with the account.\n session_state?: string;\n};\n\n";
|
2
2
|
//# sourceMappingURL=Account.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Account.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,
|
1
|
+
{"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Account.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,sqBAoB7B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Account.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Account.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,iBAAiB,GAAG
|
1
|
+
{"version":3,"file":"Account.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Account.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,iBAAiB,GAAG;;;;;;;;;;;;;;;;;;;;CAoBhC,CAAC"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const ActionTypeString = "\nYour response should adhere to the following type definition for the \"Action\" type.\n\nImportantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type Action = {\n // Sequence number of the action within the trade.\n sequence: number;\n // Type of trade action, defined by ActionType enum.\n type: ActionType;\n // Additional notes or comments about the action.\n note: string;\n // Current status of the trade action.\n status: ActionStatus;\n // Fees associated with the action.\n fee?: number;\n // The order associated with this action.\n order?: {\n
|
1
|
+
export declare const ActionTypeString = "\nYour response should adhere to the following type definition for the \"Action\" type.\n\nImportantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type Action = {\n // Sequence number of the action within the trade.\n sequence: number;\n // Type of trade action, defined by ActionType enum.\n type: ActionType;\n // Additional notes or comments about the action.\n note: string;\n // Current status of the trade action.\n status: ActionStatus;\n // Fees associated with the action.\n fee?: number;\n // The order associated with this action.\n order?: {\n qty?: number;\n notional?: number;\n side: OrderSide;\n type: OrderType;\n orderClass: OrderClass;\n timeInForce: TimeInForce;\n limitPrice?: number;\n stopPrice?: number;\n stopLoss?: {\n // Must be a positive number. Price must be at a threshold to limit losses when the asset\u2019s market price moves unfavourably beyond a specified point. It must be \u2264 basePrice - 0.01, and should always be less than limitPrice.\n stopPrice?: number;\n // Must be a positive number and required if parent Order's type is STOP_LIMIT. It must be \u2265 basePrice + 0.01, and should always be greater than stopPrice.\n limitPrice?: number;\n };\n takeProfit?: {\n // Must be a positive number and \u2265 base_price + 0.01, and is always greater than stopPrice. Price must be at a threshold to lock in profits when the asset\u2019s market price moves favourably beyond a specified point.\n limitPrice?: number;\n // Must be a positive number and required if parent Order's type is STOP_LIMIT. It must be \u2264 basePrice - 0.01, and should always be less than limitPrice.\n stopPrice?: number;\n };\n trailPrice?: number;\n trailPercent?: number;\n extendedHours?: boolean;\n status: OrderStatus;\n submittedAt?: Date;\n strikePrice?: number;\n expirationDate?: Date;\n optionType?: OptionType;\n };\n};\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";
|
2
2
|
//# sourceMappingURL=Action.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Action.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,
|
1
|
+
{"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Action.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,siHA2H5B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Action.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Action.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG
|
1
|
+
{"version":3,"file":"Action.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Action.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2H/B,CAAC"}
|
@@ -16,75 +16,37 @@ export type Action = {
|
|
16
16
|
fee?: number;
|
17
17
|
// The order associated with this action.
|
18
18
|
order?: {
|
19
|
-
// Quantity of the asset to be ordered.
|
20
19
|
qty?: number;
|
21
|
-
// Notional value of the order. Optional, used if qty is not provided. But importantly, either qty or notional must be provided.
|
22
20
|
notional?: number;
|
23
|
-
// Side of the order (BUY or SELL).
|
24
21
|
side: OrderSide;
|
25
|
-
// Type of order (market, limit, stop, stop_limit, trailing_stop).
|
26
22
|
type: OrderType;
|
27
|
-
// Order class for advanced order types (simple, bracket, oco, oso).
|
28
23
|
orderClass: OrderClass;
|
29
|
-
// Time in force for the order (day, gtc, opg, cls, ioc, fok).
|
30
24
|
timeInForce: TimeInForce;
|
31
|
-
// Must be a positive number and required for LIMIT or STOP_LIMIT orders. It must be ≥ basePrice + 0.01, and should always be greater than stopPrice.
|
32
25
|
limitPrice?: number;
|
33
|
-
// Must be a positive number and required for STOP or STOP_LIMIT orders. It must be ≤ basePrice - 0.01, and should always be less than limitPrice.
|
34
26
|
stopPrice?: number;
|
35
|
-
// Stop loss object required for bracket orders.
|
36
27
|
stopLoss?: {
|
37
28
|
// Must be a positive number. Price must be at a threshold to limit losses when the asset’s market price moves unfavourably beyond a specified point. It must be ≤ basePrice - 0.01, and should always be less than limitPrice.
|
38
29
|
stopPrice?: number;
|
39
30
|
// Must be a positive number and required if parent Order's type is STOP_LIMIT. It must be ≥ basePrice + 0.01, and should always be greater than stopPrice.
|
40
31
|
limitPrice?: number;
|
41
32
|
};
|
42
|
-
// Take profit object required for bracket orders. For take_profit, must be ≥ base_price + 0.01.
|
43
33
|
takeProfit?: {
|
44
34
|
// 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.
|
45
35
|
limitPrice?: number;
|
46
36
|
// 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.
|
47
37
|
stopPrice?: number;
|
48
38
|
};
|
49
|
-
// Must be a positive number and required for TRAILING_STOP orders.
|
50
39
|
trailPrice?: number;
|
51
|
-
// Must be a positive number representing the percentage and required for TRAILING_STOP orders.
|
52
40
|
trailPercent?: number;
|
53
|
-
// Whether the order is eligible for extended hours.
|
54
41
|
extendedHours?: boolean;
|
55
|
-
// Current status of the order.
|
56
42
|
status: OrderStatus;
|
57
|
-
// Timestamp when the order was submitted.
|
58
43
|
submittedAt?: Date;
|
59
|
-
// Timestamp when the order was filled.
|
60
|
-
filledAt?: Date;
|
61
|
-
// Total quantity of the order that was filled.
|
62
|
-
filledQty?: number;
|
63
|
-
// Average price at which the order was filled.
|
64
|
-
filledAvgPrice?: number;
|
65
|
-
// Cancel requested at timestamp when the request to cancel an order was made.
|
66
|
-
cancelRequestedAt?: Date;
|
67
|
-
// CanceledAt timestamp when the order was canceled.
|
68
|
-
canceledAt?: Date;
|
69
|
-
// The asset this order is for.
|
70
|
-
asset: {
|
71
|
-
// Ticker symbol of the asset
|
72
|
-
symbol: string;
|
73
|
-
// Full name of the asset
|
74
|
-
name: string;
|
75
|
-
// Type of the asset, defined by AssetType enum.
|
76
|
-
type: AssetType;
|
77
|
-
};
|
78
|
-
// Fee associated with the order.
|
79
|
-
fee?: number;
|
80
|
-
// Strike price for option orders.
|
81
44
|
strikePrice?: number;
|
82
|
-
// Expiration date for option orders.
|
83
45
|
expirationDate?: Date;
|
84
|
-
// If the asset.type is OPTION, then provide type of contract (CALL or PUT).
|
85
46
|
optionType?: OptionType;
|
86
47
|
};
|
87
48
|
};
|
49
|
+
|
88
50
|
export enum ActionType {
|
89
51
|
BUY = "BUY",
|
90
52
|
BUY_OPTION = "BUY_OPTION",
|
@@ -154,30 +116,6 @@ export enum OrderStatus {
|
|
154
116
|
CALCULATED = "CALCULATED"
|
155
117
|
}
|
156
118
|
|
157
|
-
export enum AssetType {
|
158
|
-
STOCK = "STOCK",
|
159
|
-
ETF = "ETF",
|
160
|
-
MUTUAL_FUND = "MUTUAL_FUND",
|
161
|
-
CRYPTOCURRENCY = "CRYPTOCURRENCY",
|
162
|
-
INDEX = "INDEX",
|
163
|
-
COMMODITY = "COMMODITY",
|
164
|
-
CURRENCY = "CURRENCY",
|
165
|
-
OPTION = "OPTION",
|
166
|
-
FUTURE = "FUTURE",
|
167
|
-
BOND = "BOND",
|
168
|
-
WARRANT = "WARRANT",
|
169
|
-
ADR = "ADR",
|
170
|
-
GDR = "GDR",
|
171
|
-
UNIT = "UNIT",
|
172
|
-
RIGHT = "RIGHT",
|
173
|
-
REIT = "REIT",
|
174
|
-
STRUCTURED_PRODUCT = "STRUCTURED_PRODUCT",
|
175
|
-
SWAP = "SWAP",
|
176
|
-
SPOT = "SPOT",
|
177
|
-
FORWARD = "FORWARD",
|
178
|
-
OTHER = "OTHER"
|
179
|
-
}
|
180
|
-
|
181
119
|
export enum OptionType {
|
182
120
|
CALL = "CALL",
|
183
121
|
PUT = "PUT"
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const AlertTypeString = "\nYour response should adhere to the following type definition for the \"Alert\" type.\n\nImportantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type Alert = {\n // Message content of the alert.\n message: string;\n // Type of the alert, defined by AlertType enum.\n type: AlertType;\n // Indicates whether the alert has been read by the user.\n isRead: boolean;\n};\nexport enum AlertType {\n SUCCESS = \"SUCCESS\",\n WARNING = \"WARNING\",\n ERROR = \"ERROR\",\n INFO = \"INFO\"\n}\n\n";
|
1
|
+
export declare const AlertTypeString = "\nYour response should adhere to the following type definition for the \"Alert\" type.\n\nImportantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type Alert = {\n // Message content of the alert.\n message: string;\n // Type of the alert, defined by AlertType enum.\n type: AlertType;\n // Indicates whether the alert has been read by the user.\n isRead: boolean;\n};\n\nexport enum AlertType {\n SUCCESS = \"SUCCESS\",\n WARNING = \"WARNING\",\n ERROR = \"ERROR\",\n INFO = \"INFO\"\n}\n\n";
|
2
2
|
//# sourceMappingURL=Alert.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Alert.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,
|
1
|
+
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Alert.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,2kBAqB3B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Alert.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG
|
1
|
+
{"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Alert.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;CAqB9B,CAAC"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const AlpacaAccountTypeString = "\nYour response should adhere to the following type definition for the \"AlpacaAccount\" type.\n\nImportantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type AlpacaAccount = {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n // Indicates whether the market is currently open for trading.\n marketOpen: boolean;\n // List of positions held in this Alpaca account.\n positions: {\n
|
1
|
+
export declare const AlpacaAccountTypeString = "\nYour response should adhere to the following type definition for the \"AlpacaAccount\" type.\n\nImportantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type AlpacaAccount = {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n // Indicates whether the market is currently open for trading.\n marketOpen: boolean;\n // List of positions held in this Alpaca account.\n positions: {\n id: string;\n qty: number;\n asset: Asset;\n }[];\n};\n\nexport enum AlpacaAccountType {\n PAPER = \"PAPER\",\n LIVE = \"LIVE\"\n}\n\n";
|
2
2
|
//# sourceMappingURL=AlpacaAccount.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AlpacaAccount.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/AlpacaAccount.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,
|
1
|
+
{"version":3,"file":"AlpacaAccount.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/AlpacaAccount.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,2tBAyBnC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AlpacaAccount.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/AlpacaAccount.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG
|
1
|
+
{"version":3,"file":"AlpacaAccount.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/AlpacaAccount.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;CAyBtC,CAAC"}
|
@@ -12,71 +12,16 @@ export type AlpacaAccount = {
|
|
12
12
|
marketOpen: boolean;
|
13
13
|
// List of positions held in this Alpaca account.
|
14
14
|
positions: {
|
15
|
-
|
16
|
-
asset: {
|
17
|
-
// Ticker symbol of the asset
|
18
|
-
symbol: string;
|
19
|
-
// Full name of the asset
|
20
|
-
name: string;
|
21
|
-
// Type of the asset, defined by AssetType enum.
|
22
|
-
type: AssetType;
|
23
|
-
};
|
24
|
-
// The average price at which the asset was acquired.
|
25
|
-
averageEntryPrice: number;
|
26
|
-
// Total quantity of the asset held.
|
15
|
+
id: string;
|
27
16
|
qty: number;
|
28
|
-
|
29
|
-
qtyAvailable: number;
|
30
|
-
// Current market value of the position.
|
31
|
-
marketValue: number;
|
32
|
-
// Total cost basis of the position.
|
33
|
-
costBasis: number;
|
34
|
-
// Unrealized profit or loss of the position.
|
35
|
-
unrealizedPL: number;
|
36
|
-
// Unrealized profit or loss as a percentage.
|
37
|
-
unrealizedPLPC: number;
|
38
|
-
// Unrealized intraday profit or loss.
|
39
|
-
unrealisedIntradayPL: number;
|
40
|
-
// Unrealized intraday profit or loss as a percentage.
|
41
|
-
unrealisedIntradayPLPC: number;
|
42
|
-
// Current price of the asset.
|
43
|
-
currentPrice: number;
|
44
|
-
// Last traded price of the asset.
|
45
|
-
lastTradePrice: number;
|
46
|
-
// Price change of the asset for the day.
|
47
|
-
changeToday: number;
|
48
|
-
// Indicates if the asset is marginable.
|
49
|
-
assetMarginable: boolean;
|
17
|
+
asset: Asset;
|
50
18
|
}[];
|
51
19
|
};
|
20
|
+
|
52
21
|
export enum AlpacaAccountType {
|
53
22
|
PAPER = "PAPER",
|
54
23
|
LIVE = "LIVE"
|
55
24
|
}
|
56
25
|
|
57
|
-
export enum AssetType {
|
58
|
-
STOCK = "STOCK",
|
59
|
-
ETF = "ETF",
|
60
|
-
MUTUAL_FUND = "MUTUAL_FUND",
|
61
|
-
CRYPTOCURRENCY = "CRYPTOCURRENCY",
|
62
|
-
INDEX = "INDEX",
|
63
|
-
COMMODITY = "COMMODITY",
|
64
|
-
CURRENCY = "CURRENCY",
|
65
|
-
OPTION = "OPTION",
|
66
|
-
FUTURE = "FUTURE",
|
67
|
-
BOND = "BOND",
|
68
|
-
WARRANT = "WARRANT",
|
69
|
-
ADR = "ADR",
|
70
|
-
GDR = "GDR",
|
71
|
-
UNIT = "UNIT",
|
72
|
-
RIGHT = "RIGHT",
|
73
|
-
REIT = "REIT",
|
74
|
-
STRUCTURED_PRODUCT = "STRUCTURED_PRODUCT",
|
75
|
-
SWAP = "SWAP",
|
76
|
-
SPOT = "SPOT",
|
77
|
-
FORWARD = "FORWARD",
|
78
|
-
OTHER = "OTHER"
|
79
|
-
}
|
80
|
-
|
81
26
|
`;
|
82
27
|
//# sourceMappingURL=AlpacaAccount.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const AssetTypeString = "\nYour response should adhere to the following type definition for the \"Asset\" type.\n\nImportantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type Asset = {\n // Ticker symbol of the asset\n symbol: string;\n // Full name of the asset\n name: string;\n // Type of the asset, defined by AssetType enum.\n type: AssetType;\n};\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";
|
1
|
+
export declare const AssetTypeString = "\nYour response should adhere to the following type definition for the \"Asset\" type.\n\nImportantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type Asset = {\n // Ticker symbol of the asset\n symbol: string;\n // Full name of the asset\n name: string;\n // Type of the asset, defined by AssetType enum.\n type: AssetType;\n};\n\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=Asset.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Asset.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Asset.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,
|
1
|
+
{"version":3,"file":"Asset.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Asset.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,g9BAsC3B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Asset.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Asset.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG
|
1
|
+
{"version":3,"file":"Asset.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Asset.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsC9B,CAAC"}
|
@@ -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
|
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
|
1
|
+
{"version":3,"file":"Authenticator.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Authenticator.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG;;;;;;;;;CAStC,CAAC"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const CustomerTypeString = "\nYour response should adhere to the following type definition for the \"Customer\" type.\n\nImportantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type Customer = {\n // Name of the customer.\n name?: string;\n // Subscription plan the customer is enrolled in.\n plan?: SubscriptionPlan;\n // End date of the current billing period in Stripe.\n stripeCurrentPeriodEnd?: Date;\n // List of users associated with the customer.\n users: {\n
|
1
|
+
export declare const CustomerTypeString = "\nYour response should adhere to the following type definition for the \"Customer\" type.\n\nImportantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type Customer = {\n // Name of the customer.\n name?: string;\n // Subscription plan the customer is enrolled in.\n plan?: SubscriptionPlan;\n // End date of the current billing period in Stripe.\n stripeCurrentPeriodEnd?: Date;\n // List of users associated with the customer.\n users: {\n id: string;\n name?: string;\n email?: string;\n }[];\n};\n\nexport enum SubscriptionPlan {\n FREE = \"FREE\",\n PRO = \"PRO\",\n BUSINESS = \"BUSINESS\"\n}\n\n";
|
2
2
|
//# sourceMappingURL=Customer.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Customer.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Customer.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,
|
1
|
+
{"version":3,"file":"Customer.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Customer.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,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
|
1
|
+
{"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/Customer.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BjC,CAAC"}
|