adaptic-backend 1.0.300 → 1.0.302
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 +0 -38
- package/Alert.cjs +0 -168
- package/AlpacaAccount.cjs +0 -134
- package/Asset.cjs +0 -216
- package/Contract.cjs +0 -236
- package/Deliverable.cjs +0 -86
- package/NewsArticleAssetSentiment.cjs +0 -168
- package/Order.cjs +0 -218
- package/Position.cjs +0 -336
- package/StopLoss.cjs +0 -66
- package/TakeProfit.cjs +0 -66
- package/Trade.cjs +0 -218
- package/User.cjs +0 -170
- package/esm/Action.d.ts.map +1 -1
- package/esm/Action.js.map +1 -1
- package/esm/Action.mjs +0 -38
- package/esm/Alert.d.ts.map +1 -1
- package/esm/Alert.js.map +1 -1
- package/esm/Alert.mjs +0 -168
- package/esm/AlpacaAccount.d.ts.map +1 -1
- package/esm/AlpacaAccount.js.map +1 -1
- package/esm/AlpacaAccount.mjs +0 -134
- package/esm/Asset.d.ts.map +1 -1
- package/esm/Asset.js.map +1 -1
- package/esm/Asset.mjs +0 -216
- package/esm/Contract.d.ts.map +1 -1
- package/esm/Contract.js.map +1 -1
- package/esm/Contract.mjs +0 -236
- package/esm/Deliverable.d.ts.map +1 -1
- package/esm/Deliverable.js.map +1 -1
- package/esm/Deliverable.mjs +0 -86
- package/esm/NewsArticleAssetSentiment.d.ts.map +1 -1
- package/esm/NewsArticleAssetSentiment.js.map +1 -1
- package/esm/NewsArticleAssetSentiment.mjs +0 -168
- package/esm/Order.d.ts.map +1 -1
- package/esm/Order.js.map +1 -1
- package/esm/Order.mjs +0 -218
- package/esm/Position.d.ts.map +1 -1
- package/esm/Position.js.map +1 -1
- package/esm/Position.mjs +0 -336
- package/esm/StopLoss.d.ts.map +1 -1
- package/esm/StopLoss.js.map +1 -1
- package/esm/StopLoss.mjs +0 -66
- package/esm/TakeProfit.d.ts.map +1 -1
- package/esm/TakeProfit.js.map +1 -1
- package/esm/TakeProfit.mjs +0 -66
- package/esm/Trade.d.ts.map +1 -1
- package/esm/Trade.js.map +1 -1
- package/esm/Trade.mjs +0 -218
- package/esm/User.d.ts.map +1 -1
- package/esm/User.js.map +1 -1
- package/esm/User.mjs +0 -170
- package/esm/generated/selectionSets/Action.d.ts +1 -1
- package/esm/generated/selectionSets/Action.d.ts.map +1 -1
- package/esm/generated/selectionSets/Action.js.map +1 -1
- package/esm/generated/selectionSets/Action.mjs +0 -2
- package/esm/generated/selectionSets/AlpacaAccount.d.ts +1 -1
- package/esm/generated/selectionSets/AlpacaAccount.d.ts.map +1 -1
- package/esm/generated/selectionSets/AlpacaAccount.js.map +1 -1
- package/esm/generated/selectionSets/AlpacaAccount.mjs +0 -2
- package/esm/generated/selectionSets/Contract.d.ts +1 -1
- package/esm/generated/selectionSets/Contract.d.ts.map +1 -1
- package/esm/generated/selectionSets/Contract.js.map +1 -1
- package/esm/generated/selectionSets/Contract.mjs +0 -2
- package/esm/generated/selectionSets/Deliverable.d.ts +1 -1
- package/esm/generated/selectionSets/Deliverable.d.ts.map +1 -1
- package/esm/generated/selectionSets/Deliverable.js.map +1 -1
- package/esm/generated/selectionSets/Deliverable.mjs +0 -2
- package/esm/generated/selectionSets/Order.d.ts +1 -1
- package/esm/generated/selectionSets/Order.d.ts.map +1 -1
- package/esm/generated/selectionSets/Order.js.map +1 -1
- package/esm/generated/selectionSets/Order.mjs +0 -2
- package/esm/generated/selectionSets/Trade.d.ts +1 -1
- package/esm/generated/selectionSets/Trade.d.ts.map +1 -1
- package/esm/generated/selectionSets/Trade.js.map +1 -1
- package/esm/generated/selectionSets/Trade.mjs +0 -2
- package/esm/generated/selectionSets/User.d.ts +1 -1
- package/esm/generated/selectionSets/User.d.ts.map +1 -1
- package/esm/generated/selectionSets/User.js.map +1 -1
- package/esm/generated/selectionSets/User.mjs +0 -2
- package/esm/generated/typeStrings/Action.d.ts +1 -1
- package/esm/generated/typeStrings/Action.d.ts.map +1 -1
- package/esm/generated/typeStrings/Action.js.map +1 -1
- package/esm/generated/typeStrings/Action.mjs +0 -4
- package/esm/generated/typeStrings/Trade.d.ts +1 -1
- package/esm/generated/typeStrings/Trade.d.ts.map +1 -1
- package/esm/generated/typeStrings/Trade.js.map +1 -1
- package/esm/generated/typeStrings/Trade.mjs +0 -4
- package/esm/generated/typeStrings/index.d.ts +2 -2
- package/esm/generated/typegraphql-prisma/enhance.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/enhance.js.map +1 -1
- package/esm/generated/typegraphql-prisma/enhance.mjs +21 -25
- package/esm/generated/typegraphql-prisma/enums/ActionScalarFieldEnum.d.ts +0 -2
- package/esm/generated/typegraphql-prisma/enums/ActionScalarFieldEnum.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/enums/ActionScalarFieldEnum.js.map +1 -1
- package/esm/generated/typegraphql-prisma/enums/ActionScalarFieldEnum.mjs +0 -2
- package/esm/generated/typegraphql-prisma/models/Action.d.ts +0 -8
- package/esm/generated/typegraphql-prisma/models/Action.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/models/Action.js.map +1 -1
- package/esm/generated/typegraphql-prisma/models/Action.mjs +0 -22
- package/esm/generated/typegraphql-prisma/models/Trade.d.ts +1 -1
- package/esm/generated/typegraphql-prisma/models/Trade.mjs +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionArgs.d.ts +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionArgs.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionArgs.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionOrThrowArgs.d.ts +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionOrThrowArgs.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/crud/Action/args/FindFirstActionOrThrowArgs.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/crud/Action/args/FindManyActionArgs.d.ts +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/crud/Action/args/FindManyActionArgs.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/crud/Action/args/FindManyActionArgs.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/crud/Action/args/GroupByActionArgs.d.ts +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/crud/Action/args/GroupByActionArgs.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/crud/Action/args/GroupByActionArgs.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCountOrderByAggregateInput.d.ts +0 -2
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCountOrderByAggregateInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCountOrderByAggregateInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCountOrderByAggregateInput.mjs +0 -14
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateInput.d.ts +0 -4
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateInput.mjs +0 -16
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyInput.d.ts +0 -4
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyInput.mjs +0 -16
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyTradeInput.d.ts +0 -4
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyTradeInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyTradeInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyTradeInput.mjs +0 -16
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutOrderInput.d.ts +0 -4
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutOrderInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutOrderInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutOrderInput.mjs +0 -16
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutTradeInput.d.ts +0 -4
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutTradeInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutTradeInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutTradeInput.mjs +0 -16
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithAggregationInput.d.ts +0 -2
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithAggregationInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithAggregationInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithAggregationInput.mjs +0 -14
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithRelationInput.d.ts +0 -2
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithRelationInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithRelationInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithRelationInput.mjs +0 -14
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.d.ts +0 -3
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.mjs +0 -15
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.d.ts +0 -3
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.mjs +0 -15
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateInput.d.ts +0 -4
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateInput.mjs +0 -16
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateManyMutationInput.d.ts +0 -4
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateManyMutationInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateManyMutationInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateManyMutationInput.mjs +0 -16
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutOrderInput.d.ts +0 -4
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutOrderInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutOrderInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutOrderInput.mjs +0 -16
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutTradeInput.d.ts +0 -4
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutTradeInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutTradeInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutTradeInput.mjs +0 -16
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.d.ts +0 -3
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.mjs +0 -15
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.d.ts +0 -3
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.mjs +0 -15
- package/esm/generated/typegraphql-prisma/resolvers/inputs/index.d.ts +0 -4
- package/esm/generated/typegraphql-prisma/resolvers/inputs/index.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/index.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/index.mjs +0 -4
- package/esm/generated/typegraphql-prisma/resolvers/outputs/ActionCountAggregate.d.ts +0 -2
- package/esm/generated/typegraphql-prisma/resolvers/outputs/ActionCountAggregate.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/outputs/ActionCountAggregate.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/outputs/ActionCountAggregate.mjs +0 -14
- package/esm/generated/typegraphql-prisma/resolvers/outputs/ActionGroupBy.d.ts +0 -2
- package/esm/generated/typegraphql-prisma/resolvers/outputs/ActionGroupBy.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/outputs/ActionGroupBy.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/outputs/ActionGroupBy.mjs +0 -14
- package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAction.d.ts +0 -2
- package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAction.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAction.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAction.mjs +0 -14
- package/esm/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.mjs +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.d.ts +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.js.map +1 -1
- package/generated/typeStrings/Action.cjs +0 -4
- 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/Trade.cjs +0 -4
- package/generated/typeStrings/Trade.d.ts +1 -1
- package/generated/typeStrings/Trade.d.ts.map +1 -1
- package/generated/typeStrings/Trade.js.map +1 -1
- package/generated/typeStrings/index.d.ts +2 -2
- package/generated/typegraphql-prisma/enhance.cjs +21 -25
- package/generated/typegraphql-prisma/enhance.d.ts.map +1 -1
- package/generated/typegraphql-prisma/enhance.js.map +1 -1
- package/generated/typegraphql-prisma/enums/ActionScalarFieldEnum.cjs +0 -2
- package/generated/typegraphql-prisma/enums/ActionScalarFieldEnum.d.ts +0 -2
- 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 +0 -14
- package/generated/typegraphql-prisma/models/Action.d.ts +0 -8
- 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/models/Trade.d.ts +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 +0 -12
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCountOrderByAggregateInput.d.ts +0 -2
- 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 +0 -14
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateInput.d.ts +0 -4
- 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 +0 -14
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyInput.d.ts +0 -4
- 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 +0 -14
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateManyTradeInput.d.ts +0 -4
- 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 +0 -14
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutOrderInput.d.ts +0 -4
- 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 +0 -14
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreateWithoutTradeInput.d.ts +0 -4
- 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/ActionOrderByWithAggregationInput.cjs +0 -12
- package/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithAggregationInput.d.ts +0 -2
- 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 +0 -12
- package/generated/typegraphql-prisma/resolvers/inputs/ActionOrderByWithRelationInput.d.ts +0 -2
- 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 +0 -13
- package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereInput.d.ts +0 -3
- 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 +0 -13
- package/generated/typegraphql-prisma/resolvers/inputs/ActionScalarWhereWithAggregatesInput.d.ts +0 -3
- 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 +0 -14
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateInput.d.ts +0 -4
- 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 +0 -14
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateManyMutationInput.d.ts +0 -4
- 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 +0 -14
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutOrderInput.d.ts +0 -4
- 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 +0 -14
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdateWithoutTradeInput.d.ts +0 -4
- 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 +0 -13
- package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereInput.d.ts +0 -3
- 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 +0 -13
- package/generated/typegraphql-prisma/resolvers/inputs/ActionWhereUniqueInput.d.ts +0 -3
- 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/inputs/index.cjs +18 -26
- package/generated/typegraphql-prisma/resolvers/inputs/index.d.ts +0 -4
- package/generated/typegraphql-prisma/resolvers/inputs/index.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/index.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/ActionCountAggregate.cjs +0 -12
- package/generated/typegraphql-prisma/resolvers/outputs/ActionCountAggregate.d.ts +0 -2
- 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 +0 -12
- package/generated/typegraphql-prisma/resolvers/outputs/ActionGroupBy.d.ts +0 -2
- 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/CreateManyAndReturnAction.cjs +0 -12
- package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnAction.d.ts +0 -2
- 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/TradeRelationsResolver.cjs +1 -1
- package/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.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/index.cjs +1 -1
- package/package.json +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreatedependedOnByInput.d.ts +0 -4
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreatedependedOnByInput.d.ts.map +0 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreatedependedOnByInput.js.map +0 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreatedependedOnByInput.mjs +0 -24
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreatedependsOnInput.d.ts +0 -4
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreatedependsOnInput.d.ts.map +0 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreatedependsOnInput.js.map +0 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionCreatedependsOnInput.mjs +0 -24
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdatedependedOnByInput.d.ts +0 -5
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdatedependedOnByInput.d.ts.map +0 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdatedependedOnByInput.js.map +0 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdatedependedOnByInput.mjs +0 -31
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdatedependsOnInput.d.ts +0 -5
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdatedependsOnInput.d.ts.map +0 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdatedependsOnInput.js.map +0 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/ActionUpdatedependsOnInput.mjs +0 -31
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreatedependedOnByInput.cjs +0 -59
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreatedependedOnByInput.d.ts +0 -4
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreatedependedOnByInput.d.ts.map +0 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreatedependedOnByInput.js.map +0 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreatedependsOnInput.cjs +0 -59
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreatedependsOnInput.d.ts +0 -4
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreatedependsOnInput.d.ts.map +0 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionCreatedependsOnInput.js.map +0 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdatedependedOnByInput.cjs +0 -65
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdatedependedOnByInput.d.ts +0 -5
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdatedependedOnByInput.d.ts.map +0 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdatedependedOnByInput.js.map +0 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdatedependsOnInput.cjs +0 -65
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdatedependsOnInput.d.ts +0 -5
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdatedependsOnInput.d.ts.map +0 -1
- package/generated/typegraphql-prisma/resolvers/inputs/ActionUpdatedependsOnInput.js.map +0 -1
package/esm/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.d.ts
CHANGED
@@ -7,6 +7,6 @@ export declare class TradeActionsArgs {
|
|
7
7
|
cursor?: ActionWhereUniqueInput | undefined;
|
8
8
|
take?: number | undefined;
|
9
9
|
skip?: number | undefined;
|
10
|
-
distinct?: Array<"id" | "sequence" | "tradeId" | "type" | "primary" | "note" | "status" | "fee" | "
|
10
|
+
distinct?: Array<"id" | "sequence" | "tradeId" | "type" | "primary" | "note" | "status" | "fee" | "createdAt" | "updatedAt"> | undefined;
|
11
11
|
}
|
12
12
|
//# sourceMappingURL=TradeActionsArgs.d.ts.map
|
package/esm/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TradeActionsArgs.d.ts","sourceRoot":"","sources":["../../../../../../../../src/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAGhF,qBACa,gBAAgB;IAI3B,KAAK,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAKrC,OAAO,CAAC,EAAE,8BAA8B,EAAE,GAAG,SAAS,CAAC;IAKvD,MAAM,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;IAK5C,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAK1B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAK1B,QAAQ,CAAC,EAAE,KAAK,CAAC,IAAI,GAAG,UAAU,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,GAAG,WAAW,GAAG,
|
1
|
+
{"version":3,"file":"TradeActionsArgs.d.ts","sourceRoot":"","sources":["../../../../../../../../src/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAGhF,qBACa,gBAAgB;IAI3B,KAAK,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAKrC,OAAO,CAAC,EAAE,8BAA8B,EAAE,GAAG,SAAS,CAAC;IAKvD,MAAM,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;IAK5C,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAK1B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAK1B,QAAQ,CAAC,EAAE,KAAK,CAAC,IAAI,GAAG,UAAU,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,GAAG,WAAW,GAAG,WAAW,CAAC,GAAG,SAAS,CAAC;CAC1I"}
|
package/esm/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TradeActionsArgs.js","sourceRoot":"","sources":["../../../../../../../../src/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,KAAK,WAAW,MAAM,cAAc,CAAC;AAE5C,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAGzE,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAI3B,KAAK,CAAgC;IAKrC,OAAO,CAAgD;IAKvD,MAAM,CAAsC;IAK5C,IAAI,CAAsB;IAK1B,IAAI,CAAsB;IAK1B,QAAQ,
|
1
|
+
{"version":3,"file":"TradeActionsArgs.js","sourceRoot":"","sources":["../../../../../../../../src/generated/typegraphql-prisma/resolvers/relations/Trade/args/TradeActionsArgs.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,KAAK,WAAW,MAAM,cAAc,CAAC;AAE5C,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAGzE,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAI3B,KAAK,CAAgC;IAKrC,OAAO,CAAgD;IAKvD,MAAM,CAAsC;IAK5C,IAAI,CAAsB;IAK1B,IAAI,CAAsB;IAK1B,QAAQ,CAAiI;CAC1I,CAAA;AA1BC;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,gBAAgB,EAAE;QAC5C,QAAQ,EAAE,IAAI;KACf,CAAC;;+CACmC;AAKrC;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,8BAA8B,CAAC,EAAE;QAC5D,QAAQ,EAAE,IAAI;KACf,CAAC;;iDACqD;AAKvD;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,sBAAsB,EAAE;QAClD,QAAQ,EAAE,IAAI;KACf,CAAC;;gDAC0C;AAK5C;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE;QAC3C,QAAQ,EAAE,IAAI;KACf,CAAC;;8CACwB;AAK1B;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE;QAC3C,QAAQ,EAAE,IAAI;KACf,CAAC;;8CACwB;AAK1B;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,qBAAqB,CAAC,EAAE;QACnD,QAAQ,EAAE,IAAI;KACf,CAAC;;kDACuI;AA7B9H,gBAAgB;IAD5B,WAAW,CAAC,QAAQ,EAAE;GACV,gBAAgB,CA8B5B"}
|
@@ -43,10 +43,6 @@ export type Action = {
|
|
43
43
|
// For option orders. Type of option contract ('CALL' or 'PUT'). Required only when 'asset.type' is 'OPTION'.
|
44
44
|
optionType?: OptionType;
|
45
45
|
};
|
46
|
-
// A list of action sequence numbers, for any sibling actions that are part of the same trade, that this action depends on.
|
47
|
-
dependsOn: string[];
|
48
|
-
// A list of action sequence numbers, for any sibling actions that depend on this action.
|
49
|
-
dependedOnBy: string[];
|
50
46
|
};
|
51
47
|
|
52
48
|
enum ActionType {
|
@@ -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 // 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 // For option orders. Strike price for option orders. Required only when 'asset.type' is 'OPTION'. Must be a positive number.\n strikePrice?: number;\n // For option orders. Expiration date for option orders. Required only when 'asset.type' is 'OPTION'. Must be a valid date in the future.\n expirationDate?: Date;\n // For option orders. Type of option contract ('CALL' or 'PUT'). Required only when 'asset.type' is 'OPTION'.\n optionType?: OptionType;\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 // For option orders. Strike price for option orders. Required only when 'asset.type' is 'OPTION'. Must be a positive number.\n strikePrice?: number;\n // For option orders. Expiration date for option orders. Required only when 'asset.type' is 'OPTION'. Must be a valid date in the future.\n expirationDate?: Date;\n // For option orders. Type of option contract ('CALL' or 'PUT'). Required only when 'asset.type' is 'OPTION'.\n optionType?: OptionType;\n };\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,ulGA8J5B,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8J/B,CAAC"}
|
@@ -68,10 +68,6 @@ export type Trade = {
|
|
68
68
|
// For option orders. Type of option contract ('CALL' or 'PUT'). Required only when 'asset.type' is 'OPTION'.
|
69
69
|
optionType?: OptionType;
|
70
70
|
};
|
71
|
-
// A list of action sequence numbers, for any sibling actions that are part of the same trade, that this action depends on.
|
72
|
-
dependsOn: string[];
|
73
|
-
// A list of action sequence numbers, for any sibling actions that depend on this action.
|
74
|
-
dependedOnBy: string[];
|
75
71
|
}[];
|
76
72
|
};
|
77
73
|
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const TradeTypeString = "\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 // For option orders. Strike price for option orders. Required only when 'asset.type' is 'OPTION'. Must be a positive number.\n strikePrice?: number;\n // For option orders. Expiration date for option orders. Required only when 'asset.type' is 'OPTION'. Must be a valid date in the future.\n expirationDate?: Date;\n // For option orders. Type of option contract ('CALL' or 'PUT'). Required only when 'asset.type' is 'OPTION'.\n optionType?: OptionType;\n };\n
|
1
|
+
export declare const TradeTypeString = "\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 // For option orders. Strike price for option orders. Required only when 'asset.type' is 'OPTION'. Must be a positive number.\n strikePrice?: number;\n // For option orders. Expiration date for option orders. Required only when 'asset.type' is 'OPTION'. Must be a valid date in the future.\n expirationDate?: Date;\n // For option orders. Type of option contract ('CALL' or 'PUT'). Required only when 'asset.type' is 'OPTION'.\n optionType?: OptionType;\n };\n }[];\n};\n\nenum OptionType {\n CALL\n\n PUT\n}\n\nenum TradeSignal {\n GOLDEN_CROSS\n\n DEATH_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 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 STOCHASTIC_OVERSOLD\n\n STOCHASTIC_OVERBOUGHT\n\n PIVOT_POINT\n\n VOLUME_SURGE\n\n MEAN_REVERSION_LEVEL\n\n NEWS_SENTIMENT_CHANGE\n\n SENTIMENT_ANALYSIS_TRIGGER\n\n GAP_AND_GO_LONG\n\n GAP_AND_GO_SHORT\n\n GAP_FADE_LONG\n\n GAP_FADE_SHORT\n\n ORB_BREAKOUT\n\n ORB_BREAKDOWN\n\n VWAP_BOUNCE\n\n VWAP_REJECTION\n\n NO_EARLY_SIGNAL\n\n NO_SIGNAL\n}\n\nenum TradeStrategy {\n TECHNICAL_ANALYSIS\n\n TREND_FOLLOWING\n\n MEAN_REVERSION\n\n MOMENTUM_STRATEGY\n\n NEWS_BASED_STRATEGY\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";
|
2
2
|
//# sourceMappingURL=Trade.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Trade.d.ts","sourceRoot":"","sources":["../../../src/generated/typeStrings/Trade.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,
|
1
|
+
{"version":3,"file":"Trade.d.ts","sourceRoot":"","sources":["../../../src/generated/typeStrings/Trade.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,00KA0U3B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Trade.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/Trade.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG
|
1
|
+
{"version":3,"file":"Trade.js","sourceRoot":"","sources":["../../../src/generated/typeStrings/Trade.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0U9B,CAAC"}
|
@@ -11,8 +11,8 @@ export declare const typeStrings: {
|
|
11
11
|
readonly asset: "\n// Your response should adhere to the following type definition for the \"Asset\" 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 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\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\n";
|
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 // For option orders. Strike price for option orders. Required only when 'asset.type' is 'OPTION'. Must be a positive number.\n strikePrice?: number;\n // For option orders. Expiration date for option orders. Required only when 'asset.type' is 'OPTION'. Must be a valid date in the future.\n expirationDate?: Date;\n // Timestamp when the order expired.\n expiredAt?: Date;\n // Timestamp when the order failed.\n failedAt?: Date;\n // Timestamp when the order was replaced by another order.\n replacedAt?: Date;\n // ID of the Alpaca Order that replaced this order (if any).\n replacedBy?: string;\n // ID of the Alpaca Order that this order replaced (if any).\n replaces?: string;\n // The \"position_intent\" from Alpaca (e.g. \"sell_to_close\", \"sell_to_open\", \"buy_to_close\", etc.).\n positionIntent?: string;\n // A JSON representation of any sub-legs associated with advanced orders (if Alpaca provides them).\n legs?: any;\n // High-water mark, used for trailing-stop logic.\n hwm?: number;\n // Subtag from Alpaca (if provided).\n subtag?: string;\n // Source of the order, e.g. \"access_key\", \"manual\", etc.\n source?: string;\n // Time at which this order will expire (different from option expirationDate).\n expiresAt?: Date;\n // For option orders. Type of option contract ('CALL' or 'PUT'). Required only 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 // For option orders. Strike price for option orders. Required only when 'asset.type' is 'OPTION'. Must be a positive number.\n strikePrice?: number;\n // For option orders. Expiration date for option orders. Required only when 'asset.type' is 'OPTION'. Must be a valid date in the future.\n expirationDate?: Date;\n // Timestamp when the order expired.\n expiredAt?: Date;\n // Timestamp when the order failed.\n failedAt?: Date;\n // Timestamp when the order was replaced by another order.\n replacedAt?: Date;\n // ID of the Alpaca Order that replaced this order (if any).\n replacedBy?: string;\n // ID of the Alpaca Order that this order replaced (if any).\n replaces?: string;\n // The \"position_intent\" from Alpaca (e.g. \"sell_to_close\", \"sell_to_open\", \"buy_to_close\", etc.).\n positionIntent?: string;\n // A JSON representation of any sub-legs associated with advanced orders (if Alpaca provides them).\n legs?: any;\n // High-water mark, used for trailing-stop logic.\n hwm?: number;\n // Subtag from Alpaca (if provided).\n subtag?: string;\n // Source of the order, e.g. \"access_key\", \"manual\", etc.\n source?: string;\n // Time at which this order will expire (different from option expirationDate).\n expiresAt?: Date;\n // For option orders. Type of option contract ('CALL' or 'PUT'). Required only 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
|
-
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 // For option orders. Strike price for option orders. Required only when 'asset.type' is 'OPTION'. Must be a positive number.\n strikePrice?: number;\n // For option orders. Expiration date for option orders. Required only when 'asset.type' is 'OPTION'. Must be a valid date in the future.\n expirationDate?: Date;\n // For option orders. Type of option contract ('CALL' or 'PUT'). Required only when 'asset.type' is 'OPTION'.\n optionType?: OptionType;\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 // For option orders. Strike price for option orders. Required only when 'asset.type' is 'OPTION'. Must be a positive number.\n strikePrice?: number;\n // For option orders. Expiration date for option orders. Required only when 'asset.type' is 'OPTION'. Must be a valid date in the future.\n expirationDate?: Date;\n // For option orders. Type of option contract ('CALL' or 'PUT'). Required only when 'asset.type' is 'OPTION'.\n optionType?: OptionType;\n };\n
|
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 // For option orders. Strike price for option orders. Required only when 'asset.type' is 'OPTION'. Must be a positive number.\n strikePrice?: number;\n // For option orders. Expiration date for option orders. Required only when 'asset.type' is 'OPTION'. Must be a valid date in the future.\n expirationDate?: Date;\n // For option orders. Type of option contract ('CALL' or 'PUT'). Required only when 'asset.type' is 'OPTION'.\n optionType?: OptionType;\n };\n }[];\n};\n\nenum OptionType {\n CALL\n\n PUT\n}\n\nenum TradeSignal {\n GOLDEN_CROSS\n\n DEATH_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 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 STOCHASTIC_OVERSOLD\n\n STOCHASTIC_OVERBOUGHT\n\n PIVOT_POINT\n\n VOLUME_SURGE\n\n MEAN_REVERSION_LEVEL\n\n NEWS_SENTIMENT_CHANGE\n\n SENTIMENT_ANALYSIS_TRIGGER\n\n GAP_AND_GO_LONG\n\n GAP_AND_GO_SHORT\n\n GAP_FADE_LONG\n\n GAP_FADE_SHORT\n\n ORB_BREAKOUT\n\n ORB_BREAKDOWN\n\n VWAP_BOUNCE\n\n VWAP_REJECTION\n\n NO_EARLY_SIGNAL\n\n NO_SIGNAL\n}\n\nenum TradeStrategy {\n TECHNICAL_ANALYSIS\n\n TREND_FOLLOWING\n\n MEAN_REVERSION\n\n MOMENTUM_STRATEGY\n\n NEWS_BASED_STRATEGY\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 // 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 // For option orders. Strike price for option orders. Required only when 'asset.type' is 'OPTION'. Must be a positive number.\n strikePrice?: number;\n // For option orders. Expiration date for option orders. Required only when 'asset.type' is 'OPTION'. Must be a valid date in the future.\n expirationDate?: Date;\n // For option orders. Type of option contract ('CALL' or 'PUT'). Required only when 'asset.type' is 'OPTION'.\n optionType?: OptionType;\n };\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 // For option orders. Strike price for option orders. Required only when 'asset.type' is 'OPTION'. Must be a positive number.\n strikePrice?: number;\n // For option orders. Expiration date for option orders. Required only when 'asset.type' is 'OPTION'. Must be a valid date in the future.\n expirationDate?: Date;\n // Timestamp when the order expired.\n expiredAt?: Date;\n // Timestamp when the order failed.\n failedAt?: Date;\n // Timestamp when the order was replaced by another order.\n replacedAt?: Date;\n // ID of the Alpaca Order that replaced this order (if any).\n replacedBy?: string;\n // ID of the Alpaca Order that this order replaced (if any).\n replaces?: string;\n // The \"position_intent\" from Alpaca (e.g. \"sell_to_close\", \"sell_to_open\", \"buy_to_close\", etc.).\n positionIntent?: string;\n // A JSON representation of any sub-legs associated with advanced orders (if Alpaca provides them).\n legs?: any;\n // High-water mark, used for trailing-stop logic.\n hwm?: number;\n // Subtag from Alpaca (if provided).\n subtag?: string;\n // Source of the order, e.g. \"access_key\", \"manual\", etc.\n source?: string;\n // Time at which this order will expire (different from option expirationDate).\n expiresAt?: Date;\n // For option orders. Type of option contract ('CALL' or 'PUT'). Required only 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", "primary", "note", "status", "fee", "
|
942
|
+
Action: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "createdAt", "updatedAt"],
|
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", "expiredAt", "failedAt", "replacedAt", "replacedBy", "replaces", "positionIntent", "legs", "hwm", "subtag", "source", "expiresAt", "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", "primary", "note", "status", "fee", "
|
989
|
+
ActionGroupBy: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "createdAt", "updatedAt", "_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", "expiredAt", "failedAt", "replacedAt", "replacedBy", "replaces", "positionIntent", "legs", "hwm", "subtag", "source", "expiresAt", "optionType", "stopLossId", "takeProfitId", "contractId", "_count", "_avg", "_sum", "_min", "_max"],
|
992
992
|
AggregateStopLoss: ["_count", "_avg", "_sum", "_min", "_max"],
|
@@ -1069,7 +1069,7 @@ 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", "primary", "note", "status", "fee", "
|
1072
|
+
ActionCountAggregate: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "createdAt", "updatedAt", "_all"],
|
1073
1073
|
ActionAvgAggregate: ["sequence", "fee"],
|
1074
1074
|
ActionSumAggregate: ["sequence", "fee"],
|
1075
1075
|
ActionMinAggregate: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "createdAt", "updatedAt"],
|
@@ -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", "primary", "note", "status", "fee", "
|
1121
|
+
CreateManyAndReturnAction: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "createdAt", "updatedAt", "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", "expiredAt", "failedAt", "replacedAt", "replacedBy", "replaces", "positionIntent", "legs", "hwm", "subtag", "source", "expiresAt", "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", "primary", "note", "status", "fee", "
|
1207
|
-
ActionOrderByWithRelationInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "
|
1208
|
-
ActionWhereUniqueInput: ["id", "AND", "OR", "NOT", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "
|
1209
|
-
ActionOrderByWithAggregationInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "
|
1210
|
-
ActionScalarWhereWithAggregatesInput: ["AND", "OR", "NOT", "id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "
|
1206
|
+
ActionWhereInput: ["AND", "OR", "NOT", "id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "createdAt", "updatedAt", "trade", "order"],
|
1207
|
+
ActionOrderByWithRelationInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "createdAt", "updatedAt", "trade", "order"],
|
1208
|
+
ActionWhereUniqueInput: ["id", "AND", "OR", "NOT", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "createdAt", "updatedAt", "trade", "order"],
|
1209
|
+
ActionOrderByWithAggregationInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "createdAt", "updatedAt", "_count", "_avg", "_max", "_min", "_sum"],
|
1210
|
+
ActionScalarWhereWithAggregatesInput: ["AND", "OR", "NOT", "id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "createdAt", "updatedAt"],
|
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", "expiredAt", "failedAt", "replacedAt", "replacedBy", "replaces", "positionIntent", "legs", "hwm", "subtag", "source", "expiresAt", "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", "expiredAt", "failedAt", "replacedAt", "replacedBy", "replaces", "positionIntent", "legs", "hwm", "subtag", "source", "expiresAt", "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", "expiredAt", "failedAt", "replacedAt", "replacedBy", "replaces", "positionIntent", "legs", "hwm", "subtag", "source", "expiresAt", "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", "primary", "note", "status", "fee", "
|
1304
|
-
ActionUpdateInput: ["id", "sequence", "type", "primary", "note", "status", "fee", "
|
1305
|
-
ActionCreateManyInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "
|
1306
|
-
ActionUpdateManyMutationInput: ["id", "sequence", "type", "primary", "note", "status", "fee", "
|
1303
|
+
ActionCreateInput: ["id", "sequence", "type", "primary", "note", "status", "fee", "createdAt", "updatedAt", "trade", "order"],
|
1304
|
+
ActionUpdateInput: ["id", "sequence", "type", "primary", "note", "status", "fee", "createdAt", "updatedAt", "trade", "order"],
|
1305
|
+
ActionCreateManyInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "createdAt", "updatedAt"],
|
1306
|
+
ActionUpdateManyMutationInput: ["id", "sequence", "type", "primary", "note", "status", "fee", "createdAt", "updatedAt"],
|
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", "expiredAt", "failedAt", "replacedAt", "replacedBy", "replaces", "positionIntent", "legs", "hwm", "subtag", "source", "expiresAt", "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", "expiredAt", "failedAt", "replacedAt", "replacedBy", "replaces", "positionIntent", "legs", "hwm", "subtag", "source", "expiresAt", "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", "expiredAt", "failedAt", "replacedAt", "replacedBy", "replaces", "positionIntent", "legs", "hwm", "subtag", "source", "expiresAt", "optionType", "stopLossId", "takeProfitId", "contractId"],
|
@@ -1486,9 +1486,8 @@ const inputsInfo = {
|
|
1486
1486
|
EnumTradeStatusWithAggregatesFilter: ["equals", "in", "notIn", "not", "_count", "_min", "_max"],
|
1487
1487
|
EnumActionTypeFilter: ["equals", "in", "notIn", "not"],
|
1488
1488
|
EnumActionStatusFilter: ["equals", "in", "notIn", "not"],
|
1489
|
-
StringNullableListFilter: ["equals", "has", "hasEvery", "hasSome", "isEmpty"],
|
1490
1489
|
TradeRelationFilter: ["is", "isNot"],
|
1491
|
-
ActionCountOrderByAggregateInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "
|
1490
|
+
ActionCountOrderByAggregateInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "createdAt", "updatedAt"],
|
1492
1491
|
ActionAvgOrderByAggregateInput: ["sequence", "fee"],
|
1493
1492
|
ActionMaxOrderByAggregateInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "createdAt", "updatedAt"],
|
1494
1493
|
ActionMinOrderByAggregateInput: ["id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "createdAt", "updatedAt"],
|
@@ -1530,6 +1529,7 @@ const inputsInfo = {
|
|
1530
1529
|
AlertMaxOrderByAggregateInput: ["id", "alpacaAccountId", "message", "type", "isRead", "createdAt", "updatedAt"],
|
1531
1530
|
AlertMinOrderByAggregateInput: ["id", "alpacaAccountId", "message", "type", "isRead", "createdAt", "updatedAt"],
|
1532
1531
|
EnumAlertTypeWithAggregatesFilter: ["equals", "in", "notIn", "not", "_count", "_min", "_max"],
|
1532
|
+
StringNullableListFilter: ["equals", "has", "hasEvery", "hasSome", "isEmpty"],
|
1533
1533
|
NewsArticleCountOrderByAggregateInput: ["id", "title", "content", "source", "sourceDomain", "url", "sentiment", "authors", "summary", "bannerImage", "timePublished", "category", "topics", "logo", "createdAt", "updatedAt"],
|
1534
1534
|
NewsArticleMaxOrderByAggregateInput: ["id", "title", "content", "source", "sourceDomain", "url", "sentiment", "summary", "bannerImage", "timePublished", "category", "logo", "createdAt", "updatedAt"],
|
1535
1535
|
NewsArticleMinOrderByAggregateInput: ["id", "title", "content", "source", "sourceDomain", "url", "sentiment", "summary", "bannerImage", "timePublished", "category", "logo", "createdAt", "updatedAt"],
|
@@ -1628,14 +1628,10 @@ const inputsInfo = {
|
|
1628
1628
|
AlpacaAccountUpdateOneRequiredWithoutTradesNestedInput: ["create", "connectOrCreate", "upsert", "connect", "update"],
|
1629
1629
|
AssetUpdateOneWithoutTradesNestedInput: ["create", "connectOrCreate", "upsert", "disconnect", "delete", "connect", "update"],
|
1630
1630
|
ActionUpdateManyWithoutTradeNestedInput: ["create", "connectOrCreate", "upsert", "createMany", "set", "disconnect", "delete", "connect", "update", "updateMany", "deleteMany"],
|
1631
|
-
ActionCreatedependsOnInput: ["set"],
|
1632
|
-
ActionCreatedependedOnByInput: ["set"],
|
1633
1631
|
TradeCreateNestedOneWithoutActionsInput: ["create", "connectOrCreate", "connect"],
|
1634
1632
|
OrderCreateNestedOneWithoutActionInput: ["create", "connectOrCreate", "connect"],
|
1635
1633
|
EnumActionTypeFieldUpdateOperationsInput: ["set"],
|
1636
1634
|
EnumActionStatusFieldUpdateOperationsInput: ["set"],
|
1637
|
-
ActionUpdatedependsOnInput: ["set", "push"],
|
1638
|
-
ActionUpdatedependedOnByInput: ["set", "push"],
|
1639
1635
|
TradeUpdateOneRequiredWithoutActionsNestedInput: ["create", "connectOrCreate", "upsert", "connect", "update"],
|
1640
1636
|
OrderUpdateOneWithoutActionNestedInput: ["create", "connectOrCreate", "upsert", "disconnect", "delete", "connect", "update"],
|
1641
1637
|
StopLossCreateNestedOneWithoutOrderInput: ["create", "connectOrCreate", "connect"],
|
@@ -1902,7 +1898,7 @@ const inputsInfo = {
|
|
1902
1898
|
AlpacaAccountCreateOrConnectWithoutTradesInput: ["where", "create"],
|
1903
1899
|
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"],
|
1904
1900
|
AssetCreateOrConnectWithoutTradesInput: ["where", "create"],
|
1905
|
-
ActionCreateWithoutTradeInput: ["id", "sequence", "type", "primary", "note", "status", "fee", "
|
1901
|
+
ActionCreateWithoutTradeInput: ["id", "sequence", "type", "primary", "note", "status", "fee", "createdAt", "updatedAt", "order"],
|
1906
1902
|
ActionCreateOrConnectWithoutTradeInput: ["where", "create"],
|
1907
1903
|
ActionCreateManyTradeInputEnvelope: ["data", "skipDuplicates"],
|
1908
1904
|
AlpacaAccountUpsertWithoutTradesInput: ["update", "create", "where"],
|
@@ -1914,7 +1910,7 @@ const inputsInfo = {
|
|
1914
1910
|
ActionUpsertWithWhereUniqueWithoutTradeInput: ["where", "update", "create"],
|
1915
1911
|
ActionUpdateWithWhereUniqueWithoutTradeInput: ["where", "data"],
|
1916
1912
|
ActionUpdateManyWithWhereWithoutTradeInput: ["where", "data"],
|
1917
|
-
ActionScalarWhereInput: ["AND", "OR", "NOT", "id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "
|
1913
|
+
ActionScalarWhereInput: ["AND", "OR", "NOT", "id", "sequence", "tradeId", "type", "primary", "note", "status", "fee", "createdAt", "updatedAt"],
|
1918
1914
|
TradeCreateWithoutActionsInput: ["id", "qty", "price", "total", "optionType", "signal", "strategy", "analysis", "summary", "confidence", "timestamp", "createdAt", "updatedAt", "status", "alpacaAccount", "asset"],
|
1919
1915
|
TradeCreateOrConnectWithoutActionsInput: ["where", "create"],
|
1920
1916
|
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", "expiredAt", "failedAt", "replacedAt", "replacedBy", "replaces", "positionIntent", "legs", "hwm", "subtag", "source", "expiresAt", "optionType", "stopLossId", "takeProfitId", "stopLoss", "takeProfit", "alpacaAccount", "asset", "contract"],
|
@@ -1931,7 +1927,7 @@ const inputsInfo = {
|
|
1931
1927
|
TakeProfitCreateOrConnectWithoutOrderInput: ["where", "create"],
|
1932
1928
|
AlpacaAccountCreateWithoutOrdersInput: ["id", "type", "APIKey", "APISecret", "configuration", "marketOpen", "realTime", "minOrderSize", "maxOrderSize", "minPercentageChange", "volumeThreshold", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "createdAt", "updatedAt", "user", "trades", "positions", "alerts"],
|
1933
1929
|
AlpacaAccountCreateOrConnectWithoutOrdersInput: ["where", "create"],
|
1934
|
-
ActionCreateWithoutOrderInput: ["id", "sequence", "type", "primary", "note", "status", "fee", "
|
1930
|
+
ActionCreateWithoutOrderInput: ["id", "sequence", "type", "primary", "note", "status", "fee", "createdAt", "updatedAt", "trade"],
|
1935
1931
|
ActionCreateOrConnectWithoutOrderInput: ["where", "create"],
|
1936
1932
|
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"],
|
1937
1933
|
AssetCreateOrConnectWithoutOrdersInput: ["where", "create"],
|
@@ -1948,7 +1944,7 @@ const inputsInfo = {
|
|
1948
1944
|
AlpacaAccountUpdateWithoutOrdersInput: ["id", "type", "APIKey", "APISecret", "configuration", "marketOpen", "realTime", "minOrderSize", "maxOrderSize", "minPercentageChange", "volumeThreshold", "enablePortfolioTrailingStop", "portfolioTrailPercent", "portfolioProfitThresholdPercent", "reducedPortfolioTrailPercent", "createdAt", "updatedAt", "user", "trades", "positions", "alerts"],
|
1949
1945
|
ActionUpsertWithoutOrderInput: ["update", "create", "where"],
|
1950
1946
|
ActionUpdateToOneWithWhereWithoutOrderInput: ["where", "data"],
|
1951
|
-
ActionUpdateWithoutOrderInput: ["id", "sequence", "type", "primary", "note", "status", "fee", "
|
1947
|
+
ActionUpdateWithoutOrderInput: ["id", "sequence", "type", "primary", "note", "status", "fee", "createdAt", "updatedAt", "trade"],
|
1952
1948
|
AssetUpsertWithoutOrdersInput: ["update", "create", "where"],
|
1953
1949
|
AssetUpdateToOneWithWhereWithoutOrdersInput: ["where", "data"],
|
1954
1950
|
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"],
|
@@ -2016,8 +2012,8 @@ const inputsInfo = {
|
|
2016
2012
|
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"],
|
2017
2013
|
DeliverableCreateManyContractInput: ["id", "type", "symbol", "assetId", "amount", "allocationPercentage", "settlementType", "settlementMethod", "delayedSettlement", "createdAt", "updatedAt"],
|
2018
2014
|
DeliverableUpdateWithoutContractInput: ["id", "type", "symbol", "assetId", "amount", "allocationPercentage", "settlementType", "settlementMethod", "delayedSettlement", "createdAt", "updatedAt"],
|
2019
|
-
ActionCreateManyTradeInput: ["id", "sequence", "type", "primary", "note", "status", "fee", "
|
2020
|
-
ActionUpdateWithoutTradeInput: ["id", "sequence", "type", "primary", "note", "status", "fee", "
|
2015
|
+
ActionCreateManyTradeInput: ["id", "sequence", "type", "primary", "note", "status", "fee", "createdAt", "updatedAt"],
|
2016
|
+
ActionUpdateWithoutTradeInput: ["id", "sequence", "type", "primary", "note", "status", "fee", "createdAt", "updatedAt", "order"],
|
2021
2017
|
NewsArticleAssetSentimentCreateManyNewsInput: ["id", "assetId", "url", "relevancyScore", "sentimentScore", "sentimentLabel"],
|
2022
2018
|
NewsArticleAssetSentimentUpdateWithoutNewsInput: ["id", "url", "relevancyScore", "sentimentScore", "sentimentLabel", "asset"]
|
2023
2019
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enhance.d.ts","sourceRoot":"","sources":["../../../src/generated/typegraphql-prisma/enhance.ts"],"names":[],"mappings":"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
|
1
|
+
{"version":3,"file":"enhance.d.ts","sourceRoot":"","sources":["../../../src/generated/typegraphql-prisma/enhance.ts"],"names":[],"mappings":"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"}
|