adaptic-backend 1.0.246 → 1.0.247
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/Action.cjs +13 -0
- package/Alert.cjs +40 -0
- package/AlpacaAccount.cjs +36 -0
- package/Asset.cjs +54 -0
- package/Contract.cjs +58 -0
- package/Deliverable.cjs +21 -0
- package/NewsArticleAssetSentiment.cjs +40 -0
- package/Order.cjs +55 -0
- package/Position.cjs +80 -0
- package/StopLoss.cjs +17 -0
- package/TakeProfit.cjs +17 -0
- package/Trade.cjs +55 -0
- package/User.cjs +42 -0
- package/generated/typeStrings/Action.cjs +2 -0
- 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/index.d.ts +1 -1
- package/generated/typegraphql-prisma/enhance.cjs +24 -24
- package/generated/typegraphql-prisma/enhance.js.map +1 -1
- package/generated/typegraphql-prisma/enums/ActionScalarFieldEnum.cjs +1 -0
- package/generated/typegraphql-prisma/enums/ActionScalarFieldEnum.d.ts +1 -0
- package/generated/typegraphql-prisma/enums/ActionScalarFieldEnum.d.ts.map +1 -1
- package/generated/typegraphql-prisma/enums/ActionScalarFieldEnum.js.map +1 -1
- package/generated/typegraphql-prisma/models/Action.cjs +7 -0
- package/generated/typegraphql-prisma/models/Action.d.ts +4 -0
- package/generated/typegraphql-prisma/models/Action.d.ts.map +1 -1
- package/generated/typegraphql-prisma/models/Action.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionArgs.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionArgs.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionArgs.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionOrThrowArgs.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionOrThrowArgs.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionOrThrowArgs.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/crud/Action/args/FindManyActionArgs.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/crud/Action/args/FindManyActionArgs.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/crud/Action/args/FindManyActionArgs.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/crud/Action/args/GroupByActionArgs.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/crud/Action/args/GroupByActionArgs.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/crud/Action/args/GroupByActionArgs.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCountOrderByAggregateInput.cjs +6 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCountOrderByAggregateInput.d.ts +1 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCountOrderByAggregateInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCountOrderByAggregateInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateInput.cjs +6 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateInput.d.ts +1 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyInput.cjs +6 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyInput.d.ts +1 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyTradeInput.cjs +6 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyTradeInput.d.ts +1 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyTradeInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyTradeInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutOrderInput.cjs +6 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutOrderInput.d.ts +1 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutOrderInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutOrderInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutTradeInput.cjs +6 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutTradeInput.d.ts +1 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutTradeInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutTradeInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionMaxOrderByAggregateInput.cjs +6 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionMaxOrderByAggregateInput.d.ts +1 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionMaxOrderByAggregateInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionMaxOrderByAggregateInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionMinOrderByAggregateInput.cjs +6 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionMinOrderByAggregateInput.d.ts +1 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionMinOrderByAggregateInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionMinOrderByAggregateInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithAggregationInput.cjs +6 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithAggregationInput.d.ts +1 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithAggregationInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithAggregationInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithRelationInput.cjs +6 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithRelationInput.d.ts +1 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithRelationInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithRelationInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.cjs +7 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.d.ts +2 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.cjs +7 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.d.ts +2 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateInput.cjs +7 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateInput.d.ts +2 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateManyMutationInput.cjs +7 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateManyMutationInput.d.ts +2 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateManyMutationInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateManyMutationInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutOrderInput.cjs +7 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutOrderInput.d.ts +2 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutOrderInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutOrderInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutTradeInput.cjs +7 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutTradeInput.d.ts +2 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutTradeInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutTradeInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.cjs +7 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.d.ts +2 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.cjs +7 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.d.ts +2 -0
- package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/ActionCountAggregate.cjs +6 -0
- package/generated/typegraphql-prisma/resolvers/outputs/ActionCountAggregate.d.ts +1 -0
- package/generated/typegraphql-prisma/resolvers/outputs/ActionCountAggregate.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/ActionCountAggregate.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/ActionGroupBy.cjs +6 -0
- package/generated/typegraphql-prisma/resolvers/outputs/ActionGroupBy.d.ts +1 -0
- package/generated/typegraphql-prisma/resolvers/outputs/ActionGroupBy.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/ActionGroupBy.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/ActionMaxAggregate.cjs +6 -0
- package/generated/typegraphql-prisma/resolvers/outputs/ActionMaxAggregate.d.ts +1 -0
- package/generated/typegraphql-prisma/resolvers/outputs/ActionMaxAggregate.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/ActionMaxAggregate.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/ActionMinAggregate.cjs +6 -0
- package/generated/typegraphql-prisma/resolvers/outputs/ActionMinAggregate.d.ts +1 -0
- package/generated/typegraphql-prisma/resolvers/outputs/ActionMinAggregate.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/ActionMinAggregate.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAction.cjs +6 -0
- package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAction.d.ts +1 -0
- package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAction.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAction.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.js.map +1 -1
- package/package.json +1 -1
- package/server/Action.d.ts.map +1 -1
- package/server/Action.js.map +1 -1
- package/server/Action.mjs +13 -0
- package/server/Alert.d.ts.map +1 -1
- package/server/Alert.js.map +1 -1
- package/server/Alert.mjs +40 -0
- package/server/AlpacaAccount.d.ts.map +1 -1
- package/server/AlpacaAccount.js.map +1 -1
- package/server/AlpacaAccount.mjs +36 -0
- package/server/Asset.d.ts.map +1 -1
- package/server/Asset.js.map +1 -1
- package/server/Asset.mjs +54 -0
- package/server/Contract.d.ts.map +1 -1
- package/server/Contract.js.map +1 -1
- package/server/Contract.mjs +58 -0
- package/server/Deliverable.d.ts.map +1 -1
- package/server/Deliverable.js.map +1 -1
- package/server/Deliverable.mjs +21 -0
- package/server/NewsArticleAssetSentiment.d.ts.map +1 -1
- package/server/NewsArticleAssetSentiment.js.map +1 -1
- package/server/NewsArticleAssetSentiment.mjs +40 -0
- package/server/Order.d.ts.map +1 -1
- package/server/Order.js.map +1 -1
- package/server/Order.mjs +55 -0
- package/server/Position.d.ts.map +1 -1
- package/server/Position.js.map +1 -1
- package/server/Position.mjs +80 -0
- package/server/StopLoss.d.ts.map +1 -1
- package/server/StopLoss.js.map +1 -1
- package/server/StopLoss.mjs +17 -0
- package/server/TakeProfit.d.ts.map +1 -1
- package/server/TakeProfit.js.map +1 -1
- package/server/TakeProfit.mjs +17 -0
- package/server/Trade.d.ts.map +1 -1
- package/server/Trade.js.map +1 -1
- package/server/Trade.mjs +55 -0
- package/server/User.d.ts.map +1 -1
- package/server/User.js.map +1 -1
- package/server/User.mjs +42 -0
- package/server/generated/selectionSets/Action.d.ts +1 -1
- package/server/generated/selectionSets/Action.d.ts.map +1 -1
- package/server/generated/selectionSets/Action.js.map +1 -1
- package/server/generated/selectionSets/Action.mjs +1 -0
- package/server/generated/selectionSets/AlpacaAccount.d.ts +1 -1
- package/server/generated/selectionSets/AlpacaAccount.d.ts.map +1 -1
- package/server/generated/selectionSets/AlpacaAccount.js.map +1 -1
- package/server/generated/selectionSets/AlpacaAccount.mjs +2 -0
- package/server/generated/selectionSets/Contract.d.ts +1 -1
- package/server/generated/selectionSets/Contract.d.ts.map +1 -1
- package/server/generated/selectionSets/Contract.js.map +1 -1
- package/server/generated/selectionSets/Contract.mjs +1 -0
- package/server/generated/selectionSets/Deliverable.d.ts +1 -1
- package/server/generated/selectionSets/Deliverable.d.ts.map +1 -1
- package/server/generated/selectionSets/Deliverable.js.map +1 -1
- package/server/generated/selectionSets/Deliverable.mjs +1 -0
- package/server/generated/selectionSets/Order.d.ts +1 -1
- package/server/generated/selectionSets/Order.d.ts.map +1 -1
- package/server/generated/selectionSets/Order.js.map +1 -1
- package/server/generated/selectionSets/Order.mjs +1 -0
- package/server/generated/selectionSets/Trade.d.ts +1 -1
- package/server/generated/selectionSets/Trade.d.ts.map +1 -1
- package/server/generated/selectionSets/Trade.js.map +1 -1
- package/server/generated/selectionSets/Trade.mjs +1 -0
- package/server/generated/selectionSets/User.d.ts +1 -1
- package/server/generated/selectionSets/User.d.ts.map +1 -1
- package/server/generated/selectionSets/User.js.map +1 -1
- package/server/generated/selectionSets/User.mjs +2 -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 +2 -0
- package/server/generated/typeStrings/index.d.ts +1 -1
- package/server/generated/typegraphql-prisma/enhance.js.map +1 -1
- package/server/generated/typegraphql-prisma/enhance.mjs +24 -24
- package/server/generated/typegraphql-prisma/enums/ActionScalarFieldEnum.d.ts +1 -0
- package/server/generated/typegraphql-prisma/enums/ActionScalarFieldEnum.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/enums/ActionScalarFieldEnum.js.map +1 -1
- package/server/generated/typegraphql-prisma/enums/ActionScalarFieldEnum.mjs +1 -0
- package/server/generated/typegraphql-prisma/models/Action.d.ts +4 -0
- package/server/generated/typegraphql-prisma/models/Action.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/models/Action.js.map +1 -1
- package/server/generated/typegraphql-prisma/models/Action.mjs +11 -0
- package/server/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionArgs.d.ts +1 -1
- package/server/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionArgs.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionArgs.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionOrThrowArgs.d.ts +1 -1
- package/server/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionOrThrowArgs.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionOrThrowArgs.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/crud/Action/args/FindManyActionArgs.d.ts +1 -1
- package/server/generated/typegraphql-prisma/resolvers/crud/Action/args/FindManyActionArgs.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/crud/Action/args/FindManyActionArgs.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/crud/Action/args/GroupByActionArgs.d.ts +1 -1
- package/server/generated/typegraphql-prisma/resolvers/crud/Action/args/GroupByActionArgs.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/crud/Action/args/GroupByActionArgs.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionCountOrderByAggregateInput.d.ts +1 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionCountOrderByAggregateInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionCountOrderByAggregateInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionCountOrderByAggregateInput.mjs +7 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionCreateInput.d.ts +1 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionCreateInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionCreateInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionCreateInput.mjs +7 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyInput.d.ts +1 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyInput.mjs +7 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyTradeInput.d.ts +1 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyTradeInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyTradeInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyTradeInput.mjs +7 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutOrderInput.d.ts +1 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutOrderInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutOrderInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutOrderInput.mjs +7 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutTradeInput.d.ts +1 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutTradeInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutTradeInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutTradeInput.mjs +7 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionMaxOrderByAggregateInput.d.ts +1 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionMaxOrderByAggregateInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionMaxOrderByAggregateInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionMaxOrderByAggregateInput.mjs +7 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionMinOrderByAggregateInput.d.ts +1 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionMinOrderByAggregateInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionMinOrderByAggregateInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionMinOrderByAggregateInput.mjs +7 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithAggregationInput.d.ts +1 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithAggregationInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithAggregationInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithAggregationInput.mjs +7 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithRelationInput.d.ts +1 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithRelationInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithRelationInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithRelationInput.mjs +7 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.d.ts +2 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.mjs +8 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.d.ts +2 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.mjs +8 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateInput.d.ts +2 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateInput.mjs +8 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateManyMutationInput.d.ts +2 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateManyMutationInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateManyMutationInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateManyMutationInput.mjs +8 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutOrderInput.d.ts +2 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutOrderInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutOrderInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutOrderInput.mjs +8 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutTradeInput.d.ts +2 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutTradeInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutTradeInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutTradeInput.mjs +8 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.d.ts +2 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.mjs +8 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.d.ts +2 -0
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.mjs +8 -0
- package/server/generated/typegraphql-prisma/resolvers/outputs/ActionCountAggregate.d.ts +1 -0
- package/server/generated/typegraphql-prisma/resolvers/outputs/ActionCountAggregate.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/outputs/ActionCountAggregate.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/outputs/ActionCountAggregate.mjs +7 -0
- package/server/generated/typegraphql-prisma/resolvers/outputs/ActionGroupBy.d.ts +1 -0
- package/server/generated/typegraphql-prisma/resolvers/outputs/ActionGroupBy.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/outputs/ActionGroupBy.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/outputs/ActionGroupBy.mjs +7 -0
- package/server/generated/typegraphql-prisma/resolvers/outputs/ActionMaxAggregate.d.ts +1 -0
- package/server/generated/typegraphql-prisma/resolvers/outputs/ActionMaxAggregate.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/outputs/ActionMaxAggregate.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/outputs/ActionMaxAggregate.mjs +7 -0
- package/server/generated/typegraphql-prisma/resolvers/outputs/ActionMinAggregate.d.ts +1 -0
- package/server/generated/typegraphql-prisma/resolvers/outputs/ActionMinAggregate.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/outputs/ActionMinAggregate.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/outputs/ActionMinAggregate.mjs +7 -0
- package/server/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAction.d.ts +1 -0
- package/server/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAction.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAction.js.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAction.mjs +7 -0
- package/server/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.d.ts +1 -1
- package/server/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.d.ts.map +1 -1
- package/server/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.js.map +1 -1
package/User.cjs
CHANGED
@@ -164,6 +164,7 @@ const selectionSet = `
|
|
164
164
|
sequence
|
165
165
|
tradeId
|
166
166
|
type
|
167
|
+
primary
|
167
168
|
note
|
168
169
|
status
|
169
170
|
fee
|
@@ -221,6 +222,7 @@ id
|
|
221
222
|
sequence
|
222
223
|
tradeId
|
223
224
|
type
|
225
|
+
primary
|
224
226
|
note
|
225
227
|
status
|
226
228
|
fee
|
@@ -655,6 +657,7 @@ exports.User = {
|
|
655
657
|
create: {
|
656
658
|
sequence: item.sequence !== undefined ? item.sequence : undefined,
|
657
659
|
type: item.type !== undefined ? item.type : undefined,
|
660
|
+
primary: item.primary !== undefined ? item.primary : undefined,
|
658
661
|
note: item.note !== undefined ? item.note : undefined,
|
659
662
|
status: item.status !== undefined ? item.status : undefined,
|
660
663
|
fee: item.fee !== undefined ? item.fee : undefined,
|
@@ -763,6 +766,7 @@ exports.User = {
|
|
763
766
|
create: {
|
764
767
|
sequence: item.action.sequence !== undefined ? item.action.sequence : undefined,
|
765
768
|
type: item.action.type !== undefined ? item.action.type : undefined,
|
769
|
+
primary: item.action.primary !== undefined ? item.action.primary : undefined,
|
766
770
|
note: item.action.note !== undefined ? item.action.note : undefined,
|
767
771
|
status: item.action.status !== undefined ? item.action.status : undefined,
|
768
772
|
fee: item.action.fee !== undefined ? item.action.fee : undefined,
|
@@ -1701,6 +1705,9 @@ exports.User = {
|
|
1701
1705
|
type: item.type !== undefined ? {
|
1702
1706
|
set: item.type
|
1703
1707
|
} : undefined,
|
1708
|
+
primary: item.primary !== undefined ? {
|
1709
|
+
set: item.primary
|
1710
|
+
} : undefined,
|
1704
1711
|
note: item.note !== undefined ? {
|
1705
1712
|
set: item.note
|
1706
1713
|
} : undefined,
|
@@ -1720,6 +1727,7 @@ exports.User = {
|
|
1720
1727
|
create: {
|
1721
1728
|
sequence: item.sequence !== undefined ? item.sequence : undefined,
|
1722
1729
|
type: item.type !== undefined ? item.type : undefined,
|
1730
|
+
primary: item.primary !== undefined ? item.primary : undefined,
|
1723
1731
|
note: item.note !== undefined ? item.note : undefined,
|
1724
1732
|
status: item.status !== undefined ? item.status : undefined,
|
1725
1733
|
fee: item.fee !== undefined ? item.fee : undefined,
|
@@ -1832,6 +1840,7 @@ exports.User = {
|
|
1832
1840
|
create: {
|
1833
1841
|
sequence: item.sequence !== undefined ? item.sequence : undefined,
|
1834
1842
|
type: item.type !== undefined ? item.type : undefined,
|
1843
|
+
primary: item.primary !== undefined ? item.primary : undefined,
|
1835
1844
|
note: item.note !== undefined ? item.note : undefined,
|
1836
1845
|
status: item.status !== undefined ? item.status : undefined,
|
1837
1846
|
fee: item.fee !== undefined ? item.fee : undefined,
|
@@ -2037,6 +2046,9 @@ exports.User = {
|
|
2037
2046
|
type: item.action.type !== undefined ? {
|
2038
2047
|
set: item.action.type
|
2039
2048
|
} : undefined,
|
2049
|
+
primary: item.action.primary !== undefined ? {
|
2050
|
+
set: item.action.primary
|
2051
|
+
} : undefined,
|
2040
2052
|
note: item.action.note !== undefined ? {
|
2041
2053
|
set: item.action.note
|
2042
2054
|
} : undefined,
|
@@ -2056,6 +2068,7 @@ exports.User = {
|
|
2056
2068
|
create: {
|
2057
2069
|
sequence: item.action.sequence !== undefined ? item.action.sequence : undefined,
|
2058
2070
|
type: item.action.type !== undefined ? item.action.type : undefined,
|
2071
|
+
primary: item.action.primary !== undefined ? item.action.primary : undefined,
|
2059
2072
|
note: item.action.note !== undefined ? item.action.note : undefined,
|
2060
2073
|
status: item.action.status !== undefined ? item.action.status : undefined,
|
2061
2074
|
fee: item.action.fee !== undefined ? item.action.fee : undefined,
|
@@ -2511,6 +2524,7 @@ exports.User = {
|
|
2511
2524
|
create: {
|
2512
2525
|
sequence: item.action.sequence !== undefined ? item.action.sequence : undefined,
|
2513
2526
|
type: item.action.type !== undefined ? item.action.type : undefined,
|
2527
|
+
primary: item.action.primary !== undefined ? item.action.primary : undefined,
|
2514
2528
|
note: item.action.note !== undefined ? item.action.note : undefined,
|
2515
2529
|
status: item.action.status !== undefined ? item.action.status : undefined,
|
2516
2530
|
fee: item.action.fee !== undefined ? item.action.fee : undefined,
|
@@ -3194,6 +3208,7 @@ exports.User = {
|
|
3194
3208
|
create: {
|
3195
3209
|
sequence: item.sequence !== undefined ? item.sequence : undefined,
|
3196
3210
|
type: item.type !== undefined ? item.type : undefined,
|
3211
|
+
primary: item.primary !== undefined ? item.primary : undefined,
|
3197
3212
|
note: item.note !== undefined ? item.note : undefined,
|
3198
3213
|
status: item.status !== undefined ? item.status : undefined,
|
3199
3214
|
fee: item.fee !== undefined ? item.fee : undefined,
|
@@ -3302,6 +3317,7 @@ exports.User = {
|
|
3302
3317
|
create: {
|
3303
3318
|
sequence: item.action.sequence !== undefined ? item.action.sequence : undefined,
|
3304
3319
|
type: item.action.type !== undefined ? item.action.type : undefined,
|
3320
|
+
primary: item.action.primary !== undefined ? item.action.primary : undefined,
|
3305
3321
|
note: item.action.note !== undefined ? item.action.note : undefined,
|
3306
3322
|
status: item.action.status !== undefined ? item.action.status : undefined,
|
3307
3323
|
fee: item.action.fee !== undefined ? item.action.fee : undefined,
|
@@ -3845,6 +3861,7 @@ exports.User = {
|
|
3845
3861
|
create: {
|
3846
3862
|
sequence: item.sequence !== undefined ? item.sequence : undefined,
|
3847
3863
|
type: item.type !== undefined ? item.type : undefined,
|
3864
|
+
primary: item.primary !== undefined ? item.primary : undefined,
|
3848
3865
|
note: item.note !== undefined ? item.note : undefined,
|
3849
3866
|
status: item.status !== undefined ? item.status : undefined,
|
3850
3867
|
fee: item.fee !== undefined ? item.fee : undefined,
|
@@ -3953,6 +3970,7 @@ exports.User = {
|
|
3953
3970
|
create: {
|
3954
3971
|
sequence: item.action.sequence !== undefined ? item.action.sequence : undefined,
|
3955
3972
|
type: item.action.type !== undefined ? item.action.type : undefined,
|
3973
|
+
primary: item.action.primary !== undefined ? item.action.primary : undefined,
|
3956
3974
|
note: item.action.note !== undefined ? item.action.note : undefined,
|
3957
3975
|
status: item.action.status !== undefined ? item.action.status : undefined,
|
3958
3976
|
fee: item.action.fee !== undefined ? item.action.fee : undefined,
|
@@ -4795,6 +4813,9 @@ exports.User = {
|
|
4795
4813
|
type: item.type !== undefined ? {
|
4796
4814
|
set: item.type
|
4797
4815
|
} : undefined,
|
4816
|
+
primary: item.primary !== undefined ? {
|
4817
|
+
set: item.primary
|
4818
|
+
} : undefined,
|
4798
4819
|
note: item.note !== undefined ? {
|
4799
4820
|
set: item.note
|
4800
4821
|
} : undefined,
|
@@ -4814,6 +4835,7 @@ exports.User = {
|
|
4814
4835
|
create: {
|
4815
4836
|
sequence: item.sequence !== undefined ? item.sequence : undefined,
|
4816
4837
|
type: item.type !== undefined ? item.type : undefined,
|
4838
|
+
primary: item.primary !== undefined ? item.primary : undefined,
|
4817
4839
|
note: item.note !== undefined ? item.note : undefined,
|
4818
4840
|
status: item.status !== undefined ? item.status : undefined,
|
4819
4841
|
fee: item.fee !== undefined ? item.fee : undefined,
|
@@ -4926,6 +4948,7 @@ exports.User = {
|
|
4926
4948
|
create: {
|
4927
4949
|
sequence: item.sequence !== undefined ? item.sequence : undefined,
|
4928
4950
|
type: item.type !== undefined ? item.type : undefined,
|
4951
|
+
primary: item.primary !== undefined ? item.primary : undefined,
|
4929
4952
|
note: item.note !== undefined ? item.note : undefined,
|
4930
4953
|
status: item.status !== undefined ? item.status : undefined,
|
4931
4954
|
fee: item.fee !== undefined ? item.fee : undefined,
|
@@ -5131,6 +5154,9 @@ exports.User = {
|
|
5131
5154
|
type: item.action.type !== undefined ? {
|
5132
5155
|
set: item.action.type
|
5133
5156
|
} : undefined,
|
5157
|
+
primary: item.action.primary !== undefined ? {
|
5158
|
+
set: item.action.primary
|
5159
|
+
} : undefined,
|
5134
5160
|
note: item.action.note !== undefined ? {
|
5135
5161
|
set: item.action.note
|
5136
5162
|
} : undefined,
|
@@ -5150,6 +5176,7 @@ exports.User = {
|
|
5150
5176
|
create: {
|
5151
5177
|
sequence: item.action.sequence !== undefined ? item.action.sequence : undefined,
|
5152
5178
|
type: item.action.type !== undefined ? item.action.type : undefined,
|
5179
|
+
primary: item.action.primary !== undefined ? item.action.primary : undefined,
|
5153
5180
|
note: item.action.note !== undefined ? item.action.note : undefined,
|
5154
5181
|
status: item.action.status !== undefined ? item.action.status : undefined,
|
5155
5182
|
fee: item.action.fee !== undefined ? item.action.fee : undefined,
|
@@ -5605,6 +5632,7 @@ exports.User = {
|
|
5605
5632
|
create: {
|
5606
5633
|
sequence: item.action.sequence !== undefined ? item.action.sequence : undefined,
|
5607
5634
|
type: item.action.type !== undefined ? item.action.type : undefined,
|
5635
|
+
primary: item.action.primary !== undefined ? item.action.primary : undefined,
|
5608
5636
|
note: item.action.note !== undefined ? item.action.note : undefined,
|
5609
5637
|
status: item.action.status !== undefined ? item.action.status : undefined,
|
5610
5638
|
fee: item.action.fee !== undefined ? item.action.fee : undefined,
|
@@ -6288,6 +6316,7 @@ exports.User = {
|
|
6288
6316
|
create: {
|
6289
6317
|
sequence: item.sequence !== undefined ? item.sequence : undefined,
|
6290
6318
|
type: item.type !== undefined ? item.type : undefined,
|
6319
|
+
primary: item.primary !== undefined ? item.primary : undefined,
|
6291
6320
|
note: item.note !== undefined ? item.note : undefined,
|
6292
6321
|
status: item.status !== undefined ? item.status : undefined,
|
6293
6322
|
fee: item.fee !== undefined ? item.fee : undefined,
|
@@ -6396,6 +6425,7 @@ exports.User = {
|
|
6396
6425
|
create: {
|
6397
6426
|
sequence: item.action.sequence !== undefined ? item.action.sequence : undefined,
|
6398
6427
|
type: item.action.type !== undefined ? item.action.type : undefined,
|
6428
|
+
primary: item.action.primary !== undefined ? item.action.primary : undefined,
|
6399
6429
|
note: item.action.note !== undefined ? item.action.note : undefined,
|
6400
6430
|
status: item.action.status !== undefined ? item.action.status : undefined,
|
6401
6431
|
fee: item.action.fee !== undefined ? item.action.fee : undefined,
|
@@ -7287,6 +7317,9 @@ exports.User = {
|
|
7287
7317
|
type: item.type !== undefined ? {
|
7288
7318
|
set: item.type
|
7289
7319
|
} : undefined,
|
7320
|
+
primary: item.primary !== undefined ? {
|
7321
|
+
set: item.primary
|
7322
|
+
} : undefined,
|
7290
7323
|
note: item.note !== undefined ? {
|
7291
7324
|
set: item.note
|
7292
7325
|
} : undefined,
|
@@ -7306,6 +7339,7 @@ exports.User = {
|
|
7306
7339
|
create: {
|
7307
7340
|
sequence: item.sequence !== undefined ? item.sequence : undefined,
|
7308
7341
|
type: item.type !== undefined ? item.type : undefined,
|
7342
|
+
primary: item.primary !== undefined ? item.primary : undefined,
|
7309
7343
|
note: item.note !== undefined ? item.note : undefined,
|
7310
7344
|
status: item.status !== undefined ? item.status : undefined,
|
7311
7345
|
fee: item.fee !== undefined ? item.fee : undefined,
|
@@ -7418,6 +7452,7 @@ exports.User = {
|
|
7418
7452
|
create: {
|
7419
7453
|
sequence: item.sequence !== undefined ? item.sequence : undefined,
|
7420
7454
|
type: item.type !== undefined ? item.type : undefined,
|
7455
|
+
primary: item.primary !== undefined ? item.primary : undefined,
|
7421
7456
|
note: item.note !== undefined ? item.note : undefined,
|
7422
7457
|
status: item.status !== undefined ? item.status : undefined,
|
7423
7458
|
fee: item.fee !== undefined ? item.fee : undefined,
|
@@ -7623,6 +7658,9 @@ exports.User = {
|
|
7623
7658
|
type: item.action.type !== undefined ? {
|
7624
7659
|
set: item.action.type
|
7625
7660
|
} : undefined,
|
7661
|
+
primary: item.action.primary !== undefined ? {
|
7662
|
+
set: item.action.primary
|
7663
|
+
} : undefined,
|
7626
7664
|
note: item.action.note !== undefined ? {
|
7627
7665
|
set: item.action.note
|
7628
7666
|
} : undefined,
|
@@ -7642,6 +7680,7 @@ exports.User = {
|
|
7642
7680
|
create: {
|
7643
7681
|
sequence: item.action.sequence !== undefined ? item.action.sequence : undefined,
|
7644
7682
|
type: item.action.type !== undefined ? item.action.type : undefined,
|
7683
|
+
primary: item.action.primary !== undefined ? item.action.primary : undefined,
|
7645
7684
|
note: item.action.note !== undefined ? item.action.note : undefined,
|
7646
7685
|
status: item.action.status !== undefined ? item.action.status : undefined,
|
7647
7686
|
fee: item.action.fee !== undefined ? item.action.fee : undefined,
|
@@ -8097,6 +8136,7 @@ exports.User = {
|
|
8097
8136
|
create: {
|
8098
8137
|
sequence: item.action.sequence !== undefined ? item.action.sequence : undefined,
|
8099
8138
|
type: item.action.type !== undefined ? item.action.type : undefined,
|
8139
|
+
primary: item.action.primary !== undefined ? item.action.primary : undefined,
|
8100
8140
|
note: item.action.note !== undefined ? item.action.note : undefined,
|
8101
8141
|
status: item.action.status !== undefined ? item.action.status : undefined,
|
8102
8142
|
fee: item.action.fee !== undefined ? item.action.fee : undefined,
|
@@ -8780,6 +8820,7 @@ exports.User = {
|
|
8780
8820
|
create: {
|
8781
8821
|
sequence: item.sequence !== undefined ? item.sequence : undefined,
|
8782
8822
|
type: item.type !== undefined ? item.type : undefined,
|
8823
|
+
primary: item.primary !== undefined ? item.primary : undefined,
|
8783
8824
|
note: item.note !== undefined ? item.note : undefined,
|
8784
8825
|
status: item.status !== undefined ? item.status : undefined,
|
8785
8826
|
fee: item.fee !== undefined ? item.fee : undefined,
|
@@ -8888,6 +8929,7 @@ exports.User = {
|
|
8888
8929
|
create: {
|
8889
8930
|
sequence: item.action.sequence !== undefined ? item.action.sequence : undefined,
|
8890
8931
|
type: item.action.type !== undefined ? item.action.type : undefined,
|
8932
|
+
primary: item.action.primary !== undefined ? item.action.primary : undefined,
|
8891
8933
|
note: item.action.note !== undefined ? item.action.note : undefined,
|
8892
8934
|
status: item.action.status !== undefined ? item.action.status : undefined,
|
8893
8935
|
fee: item.action.fee !== undefined ? item.action.fee : undefined,
|
@@ -10,6 +10,8 @@ export type Action = {
|
|
10
10
|
sequence: number;
|
11
11
|
// Type of trade action, defined by ActionType enum.
|
12
12
|
type: ActionType;
|
13
|
+
// Whether the action is the primary action for the trade.
|
14
|
+
primary: boolean;
|
13
15
|
// Additional notes or comments about the action.
|
14
16
|
note: string;
|
15
17
|
// Current status of the trade action.
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const ActionTypeString = "\n// Your response should adhere to the following type definition for the \"Action\" type.\n// Importantly, 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 // 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 // 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 // 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 // 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 // A list of action sequence numbers, for any sibling actions that are part of the same trade, that this action depends on.\n dependsOn: string[];\n // A list of action sequence numbers, for any sibling actions that depend on this action.\n dependedOnBy: string[];\n};\n\nenum ActionType {\n BUY\n\n BUY_OPTION\n\n EXERCISE_OPTION\n\n SELL\n\n CANCEL\n\n ADJUST\n\n HEDGE\n}\n\nenum ActionStatus {\n STAGED\n\n EXECUTED\n\n COMPLETED\n\n CANCELED\n}\n\nenum OrderSide {\n BUY\n\n SELL\n}\n\nenum OrderType {\n MARKET\n\n LIMIT\n\n STOP\n\n STOP_LIMIT\n\n TRAILING_STOP\n}\n\nenum OrderClass {\n SIMPLE\n\n BRACKET\n\n OCO\n\n OSO\n\n OTO\n}\n\nenum TimeInForce {\n DAY\n\n GTC\n\n OPG\n\n CLS\n\n IOC\n\n FOK\n}\n\nenum OrderStatus {\n STAGED\n\n NEW\n\n PARTIALLY_FILLED\n\n FILLED\n\n DONE_FOR_DAY\n\n CANCELED\n\n EXPIRED\n\n HELD\n\n REPLACED\n\n PENDING_CANCEL\n\n PENDING_REPLACE\n\n ACCEPTED\n\n PENDING_NEW\n\n ACCEPTED_FOR_BIDDING\n\n STOPPED\n\n REJECTED\n\n SUSPENDED\n\n CALCULATED\n}\n\nenum OptionType {\n CALL\n\n PUT\n}\n\n";
|
1
|
+
export declare const ActionTypeString = "\n// Your response should adhere to the following type definition for the \"Action\" type.\n// Importantly, 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 // Whether the action is the primary action for the trade.\n primary: boolean;\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 // 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 // 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 // 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 // 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 // A list of action sequence numbers, for any sibling actions that are part of the same trade, that this action depends on.\n dependsOn: string[];\n // A list of action sequence numbers, for any sibling actions that depend on this action.\n dependedOnBy: string[];\n};\n\nenum ActionType {\n BUY\n\n BUY_OPTION\n\n EXERCISE_OPTION\n\n SELL\n\n CANCEL\n\n ADJUST\n\n HEDGE\n}\n\nenum ActionStatus {\n STAGED\n\n EXECUTED\n\n COMPLETED\n\n CANCELED\n}\n\nenum OrderSide {\n BUY\n\n SELL\n}\n\nenum OrderType {\n MARKET\n\n LIMIT\n\n STOP\n\n STOP_LIMIT\n\n TRAILING_STOP\n}\n\nenum OrderClass {\n SIMPLE\n\n BRACKET\n\n OCO\n\n OSO\n\n OTO\n}\n\nenum TimeInForce {\n DAY\n\n GTC\n\n OPG\n\n CLS\n\n IOC\n\n FOK\n}\n\nenum OrderStatus {\n STAGED\n\n NEW\n\n PARTIALLY_FILLED\n\n FILLED\n\n DONE_FOR_DAY\n\n CANCELED\n\n EXPIRED\n\n HELD\n\n REPLACED\n\n PENDING_CANCEL\n\n PENDING_REPLACE\n\n ACCEPTED\n\n PENDING_NEW\n\n ACCEPTED_FOR_BIDDING\n\n STOPPED\n\n REJECTED\n\n SUSPENDED\n\n CALCULATED\n}\n\nenum OptionType {\n CALL\n\n 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,8xGAkK5B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Action.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/Action.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG
|
1
|
+
{"version":3,"file":"Action.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/Action.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkK/B,CAAC"}
|
@@ -12,7 +12,7 @@ export declare const typeStrings: {
|
|
12
12
|
readonly contract: "\n// Your response should adhere to the following type definition for the \"Contract\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type Contract = {\n // Symbol of the contract\n symbol: string;\n // Name of the contract\n name: string;\n // Status of the contract (active, inactive)\n status: string;\n // Indicates if the contract is tradable\n tradable: boolean;\n // Expiration date of the contract\n expirationDate: Date;\n // Root symbol of the contract\n rootSymbol: string;\n // Underlying symbol of the contract\n underlyingSymbol: string;\n // Type of the option (call or put)\n type: OptionType;\n // Style of the option (american or european)\n style: OptionStyle;\n // Strike price of the option\n strikePrice: number;\n // Multiplier of the option\n multiplier: number;\n // Size of the option\n size: number;\n // Open interest of the option\n openInterest?: number;\n // Date when the open interest was recorded\n openInterestDate?: Date;\n // Close price of the option\n closePrice?: number;\n // Date when the close price was recorded\n closePriceDate?: Date;\n // Deliverables associated with the contract\n deliverables: {\n // Type of deliverable (cash or equity)\n type: DeliverableType;\n // Symbol of the deliverable\n symbol: string;\n // Amount of the deliverable\n amount?: number;\n // Allocation percentage of the deliverable\n allocationPercentage: number;\n // Settlement type (e.g., T+1)\n settlementType: string;\n // Settlement method (e.g., CCC)\n settlementMethod: string;\n // Indicates if the settlement is delayed\n delayedSettlement: boolean;\n }[];\n // PPIND flag\n ppind?: boolean;\n // Relation to the Asset model\n 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 // Optional relation to an order that created this contract\n 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 // 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 // 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};\n\nenum OptionType {\n CALL\n\n PUT\n}\n\nenum OptionStyle {\n AMERICAN\n\n EUROPEAN\n}\n\nenum DeliverableType {\n CASH\n\n EQUITY\n}\n\nenum AssetType {\n STOCK\n\n ETF\n\n MUTUAL_FUND\n\n CRYPTOCURRENCY\n\n INDEX\n\n COMMODITY\n\n CURRENCY\n\n OPTION\n\n FUTURE\n\n BOND\n\n WARRANT\n\n ADR\n\n GDR\n\n UNIT\n\n RIGHT\n\n REIT\n\n STRUCTURED_PRODUCT\n\n SWAP\n\n SPOT\n\n FORWARD\n\n OTHER\n}\n\nenum OrderSide {\n BUY\n\n SELL\n}\n\nenum OrderType {\n MARKET\n\n LIMIT\n\n STOP\n\n STOP_LIMIT\n\n TRAILING_STOP\n}\n\nenum OrderClass {\n SIMPLE\n\n BRACKET\n\n OCO\n\n OSO\n\n OTO\n}\n\nenum TimeInForce {\n DAY\n\n GTC\n\n OPG\n\n CLS\n\n IOC\n\n FOK\n}\n\nenum OrderStatus {\n STAGED\n\n NEW\n\n PARTIALLY_FILLED\n\n FILLED\n\n DONE_FOR_DAY\n\n CANCELED\n\n EXPIRED\n\n HELD\n\n REPLACED\n\n PENDING_CANCEL\n\n PENDING_REPLACE\n\n ACCEPTED\n\n PENDING_NEW\n\n ACCEPTED_FOR_BIDDING\n\n STOPPED\n\n REJECTED\n\n SUSPENDED\n\n CALCULATED\n}\n\n";
|
13
13
|
readonly deliverable: "\n// Your response should adhere to the following type definition for the \"Deliverable\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type Deliverable = {\n // Type of deliverable (cash or equity)\n type: DeliverableType;\n // Symbol of the deliverable\n symbol: string;\n // Amount of the deliverable\n amount?: number;\n // Allocation percentage of the deliverable\n allocationPercentage: number;\n // Settlement type (e.g., T+1)\n settlementType: string;\n // Settlement method (e.g., CCC)\n settlementMethod: string;\n // Indicates if the settlement is delayed\n delayedSettlement: boolean;\n // Relation to the Contract model\n contract: {\n // Symbol of the contract\n symbol: string;\n // Name of the contract\n name: string;\n // Status of the contract (active, inactive)\n status: string;\n // Indicates if the contract is tradable\n tradable: boolean;\n // Expiration date of the contract\n expirationDate: Date;\n // Root symbol of the contract\n rootSymbol: string;\n // Underlying symbol of the contract\n underlyingSymbol: string;\n // Type of the option (call or put)\n type: OptionType;\n // Style of the option (american or european)\n style: OptionStyle;\n // Strike price of the option\n strikePrice: number;\n // Multiplier of the option\n multiplier: number;\n // Size of the option\n size: number;\n // Open interest of the option\n openInterest?: number;\n // Date when the open interest was recorded\n openInterestDate?: Date;\n // Close price of the option\n closePrice?: number;\n // Date when the close price was recorded\n closePriceDate?: Date;\n // PPIND flag\n ppind?: boolean;\n // Relation to the Asset model\n 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 // Optional relation to an order that created this contract\n 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 // 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 // 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 };\n};\n\nenum DeliverableType {\n CASH\n\n EQUITY\n}\n\nenum OptionType {\n CALL\n\n PUT\n}\n\nenum OptionStyle {\n AMERICAN\n\n EUROPEAN\n}\n\nenum AssetType {\n STOCK\n\n ETF\n\n MUTUAL_FUND\n\n CRYPTOCURRENCY\n\n INDEX\n\n COMMODITY\n\n CURRENCY\n\n OPTION\n\n FUTURE\n\n BOND\n\n WARRANT\n\n ADR\n\n GDR\n\n UNIT\n\n RIGHT\n\n REIT\n\n STRUCTURED_PRODUCT\n\n SWAP\n\n SPOT\n\n FORWARD\n\n OTHER\n}\n\nenum OrderSide {\n BUY\n\n SELL\n}\n\nenum OrderType {\n MARKET\n\n LIMIT\n\n STOP\n\n STOP_LIMIT\n\n TRAILING_STOP\n}\n\nenum OrderClass {\n SIMPLE\n\n BRACKET\n\n OCO\n\n OSO\n\n OTO\n}\n\nenum TimeInForce {\n DAY\n\n GTC\n\n OPG\n\n CLS\n\n IOC\n\n FOK\n}\n\nenum OrderStatus {\n STAGED\n\n NEW\n\n PARTIALLY_FILLED\n\n FILLED\n\n DONE_FOR_DAY\n\n CANCELED\n\n EXPIRED\n\n HELD\n\n REPLACED\n\n PENDING_CANCEL\n\n PENDING_REPLACE\n\n ACCEPTED\n\n PENDING_NEW\n\n ACCEPTED_FOR_BIDDING\n\n STOPPED\n\n REJECTED\n\n SUSPENDED\n\n CALCULATED\n}\n\n";
|
14
14
|
readonly trade: "\n// Your response should adhere to the following type definition for the \"Trade\" type.\n// Importantly, 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 // 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 // List of actions associated with this trade.\n actions: {\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 // The order associated with this action.\n 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 // 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 // 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 // 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 // A list of action sequence numbers, for any sibling actions that are part of the same trade, that this action depends on.\n dependsOn: string[];\n // A list of action sequence numbers, for any sibling actions that depend on this action.\n dependedOnBy: string[];\n }[];\n};\n\nenum OptionType {\n CALL\n\n PUT\n}\n\nenum TradeSignal {\n GOLDEN_CROSS\n\n MOVING_AVERAGE_CROSSOVER\n\n RSI_OVERBOUGHT\n\n RSI_OVERSOLD\n\n MACD_CROSSOVER\n\n BOLLINGER_BANDS_BREAKOUT\n\n TREND_REVERSAL\n\n VOLATILITY_SPIKE\n\n PRICE_ACTION\n\n IMPLIED_VOLATILITY_SURGE\n\n BREAKOUT_ABOVE_RESISTANCE\n\n BREAKDOWN_BELOW_SUPPORT\n\n SUPPORT_LEVEL_HOLD\n\n RESISTANCE_LEVEL_HOLD\n\n FIBONACCI_RETRACEMENT\n\n ELLIOTT_WAVE\n\n PARABOLIC_SAR\n\n ADX_TREND_STRENGTH\n\n CCI_OVERBOUGHT\n\n CCI_OVERSOLD\n\n STOCHASTIC_OVERSOLD\n\n STOCHASTIC_OVERBOUGHT\n\n DIVERGENCE_SIGNAL\n\n GANN_FAN\n\n DONCHIAN_CHANNEL_BREAKOUT\n\n PIVOT_POINT\n\n KELTNER_CHANNEL_BREAK\n\n HEIKIN_ASHI_CROSSOVER\n\n VOLUME_SURGE\n\n ORDER_BOOK_IMBALANCE\n\n TIME_SERIES_ANOMALY\n\n MEAN_REVERSION_LEVEL\n\n PAIR_TRADING_SIGNAL\n\n SENTIMENT_SCORE_THRESHOLD\n\n NEWS_SENTIMENT_CHANGE\n\n ORDER_FLOW_IMPACT\n\n LIQUIDITY_DRIVEN_MOVE\n\n MACHINE_LEARNING_PREDICTION\n\n SENTIMENT_ANALYSIS_TRIGGER\n\n NO_SIGNAL\n}\n\nenum TradeStrategy {\n TECHNICAL_ANALYSIS\n\n TREND_FOLLOWING\n\n MEAN_REVERSION\n\n OPTIONS_STRATEGY\n\n MOMENTUM_STRATEGY\n\n MARKET_MAKING\n\n NEWS_BASED_STRATEGY\n\n SENTIMENT_ANALYSIS\n\n SCALPING\n\n VOLATILITY_TRADING\n\n EVENT_DRIVEN\n\n BREAKOUT_STRATEGY\n\n ORDER_FLOW_TRADING\n\n NO_STRATEGY\n}\n\nenum TradeStatus {\n PENDING\n\n OPEN\n\n PARTIAL\n\n COMPLETED\n\n CANCELED\n}\n\nenum AssetType {\n STOCK\n\n ETF\n\n MUTUAL_FUND\n\n CRYPTOCURRENCY\n\n INDEX\n\n COMMODITY\n\n CURRENCY\n\n OPTION\n\n FUTURE\n\n BOND\n\n WARRANT\n\n ADR\n\n GDR\n\n UNIT\n\n RIGHT\n\n REIT\n\n STRUCTURED_PRODUCT\n\n SWAP\n\n SPOT\n\n FORWARD\n\n OTHER\n}\n\nenum ActionType {\n BUY\n\n BUY_OPTION\n\n EXERCISE_OPTION\n\n SELL\n\n CANCEL\n\n ADJUST\n\n HEDGE\n}\n\nenum ActionStatus {\n STAGED\n\n EXECUTED\n\n COMPLETED\n\n CANCELED\n}\n\nenum OrderSide {\n BUY\n\n SELL\n}\n\nenum OrderType {\n MARKET\n\n LIMIT\n\n STOP\n\n STOP_LIMIT\n\n TRAILING_STOP\n}\n\nenum OrderClass {\n SIMPLE\n\n BRACKET\n\n OCO\n\n OSO\n\n OTO\n}\n\nenum TimeInForce {\n DAY\n\n GTC\n\n OPG\n\n CLS\n\n IOC\n\n FOK\n}\n\nenum OrderStatus {\n STAGED\n\n NEW\n\n PARTIALLY_FILLED\n\n FILLED\n\n DONE_FOR_DAY\n\n CANCELED\n\n EXPIRED\n\n HELD\n\n REPLACED\n\n PENDING_CANCEL\n\n PENDING_REPLACE\n\n ACCEPTED\n\n PENDING_NEW\n\n ACCEPTED_FOR_BIDDING\n\n STOPPED\n\n REJECTED\n\n SUSPENDED\n\n CALCULATED\n}\n\n";
|
15
|
-
readonly action: "\n// Your response should adhere to the following type definition for the \"Action\" type.\n// Importantly, 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 // 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 // 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 // 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 // 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 // A list of action sequence numbers, for any sibling actions that are part of the same trade, that this action depends on.\n dependsOn: string[];\n // A list of action sequence numbers, for any sibling actions that depend on this action.\n dependedOnBy: string[];\n};\n\nenum ActionType {\n BUY\n\n BUY_OPTION\n\n EXERCISE_OPTION\n\n SELL\n\n CANCEL\n\n ADJUST\n\n HEDGE\n}\n\nenum ActionStatus {\n STAGED\n\n EXECUTED\n\n COMPLETED\n\n CANCELED\n}\n\nenum OrderSide {\n BUY\n\n SELL\n}\n\nenum OrderType {\n MARKET\n\n LIMIT\n\n STOP\n\n STOP_LIMIT\n\n TRAILING_STOP\n}\n\nenum OrderClass {\n SIMPLE\n\n BRACKET\n\n OCO\n\n OSO\n\n OTO\n}\n\nenum TimeInForce {\n DAY\n\n GTC\n\n OPG\n\n CLS\n\n IOC\n\n FOK\n}\n\nenum OrderStatus {\n STAGED\n\n NEW\n\n PARTIALLY_FILLED\n\n FILLED\n\n DONE_FOR_DAY\n\n CANCELED\n\n EXPIRED\n\n HELD\n\n REPLACED\n\n PENDING_CANCEL\n\n PENDING_REPLACE\n\n ACCEPTED\n\n PENDING_NEW\n\n ACCEPTED_FOR_BIDDING\n\n STOPPED\n\n REJECTED\n\n SUSPENDED\n\n CALCULATED\n}\n\nenum OptionType {\n CALL\n\n PUT\n}\n\n";
|
15
|
+
readonly action: "\n// Your response should adhere to the following type definition for the \"Action\" type.\n// Importantly, 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 // Whether the action is the primary action for the trade.\n primary: boolean;\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 // 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 // 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 // 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 // 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 // A list of action sequence numbers, for any sibling actions that are part of the same trade, that this action depends on.\n dependsOn: string[];\n // A list of action sequence numbers, for any sibling actions that depend on this action.\n dependedOnBy: string[];\n};\n\nenum ActionType {\n BUY\n\n BUY_OPTION\n\n EXERCISE_OPTION\n\n SELL\n\n CANCEL\n\n ADJUST\n\n HEDGE\n}\n\nenum ActionStatus {\n STAGED\n\n EXECUTED\n\n COMPLETED\n\n CANCELED\n}\n\nenum OrderSide {\n BUY\n\n SELL\n}\n\nenum OrderType {\n MARKET\n\n LIMIT\n\n STOP\n\n STOP_LIMIT\n\n TRAILING_STOP\n}\n\nenum OrderClass {\n SIMPLE\n\n BRACKET\n\n OCO\n\n OSO\n\n OTO\n}\n\nenum TimeInForce {\n DAY\n\n GTC\n\n OPG\n\n CLS\n\n IOC\n\n FOK\n}\n\nenum OrderStatus {\n STAGED\n\n NEW\n\n PARTIALLY_FILLED\n\n FILLED\n\n DONE_FOR_DAY\n\n CANCELED\n\n EXPIRED\n\n HELD\n\n REPLACED\n\n PENDING_CANCEL\n\n PENDING_REPLACE\n\n ACCEPTED\n\n PENDING_NEW\n\n ACCEPTED_FOR_BIDDING\n\n STOPPED\n\n REJECTED\n\n SUSPENDED\n\n CALCULATED\n}\n\nenum OptionType {\n CALL\n\n PUT\n}\n\n";
|
16
16
|
readonly order: "\n// Your response should adhere to the following type definition for the \"Order\" type.\n// Importantly, 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 // 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 // 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\nenum OrderSide {\n BUY\n\n SELL\n}\n\nenum OrderType {\n MARKET\n\n LIMIT\n\n STOP\n\n STOP_LIMIT\n\n TRAILING_STOP\n}\n\nenum OrderClass {\n SIMPLE\n\n BRACKET\n\n OCO\n\n OSO\n\n OTO\n}\n\nenum TimeInForce {\n DAY\n\n GTC\n\n OPG\n\n CLS\n\n IOC\n\n FOK\n}\n\nenum OrderStatus {\n STAGED\n\n NEW\n\n PARTIALLY_FILLED\n\n FILLED\n\n DONE_FOR_DAY\n\n CANCELED\n\n EXPIRED\n\n HELD\n\n REPLACED\n\n PENDING_CANCEL\n\n PENDING_REPLACE\n\n ACCEPTED\n\n PENDING_NEW\n\n ACCEPTED_FOR_BIDDING\n\n STOPPED\n\n REJECTED\n\n SUSPENDED\n\n CALCULATED\n}\n\nenum AssetType {\n STOCK\n\n ETF\n\n MUTUAL_FUND\n\n CRYPTOCURRENCY\n\n INDEX\n\n COMMODITY\n\n CURRENCY\n\n OPTION\n\n FUTURE\n\n BOND\n\n WARRANT\n\n ADR\n\n GDR\n\n UNIT\n\n RIGHT\n\n REIT\n\n STRUCTURED_PRODUCT\n\n SWAP\n\n SPOT\n\n FORWARD\n\n OTHER\n}\n\nenum OptionType {\n CALL\n\n PUT\n}\n\n";
|
17
17
|
readonly stopLoss: "\n// Your response should adhere to the following type definition for the \"StopLoss\" type.\n// Importantly, 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";
|
18
18
|
readonly takeProfit: "\n// Your response should adhere to the following type definition for the \"TakeProfit\" type.\n// Importantly, 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";
|
@@ -939,7 +939,7 @@ const modelsInfo = {
|
|
939
939
|
Contract: ["id", "alpacaId", "symbol", "name", "status", "tradable", "expirationDate", "rootSymbol", "underlyingSymbol", "underlyingAssetId", "type", "style", "strikePrice", "multiplier", "size", "openInterest", "openInterestDate", "closePrice", "closePriceDate", "ppind", "assetId", "orderId", "createdAt", "updatedAt"],
|
940
940
|
Deliverable: ["id", "type", "symbol", "assetId", "amount", "allocationPercentage", "settlementType", "settlementMethod", "delayedSettlement", "contractId", "createdAt", "updatedAt"],
|
941
941
|
Trade: ["id", "alpacaAccountId", "assetId", "qty", "price", "total", "optionType", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status"],
|
942
|
-
Action: ["id", "sequence", "tradeId", "type", "note", "status", "fee", "dependsOn", "dependedOnBy"],
|
942
|
+
Action: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "dependsOn", "dependedOnBy"],
|
943
943
|
Order: ["id", "clientOrderId", "alpacaAccountId", "assetId", "qty", "notional", "side", "type", "orderClass", "timeInForce", "limitPrice", "stopPrice", "trailPrice", "trailPercent", "extendedHours", "status", "createdAt", "updatedAt", "submittedAt", "filledAt", "filledQty", "filledAvgPrice", "cancelRequestedAt", "canceledAt", "actionId", "fee", "strikePrice", "expirationDate", "optionType", "stopLossId", "takeProfitId", "contractId"],
|
944
944
|
StopLoss: ["id", "stopPrice", "limitPrice", "createdAt", "updatedAt", "orderId"],
|
945
945
|
TakeProfit: ["id", "limitPrice", "stopPrice", "createdAt", "updatedAt", "orderId"],
|
@@ -986,7 +986,7 @@ const outputsInfo = {
|
|
986
986
|
AggregateTrade: ["_count", "_avg", "_sum", "_min", "_max"],
|
987
987
|
TradeGroupBy: ["id", "alpacaAccountId", "assetId", "qty", "price", "total", "optionType", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status", "_count", "_avg", "_sum", "_min", "_max"],
|
988
988
|
AggregateAction: ["_count", "_avg", "_sum", "_min", "_max"],
|
989
|
-
ActionGroupBy: ["id", "sequence", "tradeId", "type", "note", "status", "fee", "dependsOn", "dependedOnBy", "_count", "_avg", "_sum", "_min", "_max"],
|
989
|
+
ActionGroupBy: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "dependsOn", "dependedOnBy", "_count", "_avg", "_sum", "_min", "_max"],
|
990
990
|
AggregateOrder: ["_count", "_avg", "_sum", "_min", "_max"],
|
991
991
|
OrderGroupBy: ["id", "clientOrderId", "alpacaAccountId", "assetId", "qty", "notional", "side", "type", "orderClass", "timeInForce", "limitPrice", "stopPrice", "trailPrice", "trailPercent", "extendedHours", "status", "createdAt", "updatedAt", "submittedAt", "filledAt", "filledQty", "filledAvgPrice", "cancelRequestedAt", "canceledAt", "actionId", "fee", "strikePrice", "expirationDate", "optionType", "stopLossId", "takeProfitId", "contractId", "_count", "_avg", "_sum", "_min", "_max"],
|
992
992
|
AggregateStopLoss: ["_count", "_avg", "_sum", "_min", "_max"],
|
@@ -1069,11 +1069,11 @@ const outputsInfo = {
|
|
1069
1069
|
TradeSumAggregate: ["qty", "price", "total", "confidence"],
|
1070
1070
|
TradeMinAggregate: ["id", "alpacaAccountId", "assetId", "qty", "price", "total", "optionType", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status"],
|
1071
1071
|
TradeMaxAggregate: ["id", "alpacaAccountId", "assetId", "qty", "price", "total", "optionType", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status"],
|
1072
|
-
ActionCountAggregate: ["id", "sequence", "tradeId", "type", "note", "status", "fee", "dependsOn", "dependedOnBy", "_all"],
|
1072
|
+
ActionCountAggregate: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "dependsOn", "dependedOnBy", "_all"],
|
1073
1073
|
ActionAvgAggregate: ["sequence", "fee"],
|
1074
1074
|
ActionSumAggregate: ["sequence", "fee"],
|
1075
|
-
ActionMinAggregate: ["id", "sequence", "tradeId", "type", "note", "status", "fee"],
|
1076
|
-
ActionMaxAggregate: ["id", "sequence", "tradeId", "type", "note", "status", "fee"],
|
1075
|
+
ActionMinAggregate: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee"],
|
1076
|
+
ActionMaxAggregate: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee"],
|
1077
1077
|
OrderCountAggregate: ["id", "clientOrderId", "alpacaAccountId", "assetId", "qty", "notional", "side", "type", "orderClass", "timeInForce", "limitPrice", "stopPrice", "trailPrice", "trailPercent", "extendedHours", "status", "createdAt", "updatedAt", "submittedAt", "filledAt", "filledQty", "filledAvgPrice", "cancelRequestedAt", "canceledAt", "actionId", "fee", "strikePrice", "expirationDate", "optionType", "stopLossId", "takeProfitId", "contractId", "_all"],
|
1078
1078
|
OrderAvgAggregate: ["qty", "notional", "limitPrice", "stopPrice", "trailPrice", "trailPercent", "filledQty", "filledAvgPrice", "fee", "strikePrice"],
|
1079
1079
|
OrderSumAggregate: ["qty", "notional", "limitPrice", "stopPrice", "trailPrice", "trailPercent", "filledQty", "filledAvgPrice", "fee", "strikePrice"],
|
@@ -1118,7 +1118,7 @@ const outputsInfo = {
|
|
1118
1118
|
CreateManyAndReturnContract: ["id", "alpacaId", "symbol", "name", "status", "tradable", "expirationDate", "rootSymbol", "underlyingSymbol", "underlyingAssetId", "type", "style", "strikePrice", "multiplier", "size", "openInterest", "openInterestDate", "closePrice", "closePriceDate", "ppind", "assetId", "orderId", "createdAt", "updatedAt", "asset"],
|
1119
1119
|
CreateManyAndReturnDeliverable: ["id", "type", "symbol", "assetId", "amount", "allocationPercentage", "settlementType", "settlementMethod", "delayedSettlement", "contractId", "createdAt", "updatedAt", "contract"],
|
1120
1120
|
CreateManyAndReturnTrade: ["id", "alpacaAccountId", "assetId", "qty", "price", "total", "optionType", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status", "alpacaAccount", "asset"],
|
1121
|
-
CreateManyAndReturnAction: ["id", "sequence", "tradeId", "type", "note", "status", "fee", "dependsOn", "dependedOnBy", "trade"],
|
1121
|
+
CreateManyAndReturnAction: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "dependsOn", "dependedOnBy", "trade"],
|
1122
1122
|
CreateManyAndReturnOrder: ["id", "clientOrderId", "alpacaAccountId", "assetId", "qty", "notional", "side", "type", "orderClass", "timeInForce", "limitPrice", "stopPrice", "trailPrice", "trailPercent", "extendedHours", "status", "createdAt", "updatedAt", "submittedAt", "filledAt", "filledQty", "filledAvgPrice", "cancelRequestedAt", "canceledAt", "actionId", "fee", "strikePrice", "expirationDate", "optionType", "stopLossId", "takeProfitId", "contractId", "alpacaAccount", "action", "asset", "contract"],
|
1123
1123
|
CreateManyAndReturnStopLoss: ["id", "stopPrice", "limitPrice", "createdAt", "updatedAt", "orderId", "Order"],
|
1124
1124
|
CreateManyAndReturnTakeProfit: ["id", "limitPrice", "stopPrice", "createdAt", "updatedAt", "orderId", "Order"],
|
@@ -1203,11 +1203,11 @@ const inputsInfo = {
|
|
1203
1203
|
TradeWhereUniqueInput: ["id", "AND", "OR", "NOT", "alpacaAccountId", "assetId", "qty", "price", "total", "optionType", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status", "alpacaAccount", "asset", "actions"],
|
1204
1204
|
TradeOrderByWithAggregationInput: ["id", "alpacaAccountId", "assetId", "qty", "price", "total", "optionType", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status", "_count", "_avg", "_max", "_min", "_sum"],
|
1205
1205
|
TradeScalarWhereWithAggregatesInput: ["AND", "OR", "NOT", "id", "alpacaAccountId", "assetId", "qty", "price", "total", "optionType", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status"],
|
1206
|
-
ActionWhereInput: ["AND", "OR", "NOT", "id", "sequence", "tradeId", "type", "note", "status", "fee", "dependsOn", "dependedOnBy", "trade", "order"],
|
1207
|
-
ActionOrderByWithRelationInput: ["id", "sequence", "tradeId", "type", "note", "status", "fee", "dependsOn", "dependedOnBy", "trade", "order"],
|
1208
|
-
ActionWhereUniqueInput: ["id", "AND", "OR", "NOT", "sequence", "tradeId", "type", "note", "status", "fee", "dependsOn", "dependedOnBy", "trade", "order"],
|
1209
|
-
ActionOrderByWithAggregationInput: ["id", "sequence", "tradeId", "type", "note", "status", "fee", "dependsOn", "dependedOnBy", "_count", "_avg", "_max", "_min", "_sum"],
|
1210
|
-
ActionScalarWhereWithAggregatesInput: ["AND", "OR", "NOT", "id", "sequence", "tradeId", "type", "note", "status", "fee", "dependsOn", "dependedOnBy"],
|
1206
|
+
ActionWhereInput: ["AND", "OR", "NOT", "id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "dependsOn", "dependedOnBy", "trade", "order"],
|
1207
|
+
ActionOrderByWithRelationInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "dependsOn", "dependedOnBy", "trade", "order"],
|
1208
|
+
ActionWhereUniqueInput: ["id", "AND", "OR", "NOT", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "dependsOn", "dependedOnBy", "trade", "order"],
|
1209
|
+
ActionOrderByWithAggregationInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "dependsOn", "dependedOnBy", "_count", "_avg", "_max", "_min", "_sum"],
|
1210
|
+
ActionScalarWhereWithAggregatesInput: ["AND", "OR", "NOT", "id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "dependsOn", "dependedOnBy"],
|
1211
1211
|
OrderWhereInput: ["AND", "OR", "NOT", "id", "clientOrderId", "alpacaAccountId", "assetId", "qty", "notional", "side", "type", "orderClass", "timeInForce", "limitPrice", "stopPrice", "trailPrice", "trailPercent", "extendedHours", "status", "createdAt", "updatedAt", "submittedAt", "filledAt", "filledQty", "filledAvgPrice", "cancelRequestedAt", "canceledAt", "actionId", "fee", "strikePrice", "expirationDate", "optionType", "stopLossId", "takeProfitId", "contractId", "stopLoss", "takeProfit", "alpacaAccount", "action", "asset", "contract"],
|
1212
1212
|
OrderOrderByWithRelationInput: ["id", "clientOrderId", "alpacaAccountId", "assetId", "qty", "notional", "side", "type", "orderClass", "timeInForce", "limitPrice", "stopPrice", "trailPrice", "trailPercent", "extendedHours", "status", "createdAt", "updatedAt", "submittedAt", "filledAt", "filledQty", "filledAvgPrice", "cancelRequestedAt", "canceledAt", "actionId", "fee", "strikePrice", "expirationDate", "optionType", "stopLossId", "takeProfitId", "contractId", "stopLoss", "takeProfit", "alpacaAccount", "action", "asset", "contract"],
|
1213
1213
|
OrderWhereUniqueInput: ["id", "clientOrderId", "actionId", "stopLossId", "contractId", "AND", "OR", "NOT", "alpacaAccountId", "assetId", "qty", "notional", "side", "type", "orderClass", "timeInForce", "limitPrice", "stopPrice", "trailPrice", "trailPercent", "extendedHours", "status", "createdAt", "updatedAt", "submittedAt", "filledAt", "filledQty", "filledAvgPrice", "cancelRequestedAt", "canceledAt", "fee", "strikePrice", "expirationDate", "optionType", "takeProfitId", "stopLoss", "takeProfit", "alpacaAccount", "action", "asset", "contract"],
|
@@ -1300,10 +1300,10 @@ const inputsInfo = {
|
|
1300
1300
|
TradeUpdateInput: ["id", "qty", "price", "total", "optionType", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status", "alpacaAccount", "asset", "actions"],
|
1301
1301
|
TradeCreateManyInput: ["id", "alpacaAccountId", "assetId", "qty", "price", "total", "optionType", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status"],
|
1302
1302
|
TradeUpdateManyMutationInput: ["id", "qty", "price", "total", "optionType", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status"],
|
1303
|
-
ActionCreateInput: ["id", "sequence", "type", "note", "status", "fee", "dependsOn", "dependedOnBy", "trade", "order"],
|
1304
|
-
ActionUpdateInput: ["id", "sequence", "type", "note", "status", "fee", "dependsOn", "dependedOnBy", "trade", "order"],
|
1305
|
-
ActionCreateManyInput: ["id", "sequence", "tradeId", "type", "note", "status", "fee", "dependsOn", "dependedOnBy"],
|
1306
|
-
ActionUpdateManyMutationInput: ["id", "sequence", "type", "note", "status", "fee", "dependsOn", "dependedOnBy"],
|
1303
|
+
ActionCreateInput: ["id", "sequence", "type", "primary", "note", "status", "fee", "dependsOn", "dependedOnBy", "trade", "order"],
|
1304
|
+
ActionUpdateInput: ["id", "sequence", "type", "primary", "note", "status", "fee", "dependsOn", "dependedOnBy", "trade", "order"],
|
1305
|
+
ActionCreateManyInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "dependsOn", "dependedOnBy"],
|
1306
|
+
ActionUpdateManyMutationInput: ["id", "sequence", "type", "primary", "note", "status", "fee", "dependsOn", "dependedOnBy"],
|
1307
1307
|
OrderCreateInput: ["id", "clientOrderId", "qty", "notional", "side", "type", "orderClass", "timeInForce", "limitPrice", "stopPrice", "trailPrice", "trailPercent", "extendedHours", "status", "createdAt", "updatedAt", "submittedAt", "filledAt", "filledQty", "filledAvgPrice", "cancelRequestedAt", "canceledAt", "fee", "strikePrice", "expirationDate", "optionType", "stopLossId", "takeProfitId", "stopLoss", "takeProfit", "alpacaAccount", "action", "asset", "contract"],
|
1308
1308
|
OrderUpdateInput: ["id", "clientOrderId", "qty", "notional", "side", "type", "orderClass", "timeInForce", "limitPrice", "stopPrice", "trailPrice", "trailPercent", "extendedHours", "status", "createdAt", "updatedAt", "submittedAt", "filledAt", "filledQty", "filledAvgPrice", "cancelRequestedAt", "canceledAt", "fee", "strikePrice", "expirationDate", "optionType", "stopLossId", "takeProfitId", "stopLoss", "takeProfit", "alpacaAccount", "action", "asset", "contract"],
|
1309
1309
|
OrderCreateManyInput: ["id", "clientOrderId", "alpacaAccountId", "assetId", "qty", "notional", "side", "type", "orderClass", "timeInForce", "limitPrice", "stopPrice", "trailPrice", "trailPercent", "extendedHours", "status", "createdAt", "updatedAt", "submittedAt", "filledAt", "filledQty", "filledAvgPrice", "cancelRequestedAt", "canceledAt", "actionId", "fee", "strikePrice", "expirationDate", "optionType", "stopLossId", "takeProfitId", "contractId"],
|
@@ -1487,10 +1487,10 @@ const inputsInfo = {
|
|
1487
1487
|
EnumActionStatusFilter: ["equals", "in", "notIn", "not"],
|
1488
1488
|
StringNullableListFilter: ["equals", "has", "hasEvery", "hasSome", "isEmpty"],
|
1489
1489
|
TradeRelationFilter: ["is", "isNot"],
|
1490
|
-
ActionCountOrderByAggregateInput: ["id", "sequence", "tradeId", "type", "note", "status", "fee", "dependsOn", "dependedOnBy"],
|
1490
|
+
ActionCountOrderByAggregateInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "dependsOn", "dependedOnBy"],
|
1491
1491
|
ActionAvgOrderByAggregateInput: ["sequence", "fee"],
|
1492
|
-
ActionMaxOrderByAggregateInput: ["id", "sequence", "tradeId", "type", "note", "status", "fee"],
|
1493
|
-
ActionMinOrderByAggregateInput: ["id", "sequence", "tradeId", "type", "note", "status", "fee"],
|
1492
|
+
ActionMaxOrderByAggregateInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee"],
|
1493
|
+
ActionMinOrderByAggregateInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee"],
|
1494
1494
|
ActionSumOrderByAggregateInput: ["sequence", "fee"],
|
1495
1495
|
EnumActionTypeWithAggregatesFilter: ["equals", "in", "notIn", "not", "_count", "_min", "_max"],
|
1496
1496
|
EnumActionStatusWithAggregatesFilter: ["equals", "in", "notIn", "not", "_count", "_min", "_max"],
|
@@ -1901,7 +1901,7 @@ const inputsInfo = {
|
|
1901
1901
|
AlpacaAccountCreateOrConnectWithoutTradesInput: ["where", "create"],
|
1902
1902
|
AssetCreateWithoutTradesInput: ["id", "symbol", "name", "type", "logoUrl", "description", "cik", "exchange", "currency", "country", "sector", "industry", "address", "officialSite", "fiscalYearEnd", "latestQuarter", "marketCapitalization", "ebitda", "peRatio", "pegRatio", "bookValue", "dividendPerShare", "dividendYield", "eps", "revenuePerShareTTM", "profitMargin", "operatingMarginTTM", "returnOnAssetsTTM", "returnOnEquityTTM", "revenueTTM", "grossProfitTTM", "dilutedEPSTTM", "quarterlyEarningsGrowthYOY", "quarterlyRevenueGrowthYOY", "analystTargetPrice", "analystRatingStrongBuy", "analystRatingBuy", "analystRatingHold", "analystRatingSell", "analystRatingStrongSell", "trailingPE", "forwardPE", "priceToSalesRatioTTM", "priceToBookRatio", "evToRevenue", "evToEbitda", "beta", "week52High", "week52Low", "day50MovingAverage", "day200MovingAverage", "sharesOutstanding", "dividendDate", "exDividendDate", "askPrice", "bidPrice", "createdAt", "updatedAt", "orders", "positions", "newsMentions", "contracts"],
|
1903
1903
|
AssetCreateOrConnectWithoutTradesInput: ["where", "create"],
|
1904
|
-
ActionCreateWithoutTradeInput: ["id", "sequence", "type", "note", "status", "fee", "dependsOn", "dependedOnBy", "order"],
|
1904
|
+
ActionCreateWithoutTradeInput: ["id", "sequence", "type", "primary", "note", "status", "fee", "dependsOn", "dependedOnBy", "order"],
|
1905
1905
|
ActionCreateOrConnectWithoutTradeInput: ["where", "create"],
|
1906
1906
|
ActionCreateManyTradeInputEnvelope: ["data", "skipDuplicates"],
|
1907
1907
|
AlpacaAccountUpsertWithoutTradesInput: ["update", "create", "where"],
|
@@ -1913,7 +1913,7 @@ const inputsInfo = {
|
|
1913
1913
|
ActionUpsertWithWhereUniqueWithoutTradeInput: ["where", "update", "create"],
|
1914
1914
|
ActionUpdateWithWhereUniqueWithoutTradeInput: ["where", "data"],
|
1915
1915
|
ActionUpdateManyWithWhereWithoutTradeInput: ["where", "data"],
|
1916
|
-
ActionScalarWhereInput: ["AND", "OR", "NOT", "id", "sequence", "tradeId", "type", "note", "status", "fee", "dependsOn", "dependedOnBy"],
|
1916
|
+
ActionScalarWhereInput: ["AND", "OR", "NOT", "id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "dependsOn", "dependedOnBy"],
|
1917
1917
|
TradeCreateWithoutActionsInput: ["id", "qty", "price", "total", "optionType", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status", "alpacaAccount", "asset"],
|
1918
1918
|
TradeCreateOrConnectWithoutActionsInput: ["where", "create"],
|
1919
1919
|
OrderCreateWithoutActionInput: ["id", "clientOrderId", "qty", "notional", "side", "type", "orderClass", "timeInForce", "limitPrice", "stopPrice", "trailPrice", "trailPercent", "extendedHours", "status", "createdAt", "updatedAt", "submittedAt", "filledAt", "filledQty", "filledAvgPrice", "cancelRequestedAt", "canceledAt", "fee", "strikePrice", "expirationDate", "optionType", "stopLossId", "takeProfitId", "stopLoss", "takeProfit", "alpacaAccount", "asset", "contract"],
|
@@ -1930,7 +1930,7 @@ const inputsInfo = {
|
|
1930
1930
|
TakeProfitCreateOrConnectWithoutOrderInput: ["where", "create"],
|
1931
1931
|
AlpacaAccountCreateWithoutOrdersInput: ["id", "type", "APIKey", "APISecret", "configuration", "marketOpen", "realTime", "minOrderSize", "maxOrderSize", "minPercentageChange", "volumeThreshold", "createdAt", "updatedAt", "user", "trades", "positions", "alerts"],
|
1932
1932
|
AlpacaAccountCreateOrConnectWithoutOrdersInput: ["where", "create"],
|
1933
|
-
ActionCreateWithoutOrderInput: ["id", "sequence", "type", "note", "status", "fee", "dependsOn", "dependedOnBy", "trade"],
|
1933
|
+
ActionCreateWithoutOrderInput: ["id", "sequence", "type", "primary", "note", "status", "fee", "dependsOn", "dependedOnBy", "trade"],
|
1934
1934
|
ActionCreateOrConnectWithoutOrderInput: ["where", "create"],
|
1935
1935
|
AssetCreateWithoutOrdersInput: ["id", "symbol", "name", "type", "logoUrl", "description", "cik", "exchange", "currency", "country", "sector", "industry", "address", "officialSite", "fiscalYearEnd", "latestQuarter", "marketCapitalization", "ebitda", "peRatio", "pegRatio", "bookValue", "dividendPerShare", "dividendYield", "eps", "revenuePerShareTTM", "profitMargin", "operatingMarginTTM", "returnOnAssetsTTM", "returnOnEquityTTM", "revenueTTM", "grossProfitTTM", "dilutedEPSTTM", "quarterlyEarningsGrowthYOY", "quarterlyRevenueGrowthYOY", "analystTargetPrice", "analystRatingStrongBuy", "analystRatingBuy", "analystRatingHold", "analystRatingSell", "analystRatingStrongSell", "trailingPE", "forwardPE", "priceToSalesRatioTTM", "priceToBookRatio", "evToRevenue", "evToEbitda", "beta", "week52High", "week52Low", "day50MovingAverage", "day200MovingAverage", "sharesOutstanding", "dividendDate", "exDividendDate", "askPrice", "bidPrice", "createdAt", "updatedAt", "trades", "positions", "newsMentions", "contracts"],
|
1936
1936
|
AssetCreateOrConnectWithoutOrdersInput: ["where", "create"],
|
@@ -1947,7 +1947,7 @@ const inputsInfo = {
|
|
1947
1947
|
AlpacaAccountUpdateWithoutOrdersInput: ["id", "type", "APIKey", "APISecret", "configuration", "marketOpen", "realTime", "minOrderSize", "maxOrderSize", "minPercentageChange", "volumeThreshold", "createdAt", "updatedAt", "user", "trades", "positions", "alerts"],
|
1948
1948
|
ActionUpsertWithoutOrderInput: ["update", "create", "where"],
|
1949
1949
|
ActionUpdateToOneWithWhereWithoutOrderInput: ["where", "data"],
|
1950
|
-
ActionUpdateWithoutOrderInput: ["id", "sequence", "type", "note", "status", "fee", "dependsOn", "dependedOnBy", "trade"],
|
1950
|
+
ActionUpdateWithoutOrderInput: ["id", "sequence", "type", "primary", "note", "status", "fee", "dependsOn", "dependedOnBy", "trade"],
|
1951
1951
|
AssetUpsertWithoutOrdersInput: ["update", "create", "where"],
|
1952
1952
|
AssetUpdateToOneWithWhereWithoutOrdersInput: ["where", "data"],
|
1953
1953
|
AssetUpdateWithoutOrdersInput: ["id", "symbol", "name", "type", "logoUrl", "description", "cik", "exchange", "currency", "country", "sector", "industry", "address", "officialSite", "fiscalYearEnd", "latestQuarter", "marketCapitalization", "ebitda", "peRatio", "pegRatio", "bookValue", "dividendPerShare", "dividendYield", "eps", "revenuePerShareTTM", "profitMargin", "operatingMarginTTM", "returnOnAssetsTTM", "returnOnEquityTTM", "revenueTTM", "grossProfitTTM", "dilutedEPSTTM", "quarterlyEarningsGrowthYOY", "quarterlyRevenueGrowthYOY", "analystTargetPrice", "analystRatingStrongBuy", "analystRatingBuy", "analystRatingHold", "analystRatingSell", "analystRatingStrongSell", "trailingPE", "forwardPE", "priceToSalesRatioTTM", "priceToBookRatio", "evToRevenue", "evToEbitda", "beta", "week52High", "week52Low", "day50MovingAverage", "day200MovingAverage", "sharesOutstanding", "dividendDate", "exDividendDate", "askPrice", "bidPrice", "createdAt", "updatedAt", "trades", "positions", "newsMentions", "contracts"],
|
@@ -2015,8 +2015,8 @@ const inputsInfo = {
|
|
2015
2015
|
ContractUpdateWithoutAssetInput: ["id", "alpacaId", "symbol", "name", "status", "tradable", "expirationDate", "rootSymbol", "underlyingSymbol", "underlyingAssetId", "type", "style", "strikePrice", "multiplier", "size", "openInterest", "openInterestDate", "closePrice", "closePriceDate", "ppind", "orderId", "createdAt", "updatedAt", "deliverables", "order"],
|
2016
2016
|
DeliverableCreateManyContractInput: ["id", "type", "symbol", "assetId", "amount", "allocationPercentage", "settlementType", "settlementMethod", "delayedSettlement", "createdAt", "updatedAt"],
|
2017
2017
|
DeliverableUpdateWithoutContractInput: ["id", "type", "symbol", "assetId", "amount", "allocationPercentage", "settlementType", "settlementMethod", "delayedSettlement", "createdAt", "updatedAt"],
|
2018
|
-
ActionCreateManyTradeInput: ["id", "sequence", "type", "note", "status", "fee", "dependsOn", "dependedOnBy"],
|
2019
|
-
ActionUpdateWithoutTradeInput: ["id", "sequence", "type", "note", "status", "fee", "dependsOn", "dependedOnBy", "order"],
|
2018
|
+
ActionCreateManyTradeInput: ["id", "sequence", "type", "primary", "note", "status", "fee", "dependsOn", "dependedOnBy"],
|
2019
|
+
ActionUpdateWithoutTradeInput: ["id", "sequence", "type", "primary", "note", "status", "fee", "dependsOn", "dependedOnBy", "order"],
|
2020
2020
|
NewsArticleAssetSentimentCreateManyNewsInput: ["id", "assetId", "url", "relevancyScore", "sentimentScore", "sentimentLabel"],
|
2021
2021
|
NewsArticleAssetSentimentUpdateWithoutNewsInput: ["id", "url", "relevancyScore", "sentimentScore", "sentimentLabel", "asset"]
|
2022
2022
|
};
|