adaptic-backend 1.0.145 → 1.0.146

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/Order.cjs +9299 -1403
  2. package/Position.cjs +35096 -17996
  3. package/Trade.cjs +9034 -16
  4. package/User.cjs +4602 -0
  5. package/generated/selectionSets/Order.cjs +1483 -167
  6. package/generated/selectionSets/Order.d.ts +1 -1
  7. package/generated/selectionSets/Order.d.ts.map +1 -1
  8. package/generated/selectionSets/Order.js.map +1 -1
  9. package/generated/selectionSets/Position.cjs +3820 -970
  10. package/generated/selectionSets/Position.d.ts +1 -1
  11. package/generated/selectionSets/Position.d.ts.map +1 -1
  12. package/generated/selectionSets/Position.js.map +1 -1
  13. package/generated/selectionSets/Trade.cjs +1503 -0
  14. package/generated/selectionSets/Trade.d.ts +1 -1
  15. package/generated/selectionSets/Trade.d.ts.map +1 -1
  16. package/generated/selectionSets/Trade.js.map +1 -1
  17. package/generated/selectionSets/User.cjs +795 -28
  18. package/generated/selectionSets/User.d.ts +1 -1
  19. package/generated/selectionSets/User.d.ts.map +1 -1
  20. package/generated/selectionSets/User.js.map +1 -1
  21. package/generated/typeStrings/Account.cjs +1 -1
  22. package/generated/typeStrings/Account.d.ts +1 -1
  23. package/generated/typeStrings/Account.d.ts.map +1 -1
  24. package/generated/typeStrings/Alert.cjs +1 -1
  25. package/generated/typeStrings/Alert.d.ts +1 -1
  26. package/generated/typeStrings/Alert.d.ts.map +1 -1
  27. package/generated/typeStrings/AlpacaAccount.cjs +3 -3
  28. package/generated/typeStrings/AlpacaAccount.d.ts +1 -1
  29. package/generated/typeStrings/AlpacaAccount.d.ts.map +1 -1
  30. package/generated/typeStrings/Asset.cjs +3 -3
  31. package/generated/typeStrings/Asset.d.ts +1 -1
  32. package/generated/typeStrings/Asset.d.ts.map +1 -1
  33. package/generated/typeStrings/Authenticator.cjs +1 -1
  34. package/generated/typeStrings/Authenticator.d.ts +1 -1
  35. package/generated/typeStrings/Authenticator.d.ts.map +1 -1
  36. package/generated/typeStrings/Customer.cjs +1 -1
  37. package/generated/typeStrings/Customer.d.ts +1 -1
  38. package/generated/typeStrings/Customer.d.ts.map +1 -1
  39. package/generated/typeStrings/NewsArticle.cjs +1 -1
  40. package/generated/typeStrings/NewsArticle.d.ts +1 -1
  41. package/generated/typeStrings/NewsArticle.d.ts.map +1 -1
  42. package/generated/typeStrings/NewsArticleAssetSentiment.cjs +1 -1
  43. package/generated/typeStrings/NewsArticleAssetSentiment.d.ts +1 -1
  44. package/generated/typeStrings/NewsArticleAssetSentiment.d.ts.map +1 -1
  45. package/generated/typeStrings/Order.cjs +2 -2
  46. package/generated/typeStrings/Order.d.ts +1 -1
  47. package/generated/typeStrings/Order.d.ts.map +1 -1
  48. package/generated/typeStrings/Position.cjs +2 -2
  49. package/generated/typeStrings/Position.d.ts +1 -1
  50. package/generated/typeStrings/Position.d.ts.map +1 -1
  51. package/generated/typeStrings/Session.cjs +1 -1
  52. package/generated/typeStrings/Session.d.ts +1 -1
  53. package/generated/typeStrings/Session.d.ts.map +1 -1
  54. package/generated/typeStrings/StopLoss.cjs +2 -2
  55. package/generated/typeStrings/StopLoss.d.ts +1 -1
  56. package/generated/typeStrings/StopLoss.d.ts.map +1 -1
  57. package/generated/typeStrings/TakeProfit.cjs +2 -2
  58. package/generated/typeStrings/TakeProfit.d.ts +1 -1
  59. package/generated/typeStrings/TakeProfit.d.ts.map +1 -1
  60. package/generated/typeStrings/Trade.cjs +1 -1
  61. package/generated/typeStrings/Trade.d.ts +1 -1
  62. package/generated/typeStrings/Trade.d.ts.map +1 -1
  63. package/generated/typeStrings/User.cjs +1 -1
  64. package/generated/typeStrings/User.d.ts +1 -1
  65. package/generated/typeStrings/User.d.ts.map +1 -1
  66. package/generated/typeStrings/index.d.ts +15 -15
  67. package/generated/typegraphql-prisma/models/Trade.d.ts +1 -1
  68. package/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.cjs +1 -1
  69. package/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.js.map +1 -1
  70. package/package.json +1 -1
  71. package/server/Order.d.ts.map +1 -1
  72. package/server/Order.js.map +1 -1
  73. package/server/Order.mjs +9299 -1403
  74. package/server/Position.d.ts.map +1 -1
  75. package/server/Position.js.map +1 -1
  76. package/server/Position.mjs +35788 -18688
  77. package/server/Trade.d.ts.map +1 -1
  78. package/server/Trade.js.map +1 -1
  79. package/server/Trade.mjs +9034 -16
  80. package/server/User.d.ts.map +1 -1
  81. package/server/User.js.map +1 -1
  82. package/server/User.mjs +4602 -0
  83. package/server/generated/selectionSets/Order.d.ts +1 -1
  84. package/server/generated/selectionSets/Order.d.ts.map +1 -1
  85. package/server/generated/selectionSets/Order.js.map +1 -1
  86. package/server/generated/selectionSets/Order.mjs +1483 -167
  87. package/server/generated/selectionSets/Position.d.ts +1 -1
  88. package/server/generated/selectionSets/Position.d.ts.map +1 -1
  89. package/server/generated/selectionSets/Position.js.map +1 -1
  90. package/server/generated/selectionSets/Position.mjs +3820 -970
  91. package/server/generated/selectionSets/Trade.d.ts +1 -1
  92. package/server/generated/selectionSets/Trade.d.ts.map +1 -1
  93. package/server/generated/selectionSets/Trade.js.map +1 -1
  94. package/server/generated/selectionSets/Trade.mjs +1503 -0
  95. package/server/generated/selectionSets/User.d.ts +1 -1
  96. package/server/generated/selectionSets/User.d.ts.map +1 -1
  97. package/server/generated/selectionSets/User.js.map +1 -1
  98. package/server/generated/selectionSets/User.mjs +795 -28
  99. package/server/generated/typeStrings/Account.d.ts +1 -1
  100. package/server/generated/typeStrings/Account.d.ts.map +1 -1
  101. package/server/generated/typeStrings/Account.mjs +1 -1
  102. package/server/generated/typeStrings/Alert.d.ts +1 -1
  103. package/server/generated/typeStrings/Alert.d.ts.map +1 -1
  104. package/server/generated/typeStrings/Alert.mjs +1 -1
  105. package/server/generated/typeStrings/AlpacaAccount.d.ts +1 -1
  106. package/server/generated/typeStrings/AlpacaAccount.d.ts.map +1 -1
  107. package/server/generated/typeStrings/AlpacaAccount.mjs +3 -3
  108. package/server/generated/typeStrings/Asset.d.ts +1 -1
  109. package/server/generated/typeStrings/Asset.d.ts.map +1 -1
  110. package/server/generated/typeStrings/Asset.mjs +3 -3
  111. package/server/generated/typeStrings/Authenticator.d.ts +1 -1
  112. package/server/generated/typeStrings/Authenticator.d.ts.map +1 -1
  113. package/server/generated/typeStrings/Authenticator.mjs +1 -1
  114. package/server/generated/typeStrings/Customer.d.ts +1 -1
  115. package/server/generated/typeStrings/Customer.d.ts.map +1 -1
  116. package/server/generated/typeStrings/Customer.mjs +1 -1
  117. package/server/generated/typeStrings/NewsArticle.d.ts +1 -1
  118. package/server/generated/typeStrings/NewsArticle.d.ts.map +1 -1
  119. package/server/generated/typeStrings/NewsArticle.mjs +1 -1
  120. package/server/generated/typeStrings/NewsArticleAssetSentiment.d.ts +1 -1
  121. package/server/generated/typeStrings/NewsArticleAssetSentiment.d.ts.map +1 -1
  122. package/server/generated/typeStrings/NewsArticleAssetSentiment.mjs +1 -1
  123. package/server/generated/typeStrings/Order.d.ts +1 -1
  124. package/server/generated/typeStrings/Order.d.ts.map +1 -1
  125. package/server/generated/typeStrings/Order.mjs +2 -2
  126. package/server/generated/typeStrings/Position.d.ts +1 -1
  127. package/server/generated/typeStrings/Position.d.ts.map +1 -1
  128. package/server/generated/typeStrings/Position.mjs +2 -2
  129. package/server/generated/typeStrings/Session.d.ts +1 -1
  130. package/server/generated/typeStrings/Session.d.ts.map +1 -1
  131. package/server/generated/typeStrings/Session.mjs +1 -1
  132. package/server/generated/typeStrings/StopLoss.d.ts +1 -1
  133. package/server/generated/typeStrings/StopLoss.d.ts.map +1 -1
  134. package/server/generated/typeStrings/StopLoss.mjs +2 -2
  135. package/server/generated/typeStrings/TakeProfit.d.ts +1 -1
  136. package/server/generated/typeStrings/TakeProfit.d.ts.map +1 -1
  137. package/server/generated/typeStrings/TakeProfit.mjs +2 -2
  138. package/server/generated/typeStrings/Trade.d.ts +1 -1
  139. package/server/generated/typeStrings/Trade.d.ts.map +1 -1
  140. package/server/generated/typeStrings/Trade.mjs +1 -1
  141. package/server/generated/typeStrings/User.d.ts +1 -1
  142. package/server/generated/typeStrings/User.d.ts.map +1 -1
  143. package/server/generated/typeStrings/User.mjs +1 -1
  144. package/server/generated/typeStrings/index.d.ts +15 -15
  145. package/server/generated/typegraphql-prisma/models/Trade.d.ts +1 -1
  146. package/server/generated/typegraphql-prisma/models/Trade.mjs +1 -1
  147. package/server/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.js.map +1 -1
  148. package/server/generated/typegraphql-prisma/resolvers/relations/Trade/TradeRelationsResolver.mjs +1 -1
@@ -250,145 +250,44 @@ exports.Position = `
250
250
  note
251
251
  status
252
252
  fee
253
- } }
254
- orders { id
255
- clientOrderId
256
- alpacaAccountId
257
- assetId
258
- qty
259
- notional
260
- side
261
- type
262
- orderClass
263
- timeInForce
264
- limitPrice
265
- stopPrice
266
- stopLoss {
267
- id
268
- stopPrice
269
- limitPrice
270
- createdAt
271
- updatedAt
272
- orderId
273
- }
274
- takeProfit {
275
- id
276
- limitPrice
277
- stopPrice
278
- createdAt
279
- updatedAt
280
- orderId
281
- }
282
- trailPrice
283
- trailPercent
284
- extendedHours
285
- status
286
- createdAt
287
- updatedAt
288
- submittedAt
289
- filledAt
290
- filledAvgPrice
291
- actionId
292
- alpacaAccount {
293
- id
294
- type
295
- APIKey
296
- APISecret
297
- configuration
298
- marketOpen
299
- minOrderSize
300
- maxOrderSize
301
- minPercentageChange
302
- volumeThreshold
303
- userId
304
- createdAt
305
- updatedAt
306
- alerts { id }
307
- }
308
- action {
309
- id
310
- sequence
311
- tradeId
312
- type
313
- note
314
- status
315
- fee
316
- }
317
- asset {
318
- id
319
- symbol
320
- name
321
- type
322
- logoUrl
323
- description
324
- cik
325
- exchange
326
- currency
327
- country
328
- sector
329
- industry
330
- address
331
- officialSite
332
- fiscalYearEnd
333
- latestQuarter
334
- marketCapitalization
335
- ebitda
336
- peRatio
337
- pegRatio
338
- bookValue
339
- dividendPerShare
340
- dividendYield
341
- eps
342
- revenuePerShareTTM
343
- profitMargin
344
- operatingMarginTTM
345
- returnOnAssetsTTM
346
- returnOnEquityTTM
347
- revenueTTM
348
- grossProfitTTM
349
- dilutedEPSTTM
350
- quarterlyEarningsGrowthYOY
351
- quarterlyRevenueGrowthYOY
352
- analystTargetPrice
353
- analystRatingStrongBuy
354
- analystRatingBuy
355
- analystRatingHold
356
- analystRatingSell
357
- analystRatingStrongSell
358
- trailingPE
359
- forwardPE
360
- priceToSalesRatioTTM
361
- priceToBookRatio
362
- evToRevenue
363
- evToEbitda
364
- beta
365
- week52High
366
- week52Low
367
- day50MovingAverage
368
- day200MovingAverage
369
- sharesOutstanding
370
- dividendDate
371
- exDividendDate
372
- askPrice
373
- bidPrice
374
- createdAt
375
- updatedAt
376
- trades { id
253
+ order { id
254
+ clientOrderId
377
255
  alpacaAccountId
378
256
  assetId
379
257
  qty
380
- price
381
- total
382
- optionType
383
- signal
384
- strategy
385
- analysis
386
- summary
387
- confidence
388
- timestamp
258
+ notional
259
+ side
260
+ type
261
+ orderClass
262
+ timeInForce
263
+ limitPrice
264
+ stopPrice
265
+ stopLoss {
266
+ id
267
+ stopPrice
268
+ limitPrice
269
+ createdAt
270
+ updatedAt
271
+ orderId
272
+ }
273
+ takeProfit {
274
+ id
275
+ limitPrice
276
+ stopPrice
277
+ createdAt
278
+ updatedAt
279
+ orderId
280
+ }
281
+ trailPrice
282
+ trailPercent
283
+ extendedHours
284
+ status
389
285
  createdAt
390
286
  updatedAt
391
- status
287
+ submittedAt
288
+ filledAt
289
+ filledAvgPrice
290
+ actionId
392
291
  alpacaAccount {
393
292
  id
394
293
  type
@@ -400,14 +299,19 @@ exports.Position = `
400
299
  maxOrderSize
401
300
  minPercentageChange
402
301
  volumeThreshold
403
- user { id }
404
302
  userId
405
303
  createdAt
406
304
  updatedAt
407
- trades { id }
408
- orders { id }
409
- positions { id }
410
305
  alerts { id }
306
+ }
307
+ action {
308
+ id
309
+ sequence
310
+ tradeId
311
+ type
312
+ note
313
+ status
314
+ fee
411
315
  }
412
316
  asset {
413
317
  id
@@ -468,258 +372,41 @@ exports.Position = `
468
372
  bidPrice
469
373
  createdAt
470
374
  updatedAt
471
- newsMentions { id
375
+ trades { id
376
+ alpacaAccountId
472
377
  assetId
473
- newsArticleId
474
- url
475
- news {
378
+ qty
379
+ price
380
+ total
381
+ optionType
382
+ signal
383
+ strategy
384
+ analysis
385
+ summary
386
+ confidence
387
+ timestamp
388
+ createdAt
389
+ updatedAt
390
+ status
391
+ alpacaAccount {
476
392
  id
477
- title
478
- content
479
- source
480
- sourceDomain
481
- url
482
- sentiment
483
- authors
484
- summary
485
- bannerImage
486
- timePublished
487
- category
488
- topics
489
- logo
393
+ type
394
+ APIKey
395
+ APISecret
396
+ configuration
397
+ marketOpen
398
+ minOrderSize
399
+ maxOrderSize
400
+ minPercentageChange
401
+ volumeThreshold
402
+ user { id }
403
+ userId
490
404
  createdAt
491
405
  updatedAt
492
- }
493
- asset {
494
- id
495
- symbol
496
- name
497
- type
498
- logoUrl
499
- description
500
- cik
501
- exchange
502
- currency
503
- country
504
- sector
505
- industry
506
- address
507
- officialSite
508
- fiscalYearEnd
509
- latestQuarter
510
- marketCapitalization
511
- ebitda
512
- peRatio
513
- pegRatio
514
- bookValue
515
- dividendPerShare
516
- dividendYield
517
- eps
518
- revenuePerShareTTM
519
- profitMargin
520
- operatingMarginTTM
521
- returnOnAssetsTTM
522
- returnOnEquityTTM
523
- revenueTTM
524
- grossProfitTTM
525
- dilutedEPSTTM
526
- quarterlyEarningsGrowthYOY
527
- quarterlyRevenueGrowthYOY
528
- analystTargetPrice
529
- analystRatingStrongBuy
530
- analystRatingBuy
531
- analystRatingHold
532
- analystRatingSell
533
- analystRatingStrongSell
534
- trailingPE
535
- forwardPE
536
- priceToSalesRatioTTM
537
- priceToBookRatio
538
- evToRevenue
539
- evToEbitda
540
- beta
541
- week52High
542
- week52Low
543
- day50MovingAverage
544
- day200MovingAverage
545
- sharesOutstanding
546
- dividendDate
547
- exDividendDate
548
- askPrice
549
- bidPrice
550
- createdAt
551
- updatedAt
552
- }
553
- relevancyScore
554
- sentimentScore
555
- sentimentLabel }
556
- }
557
- actions {
558
- id
559
- sequence
560
- tradeId
561
- type
562
- note
563
- status
564
- fee
565
- } }
566
- orders { id
567
- clientOrderId
568
- alpacaAccountId
569
- assetId
570
- qty
571
- notional
572
- side
573
- type
574
- orderClass
575
- timeInForce
576
- limitPrice
577
- stopPrice
578
- stopLoss {
579
- id
580
- stopPrice
581
- limitPrice
582
- createdAt
583
- updatedAt
584
- orderId
585
- }
586
- takeProfit {
587
- id
588
- limitPrice
589
- stopPrice
590
- createdAt
591
- updatedAt
592
- orderId
593
- }
594
- trailPrice
595
- trailPercent
596
- extendedHours
597
- status
598
- createdAt
599
- updatedAt
600
- submittedAt
601
- filledAt
602
- filledAvgPrice
603
- actionId
604
- alpacaAccount {
605
- id
606
- type
607
- APIKey
608
- APISecret
609
- configuration
610
- marketOpen
611
- minOrderSize
612
- maxOrderSize
613
- minPercentageChange
614
- volumeThreshold
615
- userId
616
- createdAt
617
- updatedAt
618
- alerts { id }
619
- }
620
- action {
621
- id
622
- sequence
623
- tradeId
624
- type
625
- note
626
- status
627
- fee
628
- }
629
- asset {
630
- id
631
- symbol
632
- name
633
- type
634
- logoUrl
635
- description
636
- cik
637
- exchange
638
- currency
639
- country
640
- sector
641
- industry
642
- address
643
- officialSite
644
- fiscalYearEnd
645
- latestQuarter
646
- marketCapitalization
647
- ebitda
648
- peRatio
649
- pegRatio
650
- bookValue
651
- dividendPerShare
652
- dividendYield
653
- eps
654
- revenuePerShareTTM
655
- profitMargin
656
- operatingMarginTTM
657
- returnOnAssetsTTM
658
- returnOnEquityTTM
659
- revenueTTM
660
- grossProfitTTM
661
- dilutedEPSTTM
662
- quarterlyEarningsGrowthYOY
663
- quarterlyRevenueGrowthYOY
664
- analystTargetPrice
665
- analystRatingStrongBuy
666
- analystRatingBuy
667
- analystRatingHold
668
- analystRatingSell
669
- analystRatingStrongSell
670
- trailingPE
671
- forwardPE
672
- priceToSalesRatioTTM
673
- priceToBookRatio
674
- evToRevenue
675
- evToEbitda
676
- beta
677
- week52High
678
- week52Low
679
- day50MovingAverage
680
- day200MovingAverage
681
- sharesOutstanding
682
- dividendDate
683
- exDividendDate
684
- askPrice
685
- bidPrice
686
- createdAt
687
- updatedAt
688
- trades { id
689
- alpacaAccountId
690
- assetId
691
- qty
692
- price
693
- total
694
- optionType
695
- signal
696
- strategy
697
- analysis
698
- summary
699
- confidence
700
- timestamp
701
- createdAt
702
- updatedAt
703
- status
704
- alpacaAccount {
705
- id
706
- type
707
- APIKey
708
- APISecret
709
- configuration
710
- marketOpen
711
- minOrderSize
712
- maxOrderSize
713
- minPercentageChange
714
- volumeThreshold
715
- user { id }
716
- userId
717
- createdAt
718
- updatedAt
719
- trades { id }
720
- orders { id }
721
- positions { id }
722
- alerts { id }
406
+ trades { id }
407
+ orders { id }
408
+ positions { id }
409
+ alerts { id }
723
410
  }
724
411
  asset {
725
412
  id
@@ -874,60 +561,191 @@ exports.Position = `
874
561
  note
875
562
  status
876
563
  fee
877
- } }
878
- orders { id
879
- clientOrderId
880
- alpacaAccountId
881
- assetId
882
- qty
883
- notional
884
- side
885
- type
886
- orderClass
887
- timeInForce
888
- limitPrice
889
- stopPrice
890
- stopLoss {
891
- id
892
- stopPrice
893
- limitPrice
894
- createdAt
895
- updatedAt
896
- orderId
897
- }
898
- takeProfit {
899
- id
900
- limitPrice
901
- stopPrice
902
- createdAt
903
- updatedAt
904
- orderId
905
- }
906
- trailPrice
907
- trailPercent
908
- extendedHours
909
- status
910
- createdAt
911
- updatedAt
912
- submittedAt
913
- filledAt
914
- filledAvgPrice
915
- actionId
916
- alpacaAccount {
917
- id
918
- type
919
- APIKey
920
- APISecret
921
- configuration
922
- marketOpen
923
- minOrderSize
924
- maxOrderSize
925
- minPercentageChange
926
- volumeThreshold
927
- userId
928
- createdAt
929
- updatedAt
930
- alerts { id }
564
+ order { id
565
+ clientOrderId
566
+ alpacaAccountId
567
+ assetId
568
+ qty
569
+ notional
570
+ side
571
+ type
572
+ orderClass
573
+ timeInForce
574
+ limitPrice
575
+ stopPrice
576
+ stopLoss {
577
+ id
578
+ stopPrice
579
+ limitPrice
580
+ createdAt
581
+ updatedAt
582
+ orderId
583
+ }
584
+ takeProfit {
585
+ id
586
+ limitPrice
587
+ stopPrice
588
+ createdAt
589
+ updatedAt
590
+ orderId
591
+ }
592
+ trailPrice
593
+ trailPercent
594
+ extendedHours
595
+ status
596
+ createdAt
597
+ updatedAt
598
+ submittedAt
599
+ filledAt
600
+ filledAvgPrice
601
+ actionId
602
+ alpacaAccount {
603
+ id
604
+ type
605
+ APIKey
606
+ APISecret
607
+ configuration
608
+ marketOpen
609
+ minOrderSize
610
+ maxOrderSize
611
+ minPercentageChange
612
+ volumeThreshold
613
+ userId
614
+ createdAt
615
+ updatedAt
616
+ alerts { id }
617
+ }
618
+ action {
619
+ id
620
+ sequence
621
+ tradeId
622
+ type
623
+ note
624
+ status
625
+ fee
626
+ }
627
+ asset {
628
+ id
629
+ symbol
630
+ name
631
+ type
632
+ logoUrl
633
+ description
634
+ cik
635
+ exchange
636
+ currency
637
+ country
638
+ sector
639
+ industry
640
+ address
641
+ officialSite
642
+ fiscalYearEnd
643
+ latestQuarter
644
+ marketCapitalization
645
+ ebitda
646
+ peRatio
647
+ pegRatio
648
+ bookValue
649
+ dividendPerShare
650
+ dividendYield
651
+ eps
652
+ revenuePerShareTTM
653
+ profitMargin
654
+ operatingMarginTTM
655
+ returnOnAssetsTTM
656
+ returnOnEquityTTM
657
+ revenueTTM
658
+ grossProfitTTM
659
+ dilutedEPSTTM
660
+ quarterlyEarningsGrowthYOY
661
+ quarterlyRevenueGrowthYOY
662
+ analystTargetPrice
663
+ analystRatingStrongBuy
664
+ analystRatingBuy
665
+ analystRatingHold
666
+ analystRatingSell
667
+ analystRatingStrongSell
668
+ trailingPE
669
+ forwardPE
670
+ priceToSalesRatioTTM
671
+ priceToBookRatio
672
+ evToRevenue
673
+ evToEbitda
674
+ beta
675
+ week52High
676
+ week52Low
677
+ day50MovingAverage
678
+ day200MovingAverage
679
+ sharesOutstanding
680
+ dividendDate
681
+ exDividendDate
682
+ askPrice
683
+ bidPrice
684
+ createdAt
685
+ updatedAt
686
+ trades { id }
687
+ orders { id }
688
+ }
689
+ fee
690
+ strikePrice
691
+ expirationDate
692
+ optionType
693
+ stopLossId
694
+ takeProfitId }
695
+ } }
696
+ orders { id
697
+ clientOrderId
698
+ alpacaAccountId
699
+ assetId
700
+ qty
701
+ notional
702
+ side
703
+ type
704
+ orderClass
705
+ timeInForce
706
+ limitPrice
707
+ stopPrice
708
+ stopLoss {
709
+ id
710
+ stopPrice
711
+ limitPrice
712
+ createdAt
713
+ updatedAt
714
+ orderId
715
+ }
716
+ takeProfit {
717
+ id
718
+ limitPrice
719
+ stopPrice
720
+ createdAt
721
+ updatedAt
722
+ orderId
723
+ }
724
+ trailPrice
725
+ trailPercent
726
+ extendedHours
727
+ status
728
+ createdAt
729
+ updatedAt
730
+ submittedAt
731
+ filledAt
732
+ filledAvgPrice
733
+ actionId
734
+ alpacaAccount {
735
+ id
736
+ type
737
+ APIKey
738
+ APISecret
739
+ configuration
740
+ marketOpen
741
+ minOrderSize
742
+ maxOrderSize
743
+ minPercentageChange
744
+ volumeThreshold
745
+ userId
746
+ createdAt
747
+ updatedAt
748
+ alerts { id }
931
749
  }
932
750
  action {
933
751
  id
@@ -1102,6 +920,7 @@ exports.Position = `
1102
920
  note
1103
921
  status
1104
922
  fee
923
+ order { id }
1105
924
  } }
1106
925
  orders { id
1107
926
  clientOrderId
@@ -1248,18 +1067,76 @@ exports.Position = `
1248
1067
  optionType
1249
1068
  stopLossId
1250
1069
  takeProfitId }
1251
- }
1252
- fee
1253
- strikePrice
1254
- expirationDate
1255
- optionType
1256
- stopLossId
1257
- takeProfitId }
1258
- positions { id
1070
+ } }
1071
+ orders { id
1072
+ clientOrderId
1073
+ alpacaAccountId
1259
1074
  assetId
1075
+ qty
1076
+ notional
1077
+ side
1078
+ type
1079
+ orderClass
1080
+ timeInForce
1081
+ limitPrice
1082
+ stopPrice
1083
+ stopLoss {
1084
+ id
1085
+ stopPrice
1086
+ limitPrice
1087
+ createdAt
1088
+ updatedAt
1089
+ orderId
1090
+ }
1091
+ takeProfit {
1092
+ id
1093
+ limitPrice
1094
+ stopPrice
1095
+ createdAt
1096
+ updatedAt
1097
+ orderId
1098
+ }
1099
+ trailPrice
1100
+ trailPercent
1101
+ extendedHours
1102
+ status
1103
+ createdAt
1104
+ updatedAt
1105
+ submittedAt
1106
+ filledAt
1107
+ filledAvgPrice
1108
+ actionId
1109
+ alpacaAccount {
1110
+ id
1111
+ type
1112
+ APIKey
1113
+ APISecret
1114
+ configuration
1115
+ marketOpen
1116
+ minOrderSize
1117
+ maxOrderSize
1118
+ minPercentageChange
1119
+ volumeThreshold
1120
+ userId
1121
+ createdAt
1122
+ updatedAt
1123
+ alerts { id }
1124
+ }
1125
+ action {
1126
+ id
1127
+ sequence
1128
+ tradeId
1129
+ type
1130
+ note
1131
+ status
1132
+ fee
1133
+ }
1260
1134
  asset {
1261
1135
  id
1262
- logoUrl
1136
+ symbol
1137
+ name
1138
+ type
1139
+ logoUrl
1263
1140
  description
1264
1141
  cik
1265
1142
  exchange
@@ -1502,145 +1379,44 @@ exports.Position = `
1502
1379
  note
1503
1380
  status
1504
1381
  fee
1505
- } }
1506
- orders { id
1507
- clientOrderId
1508
- alpacaAccountId
1509
- assetId
1510
- qty
1511
- notional
1512
- side
1513
- type
1514
- orderClass
1515
- timeInForce
1516
- limitPrice
1517
- stopPrice
1518
- stopLoss {
1519
- id
1520
- stopPrice
1521
- limitPrice
1522
- createdAt
1523
- updatedAt
1524
- orderId
1525
- }
1526
- takeProfit {
1527
- id
1528
- limitPrice
1529
- stopPrice
1530
- createdAt
1531
- updatedAt
1532
- orderId
1533
- }
1534
- trailPrice
1535
- trailPercent
1536
- extendedHours
1537
- status
1538
- createdAt
1539
- updatedAt
1540
- submittedAt
1541
- filledAt
1542
- filledAvgPrice
1543
- actionId
1544
- alpacaAccount {
1545
- id
1546
- type
1547
- APIKey
1548
- APISecret
1549
- configuration
1550
- marketOpen
1551
- minOrderSize
1552
- maxOrderSize
1553
- minPercentageChange
1554
- volumeThreshold
1555
- userId
1556
- createdAt
1557
- updatedAt
1558
- alerts { id }
1559
- }
1560
- action {
1561
- id
1562
- sequence
1563
- tradeId
1564
- type
1565
- note
1566
- status
1567
- fee
1568
- }
1569
- asset {
1570
- id
1571
- symbol
1572
- name
1573
- type
1574
- logoUrl
1575
- description
1576
- cik
1577
- exchange
1578
- currency
1579
- country
1580
- sector
1581
- industry
1582
- address
1583
- officialSite
1584
- fiscalYearEnd
1585
- latestQuarter
1586
- marketCapitalization
1587
- ebitda
1588
- peRatio
1589
- pegRatio
1590
- bookValue
1591
- dividendPerShare
1592
- dividendYield
1593
- eps
1594
- revenuePerShareTTM
1595
- profitMargin
1596
- operatingMarginTTM
1597
- returnOnAssetsTTM
1598
- returnOnEquityTTM
1599
- revenueTTM
1600
- grossProfitTTM
1601
- dilutedEPSTTM
1602
- quarterlyEarningsGrowthYOY
1603
- quarterlyRevenueGrowthYOY
1604
- analystTargetPrice
1605
- analystRatingStrongBuy
1606
- analystRatingBuy
1607
- analystRatingHold
1608
- analystRatingSell
1609
- analystRatingStrongSell
1610
- trailingPE
1611
- forwardPE
1612
- priceToSalesRatioTTM
1613
- priceToBookRatio
1614
- evToRevenue
1615
- evToEbitda
1616
- beta
1617
- week52High
1618
- week52Low
1619
- day50MovingAverage
1620
- day200MovingAverage
1621
- sharesOutstanding
1622
- dividendDate
1623
- exDividendDate
1624
- askPrice
1625
- bidPrice
1626
- createdAt
1627
- updatedAt
1628
- trades { id
1382
+ order { id
1383
+ clientOrderId
1629
1384
  alpacaAccountId
1630
1385
  assetId
1631
1386
  qty
1632
- price
1633
- total
1634
- optionType
1635
- signal
1636
- strategy
1637
- analysis
1638
- summary
1639
- confidence
1640
- timestamp
1387
+ notional
1388
+ side
1389
+ type
1390
+ orderClass
1391
+ timeInForce
1392
+ limitPrice
1393
+ stopPrice
1394
+ stopLoss {
1395
+ id
1396
+ stopPrice
1397
+ limitPrice
1398
+ createdAt
1399
+ updatedAt
1400
+ orderId
1401
+ }
1402
+ takeProfit {
1403
+ id
1404
+ limitPrice
1405
+ stopPrice
1406
+ createdAt
1407
+ updatedAt
1408
+ orderId
1409
+ }
1410
+ trailPrice
1411
+ trailPercent
1412
+ extendedHours
1413
+ status
1641
1414
  createdAt
1642
1415
  updatedAt
1643
- status
1416
+ submittedAt
1417
+ filledAt
1418
+ filledAvgPrice
1419
+ actionId
1644
1420
  alpacaAccount {
1645
1421
  id
1646
1422
  type
@@ -1652,14 +1428,19 @@ exports.Position = `
1652
1428
  maxOrderSize
1653
1429
  minPercentageChange
1654
1430
  volumeThreshold
1655
- user { id }
1656
1431
  userId
1657
1432
  createdAt
1658
1433
  updatedAt
1659
- trades { id }
1660
- orders { id }
1661
- positions { id }
1662
1434
  alerts { id }
1435
+ }
1436
+ action {
1437
+ id
1438
+ sequence
1439
+ tradeId
1440
+ type
1441
+ note
1442
+ status
1443
+ fee
1663
1444
  }
1664
1445
  asset {
1665
1446
  id
@@ -1720,27 +1501,41 @@ exports.Position = `
1720
1501
  bidPrice
1721
1502
  createdAt
1722
1503
  updatedAt
1723
- newsMentions { id
1504
+ trades { id
1505
+ alpacaAccountId
1724
1506
  assetId
1725
- newsArticleId
1726
- url
1727
- news {
1507
+ qty
1508
+ price
1509
+ total
1510
+ optionType
1511
+ signal
1512
+ strategy
1513
+ analysis
1514
+ summary
1515
+ confidence
1516
+ timestamp
1517
+ createdAt
1518
+ updatedAt
1519
+ status
1520
+ alpacaAccount {
1728
1521
  id
1729
- title
1730
- content
1731
- source
1732
- sourceDomain
1733
- url
1734
- sentiment
1735
- authors
1736
- summary
1737
- bannerImage
1738
- timePublished
1739
- category
1740
- topics
1741
- logo
1522
+ type
1523
+ APIKey
1524
+ APISecret
1525
+ configuration
1526
+ marketOpen
1527
+ minOrderSize
1528
+ maxOrderSize
1529
+ minPercentageChange
1530
+ volumeThreshold
1531
+ user { id }
1532
+ userId
1742
1533
  createdAt
1743
1534
  updatedAt
1535
+ trades { id }
1536
+ orders { id }
1537
+ positions { id }
1538
+ alerts { id }
1744
1539
  }
1745
1540
  asset {
1746
1541
  id
@@ -1801,238 +1596,7 @@ exports.Position = `
1801
1596
  bidPrice
1802
1597
  createdAt
1803
1598
  updatedAt
1804
- }
1805
- relevancyScore
1806
- sentimentScore
1807
- sentimentLabel }
1808
- }
1809
- actions {
1810
- id
1811
- sequence
1812
- tradeId
1813
- type
1814
- note
1815
- status
1816
- fee
1817
- } }
1818
- orders { id
1819
- clientOrderId
1820
- alpacaAccountId
1821
- assetId
1822
- qty
1823
- notional
1824
- side
1825
- type
1826
- orderClass
1827
- timeInForce
1828
- limitPrice
1829
- stopPrice
1830
- stopLoss {
1831
- id
1832
- stopPrice
1833
- limitPrice
1834
- createdAt
1835
- updatedAt
1836
- orderId
1837
- }
1838
- takeProfit {
1839
- id
1840
- limitPrice
1841
- stopPrice
1842
- createdAt
1843
- updatedAt
1844
- orderId
1845
- }
1846
- trailPrice
1847
- trailPercent
1848
- extendedHours
1849
- status
1850
- createdAt
1851
- updatedAt
1852
- submittedAt
1853
- filledAt
1854
- filledAvgPrice
1855
- actionId
1856
- alpacaAccount {
1857
- id
1858
- type
1859
- APIKey
1860
- APISecret
1861
- configuration
1862
- marketOpen
1863
- minOrderSize
1864
- maxOrderSize
1865
- minPercentageChange
1866
- volumeThreshold
1867
- userId
1868
- createdAt
1869
- updatedAt
1870
- alerts { id }
1871
- }
1872
- action {
1873
- id
1874
- sequence
1875
- tradeId
1876
- type
1877
- note
1878
- status
1879
- fee
1880
- }
1881
- asset {
1882
- id
1883
- symbol
1884
- name
1885
- type
1886
- logoUrl
1887
- description
1888
- cik
1889
- exchange
1890
- currency
1891
- country
1892
- sector
1893
- industry
1894
- address
1895
- officialSite
1896
- fiscalYearEnd
1897
- latestQuarter
1898
- marketCapitalization
1899
- ebitda
1900
- peRatio
1901
- pegRatio
1902
- bookValue
1903
- dividendPerShare
1904
- dividendYield
1905
- eps
1906
- revenuePerShareTTM
1907
- profitMargin
1908
- operatingMarginTTM
1909
- returnOnAssetsTTM
1910
- returnOnEquityTTM
1911
- revenueTTM
1912
- grossProfitTTM
1913
- dilutedEPSTTM
1914
- quarterlyEarningsGrowthYOY
1915
- quarterlyRevenueGrowthYOY
1916
- analystTargetPrice
1917
- analystRatingStrongBuy
1918
- analystRatingBuy
1919
- analystRatingHold
1920
- analystRatingSell
1921
- analystRatingStrongSell
1922
- trailingPE
1923
- forwardPE
1924
- priceToSalesRatioTTM
1925
- priceToBookRatio
1926
- evToRevenue
1927
- evToEbitda
1928
- beta
1929
- week52High
1930
- week52Low
1931
- day50MovingAverage
1932
- day200MovingAverage
1933
- sharesOutstanding
1934
- dividendDate
1935
- exDividendDate
1936
- askPrice
1937
- bidPrice
1938
- createdAt
1939
- updatedAt
1940
- trades { id
1941
- alpacaAccountId
1942
- assetId
1943
- qty
1944
- price
1945
- total
1946
- optionType
1947
- signal
1948
- strategy
1949
- analysis
1950
- summary
1951
- confidence
1952
- timestamp
1953
- createdAt
1954
- updatedAt
1955
- status
1956
- alpacaAccount {
1957
- id
1958
- type
1959
- APIKey
1960
- APISecret
1961
- configuration
1962
- marketOpen
1963
- minOrderSize
1964
- maxOrderSize
1965
- minPercentageChange
1966
- volumeThreshold
1967
- user { id }
1968
- userId
1969
- createdAt
1970
- updatedAt
1971
- trades { id }
1972
- orders { id }
1973
- positions { id }
1974
- alerts { id }
1975
- }
1976
- asset {
1977
- id
1978
- symbol
1979
- name
1980
- type
1981
- logoUrl
1982
- description
1983
- cik
1984
- exchange
1985
- currency
1986
- country
1987
- sector
1988
- industry
1989
- address
1990
- officialSite
1991
- fiscalYearEnd
1992
- latestQuarter
1993
- marketCapitalization
1994
- ebitda
1995
- peRatio
1996
- pegRatio
1997
- bookValue
1998
- dividendPerShare
1999
- dividendYield
2000
- eps
2001
- revenuePerShareTTM
2002
- profitMargin
2003
- operatingMarginTTM
2004
- returnOnAssetsTTM
2005
- returnOnEquityTTM
2006
- revenueTTM
2007
- grossProfitTTM
2008
- dilutedEPSTTM
2009
- quarterlyEarningsGrowthYOY
2010
- quarterlyRevenueGrowthYOY
2011
- analystTargetPrice
2012
- analystRatingStrongBuy
2013
- analystRatingBuy
2014
- analystRatingHold
2015
- analystRatingSell
2016
- analystRatingStrongSell
2017
- trailingPE
2018
- forwardPE
2019
- priceToSalesRatioTTM
2020
- priceToBookRatio
2021
- evToRevenue
2022
- evToEbitda
2023
- beta
2024
- week52High
2025
- week52Low
2026
- day50MovingAverage
2027
- day200MovingAverage
2028
- sharesOutstanding
2029
- dividendDate
2030
- exDividendDate
2031
- askPrice
2032
- bidPrice
2033
- createdAt
2034
- updatedAt
2035
- newsMentions { id }
1599
+ newsMentions { id }
2036
1600
  }
2037
1601
  actions {
2038
1602
  id
@@ -2042,6 +1606,7 @@ exports.Position = `
2042
1606
  note
2043
1607
  status
2044
1608
  fee
1609
+ order { id }
2045
1610
  } }
2046
1611
  orders { id
2047
1612
  clientOrderId
@@ -2181,43 +1746,101 @@ exports.Position = `
2181
1746
  optionType
2182
1747
  stopLossId
2183
1748
  takeProfitId }
2184
- }
2185
- fee
2186
- strikePrice
2187
- expirationDate
2188
- optionType
2189
- stopLossId
2190
- takeProfitId }
2191
- positions { id
1749
+ } }
1750
+ orders { id
1751
+ clientOrderId
1752
+ alpacaAccountId
2192
1753
  assetId
2193
- asset {
1754
+ qty
1755
+ notional
1756
+ side
1757
+ type
1758
+ orderClass
1759
+ timeInForce
1760
+ limitPrice
1761
+ stopPrice
1762
+ stopLoss {
2194
1763
  id
2195
- logoUrl
2196
- description
2197
- cik
2198
- exchange
2199
- currency
2200
- country
2201
- sector
2202
- industry
2203
- address
2204
- officialSite
2205
- fiscalYearEnd
2206
- latestQuarter
2207
- marketCapitalization
2208
- ebitda
2209
- peRatio
2210
- pegRatio
2211
- bookValue
2212
- dividendPerShare
2213
- dividendYield
2214
- eps
2215
- revenuePerShareTTM
2216
- profitMargin
2217
- operatingMarginTTM
2218
- returnOnAssetsTTM
2219
- returnOnEquityTTM
2220
- revenueTTM
1764
+ stopPrice
1765
+ limitPrice
1766
+ createdAt
1767
+ updatedAt
1768
+ orderId
1769
+ }
1770
+ takeProfit {
1771
+ id
1772
+ limitPrice
1773
+ stopPrice
1774
+ createdAt
1775
+ updatedAt
1776
+ orderId
1777
+ }
1778
+ trailPrice
1779
+ trailPercent
1780
+ extendedHours
1781
+ status
1782
+ createdAt
1783
+ updatedAt
1784
+ submittedAt
1785
+ filledAt
1786
+ filledAvgPrice
1787
+ actionId
1788
+ alpacaAccount {
1789
+ id
1790
+ type
1791
+ APIKey
1792
+ APISecret
1793
+ configuration
1794
+ marketOpen
1795
+ minOrderSize
1796
+ maxOrderSize
1797
+ minPercentageChange
1798
+ volumeThreshold
1799
+ userId
1800
+ createdAt
1801
+ updatedAt
1802
+ alerts { id }
1803
+ }
1804
+ action {
1805
+ id
1806
+ sequence
1807
+ tradeId
1808
+ type
1809
+ note
1810
+ status
1811
+ fee
1812
+ }
1813
+ asset {
1814
+ id
1815
+ symbol
1816
+ name
1817
+ type
1818
+ logoUrl
1819
+ description
1820
+ cik
1821
+ exchange
1822
+ currency
1823
+ country
1824
+ sector
1825
+ industry
1826
+ address
1827
+ officialSite
1828
+ fiscalYearEnd
1829
+ latestQuarter
1830
+ marketCapitalization
1831
+ ebitda
1832
+ peRatio
1833
+ pegRatio
1834
+ bookValue
1835
+ dividendPerShare
1836
+ dividendYield
1837
+ eps
1838
+ revenuePerShareTTM
1839
+ profitMargin
1840
+ operatingMarginTTM
1841
+ returnOnAssetsTTM
1842
+ returnOnEquityTTM
1843
+ revenueTTM
2221
1844
  grossProfitTTM
2222
1845
  dilutedEPSTTM
2223
1846
  quarterlyEarningsGrowthYOY
@@ -2435,6 +2058,137 @@ exports.Position = `
2435
2058
  note
2436
2059
  status
2437
2060
  fee
2061
+ order { id
2062
+ clientOrderId
2063
+ alpacaAccountId
2064
+ assetId
2065
+ qty
2066
+ notional
2067
+ side
2068
+ type
2069
+ orderClass
2070
+ timeInForce
2071
+ limitPrice
2072
+ stopPrice
2073
+ stopLoss {
2074
+ id
2075
+ stopPrice
2076
+ limitPrice
2077
+ createdAt
2078
+ updatedAt
2079
+ orderId
2080
+ }
2081
+ takeProfit {
2082
+ id
2083
+ limitPrice
2084
+ stopPrice
2085
+ createdAt
2086
+ updatedAt
2087
+ orderId
2088
+ }
2089
+ trailPrice
2090
+ trailPercent
2091
+ extendedHours
2092
+ status
2093
+ createdAt
2094
+ updatedAt
2095
+ submittedAt
2096
+ filledAt
2097
+ filledAvgPrice
2098
+ actionId
2099
+ alpacaAccount {
2100
+ id
2101
+ type
2102
+ APIKey
2103
+ APISecret
2104
+ configuration
2105
+ marketOpen
2106
+ minOrderSize
2107
+ maxOrderSize
2108
+ minPercentageChange
2109
+ volumeThreshold
2110
+ userId
2111
+ createdAt
2112
+ updatedAt
2113
+ alerts { id }
2114
+ }
2115
+ action {
2116
+ id
2117
+ sequence
2118
+ tradeId
2119
+ type
2120
+ note
2121
+ status
2122
+ fee
2123
+ }
2124
+ asset {
2125
+ id
2126
+ symbol
2127
+ name
2128
+ type
2129
+ logoUrl
2130
+ description
2131
+ cik
2132
+ exchange
2133
+ currency
2134
+ country
2135
+ sector
2136
+ industry
2137
+ address
2138
+ officialSite
2139
+ fiscalYearEnd
2140
+ latestQuarter
2141
+ marketCapitalization
2142
+ ebitda
2143
+ peRatio
2144
+ pegRatio
2145
+ bookValue
2146
+ dividendPerShare
2147
+ dividendYield
2148
+ eps
2149
+ revenuePerShareTTM
2150
+ profitMargin
2151
+ operatingMarginTTM
2152
+ returnOnAssetsTTM
2153
+ returnOnEquityTTM
2154
+ revenueTTM
2155
+ grossProfitTTM
2156
+ dilutedEPSTTM
2157
+ quarterlyEarningsGrowthYOY
2158
+ quarterlyRevenueGrowthYOY
2159
+ analystTargetPrice
2160
+ analystRatingStrongBuy
2161
+ analystRatingBuy
2162
+ analystRatingHold
2163
+ analystRatingSell
2164
+ analystRatingStrongSell
2165
+ trailingPE
2166
+ forwardPE
2167
+ priceToSalesRatioTTM
2168
+ priceToBookRatio
2169
+ evToRevenue
2170
+ evToEbitda
2171
+ beta
2172
+ week52High
2173
+ week52Low
2174
+ day50MovingAverage
2175
+ day200MovingAverage
2176
+ sharesOutstanding
2177
+ dividendDate
2178
+ exDividendDate
2179
+ askPrice
2180
+ bidPrice
2181
+ createdAt
2182
+ updatedAt
2183
+ trades { id }
2184
+ orders { id }
2185
+ }
2186
+ fee
2187
+ strikePrice
2188
+ expirationDate
2189
+ optionType
2190
+ stopLossId
2191
+ takeProfitId }
2438
2192
  } }
2439
2193
  orders { id
2440
2194
  clientOrderId
@@ -2663,6 +2417,7 @@ exports.Position = `
2663
2417
  note
2664
2418
  status
2665
2419
  fee
2420
+ order { id }
2666
2421
  } }
2667
2422
  orders { id
2668
2423
  clientOrderId
@@ -2802,52 +2557,2244 @@ exports.Position = `
2802
2557
  optionType
2803
2558
  stopLossId
2804
2559
  takeProfitId }
2805
- positions { id
2806
- assetId
2807
- asset {
2808
- id
2809
- logoUrl
2810
- description
2811
- cik
2812
- exchange
2813
- currency
2814
- country
2815
- sector
2816
- industry
2817
- address
2818
- officialSite
2819
- fiscalYearEnd
2820
- latestQuarter
2821
- marketCapitalization
2822
- ebitda
2823
- peRatio
2824
- pegRatio
2825
- bookValue
2826
- dividendPerShare
2827
- dividendYield
2828
- eps
2829
- revenuePerShareTTM
2830
- profitMargin
2831
- operatingMarginTTM
2832
- returnOnAssetsTTM
2833
- returnOnEquityTTM
2834
- revenueTTM
2835
- grossProfitTTM
2836
- dilutedEPSTTM
2837
- quarterlyEarningsGrowthYOY
2838
- quarterlyRevenueGrowthYOY
2839
- analystTargetPrice
2840
- analystRatingStrongBuy
2841
- analystRatingBuy
2842
- analystRatingHold
2843
- analystRatingSell
2844
- analystRatingStrongSell
2845
- trailingPE
2846
- forwardPE
2847
- priceToSalesRatioTTM
2848
- priceToBookRatio
2849
- evToRevenue
2850
- evToEbitda
2560
+ }
2561
+ fee
2562
+ strikePrice
2563
+ expirationDate
2564
+ optionType
2565
+ stopLossId
2566
+ takeProfitId }
2567
+ }
2568
+ fee
2569
+ strikePrice
2570
+ expirationDate
2571
+ optionType
2572
+ stopLossId
2573
+ takeProfitId }
2574
+ positions { id
2575
+ assetId
2576
+ asset {
2577
+ id
2578
+ logoUrl
2579
+ description
2580
+ cik
2581
+ exchange
2582
+ currency
2583
+ country
2584
+ sector
2585
+ industry
2586
+ address
2587
+ officialSite
2588
+ fiscalYearEnd
2589
+ latestQuarter
2590
+ marketCapitalization
2591
+ ebitda
2592
+ peRatio
2593
+ pegRatio
2594
+ bookValue
2595
+ dividendPerShare
2596
+ dividendYield
2597
+ eps
2598
+ revenuePerShareTTM
2599
+ profitMargin
2600
+ operatingMarginTTM
2601
+ returnOnAssetsTTM
2602
+ returnOnEquityTTM
2603
+ revenueTTM
2604
+ grossProfitTTM
2605
+ dilutedEPSTTM
2606
+ quarterlyEarningsGrowthYOY
2607
+ quarterlyRevenueGrowthYOY
2608
+ analystTargetPrice
2609
+ analystRatingStrongBuy
2610
+ analystRatingBuy
2611
+ analystRatingHold
2612
+ analystRatingSell
2613
+ analystRatingStrongSell
2614
+ trailingPE
2615
+ forwardPE
2616
+ priceToSalesRatioTTM
2617
+ priceToBookRatio
2618
+ evToRevenue
2619
+ evToEbitda
2620
+ beta
2621
+ week52High
2622
+ week52Low
2623
+ day50MovingAverage
2624
+ day200MovingAverage
2625
+ sharesOutstanding
2626
+ dividendDate
2627
+ exDividendDate
2628
+ askPrice
2629
+ bidPrice
2630
+ createdAt
2631
+ updatedAt
2632
+ trades { id
2633
+ alpacaAccountId
2634
+ assetId
2635
+ qty
2636
+ price
2637
+ total
2638
+ optionType
2639
+ signal
2640
+ strategy
2641
+ analysis
2642
+ summary
2643
+ confidence
2644
+ timestamp
2645
+ createdAt
2646
+ updatedAt
2647
+ status
2648
+ alpacaAccount {
2649
+ id
2650
+ type
2651
+ APIKey
2652
+ APISecret
2653
+ configuration
2654
+ marketOpen
2655
+ minOrderSize
2656
+ maxOrderSize
2657
+ minPercentageChange
2658
+ volumeThreshold
2659
+ user { id }
2660
+ userId
2661
+ createdAt
2662
+ updatedAt
2663
+ trades { id }
2664
+ orders { id }
2665
+ positions { id }
2666
+ alerts { id }
2667
+ }
2668
+ asset {
2669
+ id
2670
+ symbol
2671
+ name
2672
+ type
2673
+ logoUrl
2674
+ description
2675
+ cik
2676
+ exchange
2677
+ currency
2678
+ country
2679
+ sector
2680
+ industry
2681
+ address
2682
+ officialSite
2683
+ fiscalYearEnd
2684
+ latestQuarter
2685
+ marketCapitalization
2686
+ ebitda
2687
+ peRatio
2688
+ pegRatio
2689
+ bookValue
2690
+ dividendPerShare
2691
+ dividendYield
2692
+ eps
2693
+ revenuePerShareTTM
2694
+ profitMargin
2695
+ operatingMarginTTM
2696
+ returnOnAssetsTTM
2697
+ returnOnEquityTTM
2698
+ revenueTTM
2699
+ grossProfitTTM
2700
+ dilutedEPSTTM
2701
+ quarterlyEarningsGrowthYOY
2702
+ quarterlyRevenueGrowthYOY
2703
+ analystTargetPrice
2704
+ analystRatingStrongBuy
2705
+ analystRatingBuy
2706
+ analystRatingHold
2707
+ analystRatingSell
2708
+ analystRatingStrongSell
2709
+ trailingPE
2710
+ forwardPE
2711
+ priceToSalesRatioTTM
2712
+ priceToBookRatio
2713
+ evToRevenue
2714
+ evToEbitda
2715
+ beta
2716
+ week52High
2717
+ week52Low
2718
+ day50MovingAverage
2719
+ day200MovingAverage
2720
+ sharesOutstanding
2721
+ dividendDate
2722
+ exDividendDate
2723
+ askPrice
2724
+ bidPrice
2725
+ createdAt
2726
+ updatedAt
2727
+ newsMentions { id
2728
+ assetId
2729
+ newsArticleId
2730
+ url
2731
+ news {
2732
+ id
2733
+ title
2734
+ content
2735
+ source
2736
+ sourceDomain
2737
+ url
2738
+ sentiment
2739
+ authors
2740
+ summary
2741
+ bannerImage
2742
+ timePublished
2743
+ category
2744
+ topics
2745
+ logo
2746
+ createdAt
2747
+ updatedAt
2748
+ }
2749
+ asset {
2750
+ id
2751
+ symbol
2752
+ name
2753
+ type
2754
+ logoUrl
2755
+ description
2756
+ cik
2757
+ exchange
2758
+ currency
2759
+ country
2760
+ sector
2761
+ industry
2762
+ address
2763
+ officialSite
2764
+ fiscalYearEnd
2765
+ latestQuarter
2766
+ marketCapitalization
2767
+ ebitda
2768
+ peRatio
2769
+ pegRatio
2770
+ bookValue
2771
+ dividendPerShare
2772
+ dividendYield
2773
+ eps
2774
+ revenuePerShareTTM
2775
+ profitMargin
2776
+ operatingMarginTTM
2777
+ returnOnAssetsTTM
2778
+ returnOnEquityTTM
2779
+ revenueTTM
2780
+ grossProfitTTM
2781
+ dilutedEPSTTM
2782
+ quarterlyEarningsGrowthYOY
2783
+ quarterlyRevenueGrowthYOY
2784
+ analystTargetPrice
2785
+ analystRatingStrongBuy
2786
+ analystRatingBuy
2787
+ analystRatingHold
2788
+ analystRatingSell
2789
+ analystRatingStrongSell
2790
+ trailingPE
2791
+ forwardPE
2792
+ priceToSalesRatioTTM
2793
+ priceToBookRatio
2794
+ evToRevenue
2795
+ evToEbitda
2796
+ beta
2797
+ week52High
2798
+ week52Low
2799
+ day50MovingAverage
2800
+ day200MovingAverage
2801
+ sharesOutstanding
2802
+ dividendDate
2803
+ exDividendDate
2804
+ askPrice
2805
+ bidPrice
2806
+ createdAt
2807
+ updatedAt
2808
+ }
2809
+ relevancyScore
2810
+ sentimentScore
2811
+ sentimentLabel }
2812
+ }
2813
+ actions {
2814
+ id
2815
+ sequence
2816
+ tradeId
2817
+ type
2818
+ note
2819
+ status
2820
+ fee
2821
+ order { id
2822
+ clientOrderId
2823
+ alpacaAccountId
2824
+ assetId
2825
+ qty
2826
+ notional
2827
+ side
2828
+ type
2829
+ orderClass
2830
+ timeInForce
2831
+ limitPrice
2832
+ stopPrice
2833
+ stopLoss {
2834
+ id
2835
+ stopPrice
2836
+ limitPrice
2837
+ createdAt
2838
+ updatedAt
2839
+ orderId
2840
+ }
2841
+ takeProfit {
2842
+ id
2843
+ limitPrice
2844
+ stopPrice
2845
+ createdAt
2846
+ updatedAt
2847
+ orderId
2848
+ }
2849
+ trailPrice
2850
+ trailPercent
2851
+ extendedHours
2852
+ status
2853
+ createdAt
2854
+ updatedAt
2855
+ submittedAt
2856
+ filledAt
2857
+ filledAvgPrice
2858
+ actionId
2859
+ alpacaAccount {
2860
+ id
2861
+ type
2862
+ APIKey
2863
+ APISecret
2864
+ configuration
2865
+ marketOpen
2866
+ minOrderSize
2867
+ maxOrderSize
2868
+ minPercentageChange
2869
+ volumeThreshold
2870
+ userId
2871
+ createdAt
2872
+ updatedAt
2873
+ alerts { id }
2874
+ }
2875
+ action {
2876
+ id
2877
+ sequence
2878
+ tradeId
2879
+ type
2880
+ note
2881
+ status
2882
+ fee
2883
+ }
2884
+ asset {
2885
+ id
2886
+ symbol
2887
+ name
2888
+ type
2889
+ logoUrl
2890
+ description
2891
+ cik
2892
+ exchange
2893
+ currency
2894
+ country
2895
+ sector
2896
+ industry
2897
+ address
2898
+ officialSite
2899
+ fiscalYearEnd
2900
+ latestQuarter
2901
+ marketCapitalization
2902
+ ebitda
2903
+ peRatio
2904
+ pegRatio
2905
+ bookValue
2906
+ dividendPerShare
2907
+ dividendYield
2908
+ eps
2909
+ revenuePerShareTTM
2910
+ profitMargin
2911
+ operatingMarginTTM
2912
+ returnOnAssetsTTM
2913
+ returnOnEquityTTM
2914
+ revenueTTM
2915
+ grossProfitTTM
2916
+ dilutedEPSTTM
2917
+ quarterlyEarningsGrowthYOY
2918
+ quarterlyRevenueGrowthYOY
2919
+ analystTargetPrice
2920
+ analystRatingStrongBuy
2921
+ analystRatingBuy
2922
+ analystRatingHold
2923
+ analystRatingSell
2924
+ analystRatingStrongSell
2925
+ trailingPE
2926
+ forwardPE
2927
+ priceToSalesRatioTTM
2928
+ priceToBookRatio
2929
+ evToRevenue
2930
+ evToEbitda
2931
+ beta
2932
+ week52High
2933
+ week52Low
2934
+ day50MovingAverage
2935
+ day200MovingAverage
2936
+ sharesOutstanding
2937
+ dividendDate
2938
+ exDividendDate
2939
+ askPrice
2940
+ bidPrice
2941
+ createdAt
2942
+ updatedAt
2943
+ trades { id
2944
+ alpacaAccountId
2945
+ assetId
2946
+ qty
2947
+ price
2948
+ total
2949
+ optionType
2950
+ signal
2951
+ strategy
2952
+ analysis
2953
+ summary
2954
+ confidence
2955
+ timestamp
2956
+ createdAt
2957
+ updatedAt
2958
+ status
2959
+ alpacaAccount {
2960
+ id
2961
+ type
2962
+ APIKey
2963
+ APISecret
2964
+ configuration
2965
+ marketOpen
2966
+ minOrderSize
2967
+ maxOrderSize
2968
+ minPercentageChange
2969
+ volumeThreshold
2970
+ user { id }
2971
+ userId
2972
+ createdAt
2973
+ updatedAt
2974
+ trades { id }
2975
+ orders { id }
2976
+ positions { id }
2977
+ alerts { id }
2978
+ }
2979
+ asset {
2980
+ id
2981
+ symbol
2982
+ name
2983
+ type
2984
+ logoUrl
2985
+ description
2986
+ cik
2987
+ exchange
2988
+ currency
2989
+ country
2990
+ sector
2991
+ industry
2992
+ address
2993
+ officialSite
2994
+ fiscalYearEnd
2995
+ latestQuarter
2996
+ marketCapitalization
2997
+ ebitda
2998
+ peRatio
2999
+ pegRatio
3000
+ bookValue
3001
+ dividendPerShare
3002
+ dividendYield
3003
+ eps
3004
+ revenuePerShareTTM
3005
+ profitMargin
3006
+ operatingMarginTTM
3007
+ returnOnAssetsTTM
3008
+ returnOnEquityTTM
3009
+ revenueTTM
3010
+ grossProfitTTM
3011
+ dilutedEPSTTM
3012
+ quarterlyEarningsGrowthYOY
3013
+ quarterlyRevenueGrowthYOY
3014
+ analystTargetPrice
3015
+ analystRatingStrongBuy
3016
+ analystRatingBuy
3017
+ analystRatingHold
3018
+ analystRatingSell
3019
+ analystRatingStrongSell
3020
+ trailingPE
3021
+ forwardPE
3022
+ priceToSalesRatioTTM
3023
+ priceToBookRatio
3024
+ evToRevenue
3025
+ evToEbitda
3026
+ beta
3027
+ week52High
3028
+ week52Low
3029
+ day50MovingAverage
3030
+ day200MovingAverage
3031
+ sharesOutstanding
3032
+ dividendDate
3033
+ exDividendDate
3034
+ askPrice
3035
+ bidPrice
3036
+ createdAt
3037
+ updatedAt
3038
+ newsMentions { id }
3039
+ }
3040
+ actions {
3041
+ id
3042
+ sequence
3043
+ tradeId
3044
+ type
3045
+ note
3046
+ status
3047
+ fee
3048
+ order { id }
3049
+ } }
3050
+ orders { id
3051
+ clientOrderId
3052
+ alpacaAccountId
3053
+ assetId
3054
+ qty
3055
+ notional
3056
+ side
3057
+ type
3058
+ orderClass
3059
+ timeInForce
3060
+ limitPrice
3061
+ stopPrice
3062
+ stopLoss {
3063
+ id
3064
+ stopPrice
3065
+ limitPrice
3066
+ createdAt
3067
+ updatedAt
3068
+ orderId
3069
+ }
3070
+ takeProfit {
3071
+ id
3072
+ limitPrice
3073
+ stopPrice
3074
+ createdAt
3075
+ updatedAt
3076
+ orderId
3077
+ }
3078
+ trailPrice
3079
+ trailPercent
3080
+ extendedHours
3081
+ status
3082
+ createdAt
3083
+ updatedAt
3084
+ submittedAt
3085
+ filledAt
3086
+ filledAvgPrice
3087
+ actionId
3088
+ alpacaAccount {
3089
+ id
3090
+ type
3091
+ APIKey
3092
+ APISecret
3093
+ configuration
3094
+ marketOpen
3095
+ minOrderSize
3096
+ maxOrderSize
3097
+ minPercentageChange
3098
+ volumeThreshold
3099
+ userId
3100
+ createdAt
3101
+ updatedAt
3102
+ alerts { id }
3103
+ }
3104
+ action {
3105
+ id
3106
+ sequence
3107
+ tradeId
3108
+ type
3109
+ note
3110
+ status
3111
+ fee
3112
+ }
3113
+ asset {
3114
+ id
3115
+ symbol
3116
+ name
3117
+ type
3118
+ logoUrl
3119
+ description
3120
+ cik
3121
+ exchange
3122
+ currency
3123
+ country
3124
+ sector
3125
+ industry
3126
+ address
3127
+ officialSite
3128
+ fiscalYearEnd
3129
+ latestQuarter
3130
+ marketCapitalization
3131
+ ebitda
3132
+ peRatio
3133
+ pegRatio
3134
+ bookValue
3135
+ dividendPerShare
3136
+ dividendYield
3137
+ eps
3138
+ revenuePerShareTTM
3139
+ profitMargin
3140
+ operatingMarginTTM
3141
+ returnOnAssetsTTM
3142
+ returnOnEquityTTM
3143
+ revenueTTM
3144
+ grossProfitTTM
3145
+ dilutedEPSTTM
3146
+ quarterlyEarningsGrowthYOY
3147
+ quarterlyRevenueGrowthYOY
3148
+ analystTargetPrice
3149
+ analystRatingStrongBuy
3150
+ analystRatingBuy
3151
+ analystRatingHold
3152
+ analystRatingSell
3153
+ analystRatingStrongSell
3154
+ trailingPE
3155
+ forwardPE
3156
+ priceToSalesRatioTTM
3157
+ priceToBookRatio
3158
+ evToRevenue
3159
+ evToEbitda
3160
+ beta
3161
+ week52High
3162
+ week52Low
3163
+ day50MovingAverage
3164
+ day200MovingAverage
3165
+ sharesOutstanding
3166
+ dividendDate
3167
+ exDividendDate
3168
+ askPrice
3169
+ bidPrice
3170
+ createdAt
3171
+ updatedAt
3172
+ trades { id }
3173
+ orders { id }
3174
+ }
3175
+ fee
3176
+ strikePrice
3177
+ expirationDate
3178
+ optionType
3179
+ stopLossId
3180
+ takeProfitId }
3181
+ }
3182
+ fee
3183
+ strikePrice
3184
+ expirationDate
3185
+ optionType
3186
+ stopLossId
3187
+ takeProfitId }
3188
+ } }
3189
+ orders { id
3190
+ clientOrderId
3191
+ alpacaAccountId
3192
+ assetId
3193
+ qty
3194
+ notional
3195
+ side
3196
+ type
3197
+ orderClass
3198
+ timeInForce
3199
+ limitPrice
3200
+ stopPrice
3201
+ stopLoss {
3202
+ id
3203
+ stopPrice
3204
+ limitPrice
3205
+ createdAt
3206
+ updatedAt
3207
+ orderId
3208
+ }
3209
+ takeProfit {
3210
+ id
3211
+ limitPrice
3212
+ stopPrice
3213
+ createdAt
3214
+ updatedAt
3215
+ orderId
3216
+ }
3217
+ trailPrice
3218
+ trailPercent
3219
+ extendedHours
3220
+ status
3221
+ createdAt
3222
+ updatedAt
3223
+ submittedAt
3224
+ filledAt
3225
+ filledAvgPrice
3226
+ actionId
3227
+ alpacaAccount {
3228
+ id
3229
+ type
3230
+ APIKey
3231
+ APISecret
3232
+ configuration
3233
+ marketOpen
3234
+ minOrderSize
3235
+ maxOrderSize
3236
+ minPercentageChange
3237
+ volumeThreshold
3238
+ userId
3239
+ createdAt
3240
+ updatedAt
3241
+ alerts { id }
3242
+ }
3243
+ action {
3244
+ id
3245
+ sequence
3246
+ tradeId
3247
+ type
3248
+ note
3249
+ status
3250
+ fee
3251
+ }
3252
+ asset {
3253
+ id
3254
+ symbol
3255
+ name
3256
+ type
3257
+ logoUrl
3258
+ description
3259
+ cik
3260
+ exchange
3261
+ currency
3262
+ country
3263
+ sector
3264
+ industry
3265
+ address
3266
+ officialSite
3267
+ fiscalYearEnd
3268
+ latestQuarter
3269
+ marketCapitalization
3270
+ ebitda
3271
+ peRatio
3272
+ pegRatio
3273
+ bookValue
3274
+ dividendPerShare
3275
+ dividendYield
3276
+ eps
3277
+ revenuePerShareTTM
3278
+ profitMargin
3279
+ operatingMarginTTM
3280
+ returnOnAssetsTTM
3281
+ returnOnEquityTTM
3282
+ revenueTTM
3283
+ grossProfitTTM
3284
+ dilutedEPSTTM
3285
+ quarterlyEarningsGrowthYOY
3286
+ quarterlyRevenueGrowthYOY
3287
+ analystTargetPrice
3288
+ analystRatingStrongBuy
3289
+ analystRatingBuy
3290
+ analystRatingHold
3291
+ analystRatingSell
3292
+ analystRatingStrongSell
3293
+ trailingPE
3294
+ forwardPE
3295
+ priceToSalesRatioTTM
3296
+ priceToBookRatio
3297
+ evToRevenue
3298
+ evToEbitda
3299
+ beta
3300
+ week52High
3301
+ week52Low
3302
+ day50MovingAverage
3303
+ day200MovingAverage
3304
+ sharesOutstanding
3305
+ dividendDate
3306
+ exDividendDate
3307
+ askPrice
3308
+ bidPrice
3309
+ createdAt
3310
+ updatedAt
3311
+ trades { id
3312
+ alpacaAccountId
3313
+ assetId
3314
+ qty
3315
+ price
3316
+ total
3317
+ optionType
3318
+ signal
3319
+ strategy
3320
+ analysis
3321
+ summary
3322
+ confidence
3323
+ timestamp
3324
+ createdAt
3325
+ updatedAt
3326
+ status
3327
+ alpacaAccount {
3328
+ id
3329
+ type
3330
+ APIKey
3331
+ APISecret
3332
+ configuration
3333
+ marketOpen
3334
+ minOrderSize
3335
+ maxOrderSize
3336
+ minPercentageChange
3337
+ volumeThreshold
3338
+ user { id }
3339
+ userId
3340
+ createdAt
3341
+ updatedAt
3342
+ trades { id }
3343
+ orders { id }
3344
+ positions { id }
3345
+ alerts { id }
3346
+ }
3347
+ asset {
3348
+ id
3349
+ symbol
3350
+ name
3351
+ type
3352
+ logoUrl
3353
+ description
3354
+ cik
3355
+ exchange
3356
+ currency
3357
+ country
3358
+ sector
3359
+ industry
3360
+ address
3361
+ officialSite
3362
+ fiscalYearEnd
3363
+ latestQuarter
3364
+ marketCapitalization
3365
+ ebitda
3366
+ peRatio
3367
+ pegRatio
3368
+ bookValue
3369
+ dividendPerShare
3370
+ dividendYield
3371
+ eps
3372
+ revenuePerShareTTM
3373
+ profitMargin
3374
+ operatingMarginTTM
3375
+ returnOnAssetsTTM
3376
+ returnOnEquityTTM
3377
+ revenueTTM
3378
+ grossProfitTTM
3379
+ dilutedEPSTTM
3380
+ quarterlyEarningsGrowthYOY
3381
+ quarterlyRevenueGrowthYOY
3382
+ analystTargetPrice
3383
+ analystRatingStrongBuy
3384
+ analystRatingBuy
3385
+ analystRatingHold
3386
+ analystRatingSell
3387
+ analystRatingStrongSell
3388
+ trailingPE
3389
+ forwardPE
3390
+ priceToSalesRatioTTM
3391
+ priceToBookRatio
3392
+ evToRevenue
3393
+ evToEbitda
3394
+ beta
3395
+ week52High
3396
+ week52Low
3397
+ day50MovingAverage
3398
+ day200MovingAverage
3399
+ sharesOutstanding
3400
+ dividendDate
3401
+ exDividendDate
3402
+ askPrice
3403
+ bidPrice
3404
+ createdAt
3405
+ updatedAt
3406
+ newsMentions { id
3407
+ assetId
3408
+ newsArticleId
3409
+ url
3410
+ news {
3411
+ id
3412
+ title
3413
+ content
3414
+ source
3415
+ sourceDomain
3416
+ url
3417
+ sentiment
3418
+ authors
3419
+ summary
3420
+ bannerImage
3421
+ timePublished
3422
+ category
3423
+ topics
3424
+ logo
3425
+ createdAt
3426
+ updatedAt
3427
+ }
3428
+ asset {
3429
+ id
3430
+ symbol
3431
+ name
3432
+ type
3433
+ logoUrl
3434
+ description
3435
+ cik
3436
+ exchange
3437
+ currency
3438
+ country
3439
+ sector
3440
+ industry
3441
+ address
3442
+ officialSite
3443
+ fiscalYearEnd
3444
+ latestQuarter
3445
+ marketCapitalization
3446
+ ebitda
3447
+ peRatio
3448
+ pegRatio
3449
+ bookValue
3450
+ dividendPerShare
3451
+ dividendYield
3452
+ eps
3453
+ revenuePerShareTTM
3454
+ profitMargin
3455
+ operatingMarginTTM
3456
+ returnOnAssetsTTM
3457
+ returnOnEquityTTM
3458
+ revenueTTM
3459
+ grossProfitTTM
3460
+ dilutedEPSTTM
3461
+ quarterlyEarningsGrowthYOY
3462
+ quarterlyRevenueGrowthYOY
3463
+ analystTargetPrice
3464
+ analystRatingStrongBuy
3465
+ analystRatingBuy
3466
+ analystRatingHold
3467
+ analystRatingSell
3468
+ analystRatingStrongSell
3469
+ trailingPE
3470
+ forwardPE
3471
+ priceToSalesRatioTTM
3472
+ priceToBookRatio
3473
+ evToRevenue
3474
+ evToEbitda
3475
+ beta
3476
+ week52High
3477
+ week52Low
3478
+ day50MovingAverage
3479
+ day200MovingAverage
3480
+ sharesOutstanding
3481
+ dividendDate
3482
+ exDividendDate
3483
+ askPrice
3484
+ bidPrice
3485
+ createdAt
3486
+ updatedAt
3487
+ }
3488
+ relevancyScore
3489
+ sentimentScore
3490
+ sentimentLabel }
3491
+ }
3492
+ actions {
3493
+ id
3494
+ sequence
3495
+ tradeId
3496
+ type
3497
+ note
3498
+ status
3499
+ fee
3500
+ order { id
3501
+ clientOrderId
3502
+ alpacaAccountId
3503
+ assetId
3504
+ qty
3505
+ notional
3506
+ side
3507
+ type
3508
+ orderClass
3509
+ timeInForce
3510
+ limitPrice
3511
+ stopPrice
3512
+ stopLoss {
3513
+ id
3514
+ stopPrice
3515
+ limitPrice
3516
+ createdAt
3517
+ updatedAt
3518
+ orderId
3519
+ }
3520
+ takeProfit {
3521
+ id
3522
+ limitPrice
3523
+ stopPrice
3524
+ createdAt
3525
+ updatedAt
3526
+ orderId
3527
+ }
3528
+ trailPrice
3529
+ trailPercent
3530
+ extendedHours
3531
+ status
3532
+ createdAt
3533
+ updatedAt
3534
+ submittedAt
3535
+ filledAt
3536
+ filledAvgPrice
3537
+ actionId
3538
+ alpacaAccount {
3539
+ id
3540
+ type
3541
+ APIKey
3542
+ APISecret
3543
+ configuration
3544
+ marketOpen
3545
+ minOrderSize
3546
+ maxOrderSize
3547
+ minPercentageChange
3548
+ volumeThreshold
3549
+ userId
3550
+ createdAt
3551
+ updatedAt
3552
+ alerts { id }
3553
+ }
3554
+ action {
3555
+ id
3556
+ sequence
3557
+ tradeId
3558
+ type
3559
+ note
3560
+ status
3561
+ fee
3562
+ }
3563
+ asset {
3564
+ id
3565
+ symbol
3566
+ name
3567
+ type
3568
+ logoUrl
3569
+ description
3570
+ cik
3571
+ exchange
3572
+ currency
3573
+ country
3574
+ sector
3575
+ industry
3576
+ address
3577
+ officialSite
3578
+ fiscalYearEnd
3579
+ latestQuarter
3580
+ marketCapitalization
3581
+ ebitda
3582
+ peRatio
3583
+ pegRatio
3584
+ bookValue
3585
+ dividendPerShare
3586
+ dividendYield
3587
+ eps
3588
+ revenuePerShareTTM
3589
+ profitMargin
3590
+ operatingMarginTTM
3591
+ returnOnAssetsTTM
3592
+ returnOnEquityTTM
3593
+ revenueTTM
3594
+ grossProfitTTM
3595
+ dilutedEPSTTM
3596
+ quarterlyEarningsGrowthYOY
3597
+ quarterlyRevenueGrowthYOY
3598
+ analystTargetPrice
3599
+ analystRatingStrongBuy
3600
+ analystRatingBuy
3601
+ analystRatingHold
3602
+ analystRatingSell
3603
+ analystRatingStrongSell
3604
+ trailingPE
3605
+ forwardPE
3606
+ priceToSalesRatioTTM
3607
+ priceToBookRatio
3608
+ evToRevenue
3609
+ evToEbitda
3610
+ beta
3611
+ week52High
3612
+ week52Low
3613
+ day50MovingAverage
3614
+ day200MovingAverage
3615
+ sharesOutstanding
3616
+ dividendDate
3617
+ exDividendDate
3618
+ askPrice
3619
+ bidPrice
3620
+ createdAt
3621
+ updatedAt
3622
+ trades { id }
3623
+ orders { id }
3624
+ }
3625
+ fee
3626
+ strikePrice
3627
+ expirationDate
3628
+ optionType
3629
+ stopLossId
3630
+ takeProfitId }
3631
+ } }
3632
+ orders { id
3633
+ clientOrderId
3634
+ alpacaAccountId
3635
+ assetId
3636
+ qty
3637
+ notional
3638
+ side
3639
+ type
3640
+ orderClass
3641
+ timeInForce
3642
+ limitPrice
3643
+ stopPrice
3644
+ stopLoss {
3645
+ id
3646
+ stopPrice
3647
+ limitPrice
3648
+ createdAt
3649
+ updatedAt
3650
+ orderId
3651
+ }
3652
+ takeProfit {
3653
+ id
3654
+ limitPrice
3655
+ stopPrice
3656
+ createdAt
3657
+ updatedAt
3658
+ orderId
3659
+ }
3660
+ trailPrice
3661
+ trailPercent
3662
+ extendedHours
3663
+ status
3664
+ createdAt
3665
+ updatedAt
3666
+ submittedAt
3667
+ filledAt
3668
+ filledAvgPrice
3669
+ actionId
3670
+ alpacaAccount {
3671
+ id
3672
+ type
3673
+ APIKey
3674
+ APISecret
3675
+ configuration
3676
+ marketOpen
3677
+ minOrderSize
3678
+ maxOrderSize
3679
+ minPercentageChange
3680
+ volumeThreshold
3681
+ userId
3682
+ createdAt
3683
+ updatedAt
3684
+ alerts { id }
3685
+ }
3686
+ action {
3687
+ id
3688
+ sequence
3689
+ tradeId
3690
+ type
3691
+ note
3692
+ status
3693
+ fee
3694
+ }
3695
+ asset {
3696
+ id
3697
+ symbol
3698
+ name
3699
+ type
3700
+ logoUrl
3701
+ description
3702
+ cik
3703
+ exchange
3704
+ currency
3705
+ country
3706
+ sector
3707
+ industry
3708
+ address
3709
+ officialSite
3710
+ fiscalYearEnd
3711
+ latestQuarter
3712
+ marketCapitalization
3713
+ ebitda
3714
+ peRatio
3715
+ pegRatio
3716
+ bookValue
3717
+ dividendPerShare
3718
+ dividendYield
3719
+ eps
3720
+ revenuePerShareTTM
3721
+ profitMargin
3722
+ operatingMarginTTM
3723
+ returnOnAssetsTTM
3724
+ returnOnEquityTTM
3725
+ revenueTTM
3726
+ grossProfitTTM
3727
+ dilutedEPSTTM
3728
+ quarterlyEarningsGrowthYOY
3729
+ quarterlyRevenueGrowthYOY
3730
+ analystTargetPrice
3731
+ analystRatingStrongBuy
3732
+ analystRatingBuy
3733
+ analystRatingHold
3734
+ analystRatingSell
3735
+ analystRatingStrongSell
3736
+ trailingPE
3737
+ forwardPE
3738
+ priceToSalesRatioTTM
3739
+ priceToBookRatio
3740
+ evToRevenue
3741
+ evToEbitda
3742
+ beta
3743
+ week52High
3744
+ week52Low
3745
+ day50MovingAverage
3746
+ day200MovingAverage
3747
+ sharesOutstanding
3748
+ dividendDate
3749
+ exDividendDate
3750
+ askPrice
3751
+ bidPrice
3752
+ createdAt
3753
+ updatedAt
3754
+ trades { id
3755
+ alpacaAccountId
3756
+ assetId
3757
+ qty
3758
+ price
3759
+ total
3760
+ optionType
3761
+ signal
3762
+ strategy
3763
+ analysis
3764
+ summary
3765
+ confidence
3766
+ timestamp
3767
+ createdAt
3768
+ updatedAt
3769
+ status
3770
+ alpacaAccount {
3771
+ id
3772
+ type
3773
+ APIKey
3774
+ APISecret
3775
+ configuration
3776
+ marketOpen
3777
+ minOrderSize
3778
+ maxOrderSize
3779
+ minPercentageChange
3780
+ volumeThreshold
3781
+ user { id }
3782
+ userId
3783
+ createdAt
3784
+ updatedAt
3785
+ trades { id }
3786
+ orders { id }
3787
+ positions { id }
3788
+ alerts { id }
3789
+ }
3790
+ asset {
3791
+ id
3792
+ symbol
3793
+ name
3794
+ type
3795
+ logoUrl
3796
+ description
3797
+ cik
3798
+ exchange
3799
+ currency
3800
+ country
3801
+ sector
3802
+ industry
3803
+ address
3804
+ officialSite
3805
+ fiscalYearEnd
3806
+ latestQuarter
3807
+ marketCapitalization
3808
+ ebitda
3809
+ peRatio
3810
+ pegRatio
3811
+ bookValue
3812
+ dividendPerShare
3813
+ dividendYield
3814
+ eps
3815
+ revenuePerShareTTM
3816
+ profitMargin
3817
+ operatingMarginTTM
3818
+ returnOnAssetsTTM
3819
+ returnOnEquityTTM
3820
+ revenueTTM
3821
+ grossProfitTTM
3822
+ dilutedEPSTTM
3823
+ quarterlyEarningsGrowthYOY
3824
+ quarterlyRevenueGrowthYOY
3825
+ analystTargetPrice
3826
+ analystRatingStrongBuy
3827
+ analystRatingBuy
3828
+ analystRatingHold
3829
+ analystRatingSell
3830
+ analystRatingStrongSell
3831
+ trailingPE
3832
+ forwardPE
3833
+ priceToSalesRatioTTM
3834
+ priceToBookRatio
3835
+ evToRevenue
3836
+ evToEbitda
3837
+ beta
3838
+ week52High
3839
+ week52Low
3840
+ day50MovingAverage
3841
+ day200MovingAverage
3842
+ sharesOutstanding
3843
+ dividendDate
3844
+ exDividendDate
3845
+ askPrice
3846
+ bidPrice
3847
+ createdAt
3848
+ updatedAt
3849
+ newsMentions { id }
3850
+ }
3851
+ actions {
3852
+ id
3853
+ sequence
3854
+ tradeId
3855
+ type
3856
+ note
3857
+ status
3858
+ fee
3859
+ order { id }
3860
+ } }
3861
+ orders { id
3862
+ clientOrderId
3863
+ alpacaAccountId
3864
+ assetId
3865
+ qty
3866
+ notional
3867
+ side
3868
+ type
3869
+ orderClass
3870
+ timeInForce
3871
+ limitPrice
3872
+ stopPrice
3873
+ stopLoss {
3874
+ id
3875
+ stopPrice
3876
+ limitPrice
3877
+ createdAt
3878
+ updatedAt
3879
+ orderId
3880
+ }
3881
+ takeProfit {
3882
+ id
3883
+ limitPrice
3884
+ stopPrice
3885
+ createdAt
3886
+ updatedAt
3887
+ orderId
3888
+ }
3889
+ trailPrice
3890
+ trailPercent
3891
+ extendedHours
3892
+ status
3893
+ createdAt
3894
+ updatedAt
3895
+ submittedAt
3896
+ filledAt
3897
+ filledAvgPrice
3898
+ actionId
3899
+ alpacaAccount {
3900
+ id
3901
+ type
3902
+ APIKey
3903
+ APISecret
3904
+ configuration
3905
+ marketOpen
3906
+ minOrderSize
3907
+ maxOrderSize
3908
+ minPercentageChange
3909
+ volumeThreshold
3910
+ userId
3911
+ createdAt
3912
+ updatedAt
3913
+ alerts { id }
3914
+ }
3915
+ action {
3916
+ id
3917
+ sequence
3918
+ tradeId
3919
+ type
3920
+ note
3921
+ status
3922
+ fee
3923
+ }
3924
+ asset {
3925
+ id
3926
+ symbol
3927
+ name
3928
+ type
3929
+ logoUrl
3930
+ description
3931
+ cik
3932
+ exchange
3933
+ currency
3934
+ country
3935
+ sector
3936
+ industry
3937
+ address
3938
+ officialSite
3939
+ fiscalYearEnd
3940
+ latestQuarter
3941
+ marketCapitalization
3942
+ ebitda
3943
+ peRatio
3944
+ pegRatio
3945
+ bookValue
3946
+ dividendPerShare
3947
+ dividendYield
3948
+ eps
3949
+ revenuePerShareTTM
3950
+ profitMargin
3951
+ operatingMarginTTM
3952
+ returnOnAssetsTTM
3953
+ returnOnEquityTTM
3954
+ revenueTTM
3955
+ grossProfitTTM
3956
+ dilutedEPSTTM
3957
+ quarterlyEarningsGrowthYOY
3958
+ quarterlyRevenueGrowthYOY
3959
+ analystTargetPrice
3960
+ analystRatingStrongBuy
3961
+ analystRatingBuy
3962
+ analystRatingHold
3963
+ analystRatingSell
3964
+ analystRatingStrongSell
3965
+ trailingPE
3966
+ forwardPE
3967
+ priceToSalesRatioTTM
3968
+ priceToBookRatio
3969
+ evToRevenue
3970
+ evToEbitda
3971
+ beta
3972
+ week52High
3973
+ week52Low
3974
+ day50MovingAverage
3975
+ day200MovingAverage
3976
+ sharesOutstanding
3977
+ dividendDate
3978
+ exDividendDate
3979
+ askPrice
3980
+ bidPrice
3981
+ createdAt
3982
+ updatedAt
3983
+ trades { id }
3984
+ orders { id }
3985
+ }
3986
+ fee
3987
+ strikePrice
3988
+ expirationDate
3989
+ optionType
3990
+ stopLossId
3991
+ takeProfitId }
3992
+ }
3993
+ fee
3994
+ strikePrice
3995
+ expirationDate
3996
+ optionType
3997
+ stopLossId
3998
+ takeProfitId }
3999
+ }
4000
+ fee
4001
+ strikePrice
4002
+ expirationDate
4003
+ optionType
4004
+ stopLossId
4005
+ takeProfitId }
4006
+ positions { id
4007
+ assetId
4008
+ asset {
4009
+ id
4010
+ logoUrl
4011
+ description
4012
+ cik
4013
+ exchange
4014
+ currency
4015
+ country
4016
+ sector
4017
+ industry
4018
+ address
4019
+ officialSite
4020
+ fiscalYearEnd
4021
+ latestQuarter
4022
+ marketCapitalization
4023
+ ebitda
4024
+ peRatio
4025
+ pegRatio
4026
+ bookValue
4027
+ dividendPerShare
4028
+ dividendYield
4029
+ eps
4030
+ revenuePerShareTTM
4031
+ profitMargin
4032
+ operatingMarginTTM
4033
+ returnOnAssetsTTM
4034
+ returnOnEquityTTM
4035
+ revenueTTM
4036
+ grossProfitTTM
4037
+ dilutedEPSTTM
4038
+ quarterlyEarningsGrowthYOY
4039
+ quarterlyRevenueGrowthYOY
4040
+ analystTargetPrice
4041
+ analystRatingStrongBuy
4042
+ analystRatingBuy
4043
+ analystRatingHold
4044
+ analystRatingSell
4045
+ analystRatingStrongSell
4046
+ trailingPE
4047
+ forwardPE
4048
+ priceToSalesRatioTTM
4049
+ priceToBookRatio
4050
+ evToRevenue
4051
+ evToEbitda
4052
+ beta
4053
+ week52High
4054
+ week52Low
4055
+ day50MovingAverage
4056
+ day200MovingAverage
4057
+ sharesOutstanding
4058
+ dividendDate
4059
+ exDividendDate
4060
+ askPrice
4061
+ bidPrice
4062
+ createdAt
4063
+ updatedAt
4064
+ trades { id
4065
+ alpacaAccountId
4066
+ assetId
4067
+ qty
4068
+ price
4069
+ total
4070
+ optionType
4071
+ signal
4072
+ strategy
4073
+ analysis
4074
+ summary
4075
+ confidence
4076
+ timestamp
4077
+ createdAt
4078
+ updatedAt
4079
+ status
4080
+ alpacaAccount {
4081
+ id
4082
+ type
4083
+ APIKey
4084
+ APISecret
4085
+ configuration
4086
+ marketOpen
4087
+ minOrderSize
4088
+ maxOrderSize
4089
+ minPercentageChange
4090
+ volumeThreshold
4091
+ user { id }
4092
+ userId
4093
+ createdAt
4094
+ updatedAt
4095
+ trades { id }
4096
+ orders { id }
4097
+ positions { id }
4098
+ alerts { id }
4099
+ }
4100
+ asset {
4101
+ id
4102
+ symbol
4103
+ name
4104
+ type
4105
+ logoUrl
4106
+ description
4107
+ cik
4108
+ exchange
4109
+ currency
4110
+ country
4111
+ sector
4112
+ industry
4113
+ address
4114
+ officialSite
4115
+ fiscalYearEnd
4116
+ latestQuarter
4117
+ marketCapitalization
4118
+ ebitda
4119
+ peRatio
4120
+ pegRatio
4121
+ bookValue
4122
+ dividendPerShare
4123
+ dividendYield
4124
+ eps
4125
+ revenuePerShareTTM
4126
+ profitMargin
4127
+ operatingMarginTTM
4128
+ returnOnAssetsTTM
4129
+ returnOnEquityTTM
4130
+ revenueTTM
4131
+ grossProfitTTM
4132
+ dilutedEPSTTM
4133
+ quarterlyEarningsGrowthYOY
4134
+ quarterlyRevenueGrowthYOY
4135
+ analystTargetPrice
4136
+ analystRatingStrongBuy
4137
+ analystRatingBuy
4138
+ analystRatingHold
4139
+ analystRatingSell
4140
+ analystRatingStrongSell
4141
+ trailingPE
4142
+ forwardPE
4143
+ priceToSalesRatioTTM
4144
+ priceToBookRatio
4145
+ evToRevenue
4146
+ evToEbitda
4147
+ beta
4148
+ week52High
4149
+ week52Low
4150
+ day50MovingAverage
4151
+ day200MovingAverage
4152
+ sharesOutstanding
4153
+ dividendDate
4154
+ exDividendDate
4155
+ askPrice
4156
+ bidPrice
4157
+ createdAt
4158
+ updatedAt
4159
+ newsMentions { id
4160
+ assetId
4161
+ newsArticleId
4162
+ url
4163
+ news {
4164
+ id
4165
+ title
4166
+ content
4167
+ source
4168
+ sourceDomain
4169
+ url
4170
+ sentiment
4171
+ authors
4172
+ summary
4173
+ bannerImage
4174
+ timePublished
4175
+ category
4176
+ topics
4177
+ logo
4178
+ createdAt
4179
+ updatedAt
4180
+ }
4181
+ asset {
4182
+ id
4183
+ symbol
4184
+ name
4185
+ type
4186
+ logoUrl
4187
+ description
4188
+ cik
4189
+ exchange
4190
+ currency
4191
+ country
4192
+ sector
4193
+ industry
4194
+ address
4195
+ officialSite
4196
+ fiscalYearEnd
4197
+ latestQuarter
4198
+ marketCapitalization
4199
+ ebitda
4200
+ peRatio
4201
+ pegRatio
4202
+ bookValue
4203
+ dividendPerShare
4204
+ dividendYield
4205
+ eps
4206
+ revenuePerShareTTM
4207
+ profitMargin
4208
+ operatingMarginTTM
4209
+ returnOnAssetsTTM
4210
+ returnOnEquityTTM
4211
+ revenueTTM
4212
+ grossProfitTTM
4213
+ dilutedEPSTTM
4214
+ quarterlyEarningsGrowthYOY
4215
+ quarterlyRevenueGrowthYOY
4216
+ analystTargetPrice
4217
+ analystRatingStrongBuy
4218
+ analystRatingBuy
4219
+ analystRatingHold
4220
+ analystRatingSell
4221
+ analystRatingStrongSell
4222
+ trailingPE
4223
+ forwardPE
4224
+ priceToSalesRatioTTM
4225
+ priceToBookRatio
4226
+ evToRevenue
4227
+ evToEbitda
4228
+ beta
4229
+ week52High
4230
+ week52Low
4231
+ day50MovingAverage
4232
+ day200MovingAverage
4233
+ sharesOutstanding
4234
+ dividendDate
4235
+ exDividendDate
4236
+ askPrice
4237
+ bidPrice
4238
+ createdAt
4239
+ updatedAt
4240
+ }
4241
+ relevancyScore
4242
+ sentimentScore
4243
+ sentimentLabel }
4244
+ }
4245
+ actions {
4246
+ id
4247
+ sequence
4248
+ tradeId
4249
+ type
4250
+ note
4251
+ status
4252
+ fee
4253
+ order { id
4254
+ clientOrderId
4255
+ alpacaAccountId
4256
+ assetId
4257
+ qty
4258
+ notional
4259
+ side
4260
+ type
4261
+ orderClass
4262
+ timeInForce
4263
+ limitPrice
4264
+ stopPrice
4265
+ stopLoss {
4266
+ id
4267
+ stopPrice
4268
+ limitPrice
4269
+ createdAt
4270
+ updatedAt
4271
+ orderId
4272
+ }
4273
+ takeProfit {
4274
+ id
4275
+ limitPrice
4276
+ stopPrice
4277
+ createdAt
4278
+ updatedAt
4279
+ orderId
4280
+ }
4281
+ trailPrice
4282
+ trailPercent
4283
+ extendedHours
4284
+ status
4285
+ createdAt
4286
+ updatedAt
4287
+ submittedAt
4288
+ filledAt
4289
+ filledAvgPrice
4290
+ actionId
4291
+ alpacaAccount {
4292
+ id
4293
+ type
4294
+ APIKey
4295
+ APISecret
4296
+ configuration
4297
+ marketOpen
4298
+ minOrderSize
4299
+ maxOrderSize
4300
+ minPercentageChange
4301
+ volumeThreshold
4302
+ userId
4303
+ createdAt
4304
+ updatedAt
4305
+ alerts { id }
4306
+ }
4307
+ action {
4308
+ id
4309
+ sequence
4310
+ tradeId
4311
+ type
4312
+ note
4313
+ status
4314
+ fee
4315
+ }
4316
+ asset {
4317
+ id
4318
+ symbol
4319
+ name
4320
+ type
4321
+ logoUrl
4322
+ description
4323
+ cik
4324
+ exchange
4325
+ currency
4326
+ country
4327
+ sector
4328
+ industry
4329
+ address
4330
+ officialSite
4331
+ fiscalYearEnd
4332
+ latestQuarter
4333
+ marketCapitalization
4334
+ ebitda
4335
+ peRatio
4336
+ pegRatio
4337
+ bookValue
4338
+ dividendPerShare
4339
+ dividendYield
4340
+ eps
4341
+ revenuePerShareTTM
4342
+ profitMargin
4343
+ operatingMarginTTM
4344
+ returnOnAssetsTTM
4345
+ returnOnEquityTTM
4346
+ revenueTTM
4347
+ grossProfitTTM
4348
+ dilutedEPSTTM
4349
+ quarterlyEarningsGrowthYOY
4350
+ quarterlyRevenueGrowthYOY
4351
+ analystTargetPrice
4352
+ analystRatingStrongBuy
4353
+ analystRatingBuy
4354
+ analystRatingHold
4355
+ analystRatingSell
4356
+ analystRatingStrongSell
4357
+ trailingPE
4358
+ forwardPE
4359
+ priceToSalesRatioTTM
4360
+ priceToBookRatio
4361
+ evToRevenue
4362
+ evToEbitda
4363
+ beta
4364
+ week52High
4365
+ week52Low
4366
+ day50MovingAverage
4367
+ day200MovingAverage
4368
+ sharesOutstanding
4369
+ dividendDate
4370
+ exDividendDate
4371
+ askPrice
4372
+ bidPrice
4373
+ createdAt
4374
+ updatedAt
4375
+ trades { id }
4376
+ orders { id }
4377
+ }
4378
+ fee
4379
+ strikePrice
4380
+ expirationDate
4381
+ optionType
4382
+ stopLossId
4383
+ takeProfitId }
4384
+ } }
4385
+ orders { id
4386
+ clientOrderId
4387
+ alpacaAccountId
4388
+ assetId
4389
+ qty
4390
+ notional
4391
+ side
4392
+ type
4393
+ orderClass
4394
+ timeInForce
4395
+ limitPrice
4396
+ stopPrice
4397
+ stopLoss {
4398
+ id
4399
+ stopPrice
4400
+ limitPrice
4401
+ createdAt
4402
+ updatedAt
4403
+ orderId
4404
+ }
4405
+ takeProfit {
4406
+ id
4407
+ limitPrice
4408
+ stopPrice
4409
+ createdAt
4410
+ updatedAt
4411
+ orderId
4412
+ }
4413
+ trailPrice
4414
+ trailPercent
4415
+ extendedHours
4416
+ status
4417
+ createdAt
4418
+ updatedAt
4419
+ submittedAt
4420
+ filledAt
4421
+ filledAvgPrice
4422
+ actionId
4423
+ alpacaAccount {
4424
+ id
4425
+ type
4426
+ APIKey
4427
+ APISecret
4428
+ configuration
4429
+ marketOpen
4430
+ minOrderSize
4431
+ maxOrderSize
4432
+ minPercentageChange
4433
+ volumeThreshold
4434
+ userId
4435
+ createdAt
4436
+ updatedAt
4437
+ alerts { id }
4438
+ }
4439
+ action {
4440
+ id
4441
+ sequence
4442
+ tradeId
4443
+ type
4444
+ note
4445
+ status
4446
+ fee
4447
+ }
4448
+ asset {
4449
+ id
4450
+ symbol
4451
+ name
4452
+ type
4453
+ logoUrl
4454
+ description
4455
+ cik
4456
+ exchange
4457
+ currency
4458
+ country
4459
+ sector
4460
+ industry
4461
+ address
4462
+ officialSite
4463
+ fiscalYearEnd
4464
+ latestQuarter
4465
+ marketCapitalization
4466
+ ebitda
4467
+ peRatio
4468
+ pegRatio
4469
+ bookValue
4470
+ dividendPerShare
4471
+ dividendYield
4472
+ eps
4473
+ revenuePerShareTTM
4474
+ profitMargin
4475
+ operatingMarginTTM
4476
+ returnOnAssetsTTM
4477
+ returnOnEquityTTM
4478
+ revenueTTM
4479
+ grossProfitTTM
4480
+ dilutedEPSTTM
4481
+ quarterlyEarningsGrowthYOY
4482
+ quarterlyRevenueGrowthYOY
4483
+ analystTargetPrice
4484
+ analystRatingStrongBuy
4485
+ analystRatingBuy
4486
+ analystRatingHold
4487
+ analystRatingSell
4488
+ analystRatingStrongSell
4489
+ trailingPE
4490
+ forwardPE
4491
+ priceToSalesRatioTTM
4492
+ priceToBookRatio
4493
+ evToRevenue
4494
+ evToEbitda
4495
+ beta
4496
+ week52High
4497
+ week52Low
4498
+ day50MovingAverage
4499
+ day200MovingAverage
4500
+ sharesOutstanding
4501
+ dividendDate
4502
+ exDividendDate
4503
+ askPrice
4504
+ bidPrice
4505
+ createdAt
4506
+ updatedAt
4507
+ trades { id
4508
+ alpacaAccountId
4509
+ assetId
4510
+ qty
4511
+ price
4512
+ total
4513
+ optionType
4514
+ signal
4515
+ strategy
4516
+ analysis
4517
+ summary
4518
+ confidence
4519
+ timestamp
4520
+ createdAt
4521
+ updatedAt
4522
+ status
4523
+ alpacaAccount {
4524
+ id
4525
+ type
4526
+ APIKey
4527
+ APISecret
4528
+ configuration
4529
+ marketOpen
4530
+ minOrderSize
4531
+ maxOrderSize
4532
+ minPercentageChange
4533
+ volumeThreshold
4534
+ user { id }
4535
+ userId
4536
+ createdAt
4537
+ updatedAt
4538
+ trades { id }
4539
+ orders { id }
4540
+ positions { id }
4541
+ alerts { id }
4542
+ }
4543
+ asset {
4544
+ id
4545
+ symbol
4546
+ name
4547
+ type
4548
+ logoUrl
4549
+ description
4550
+ cik
4551
+ exchange
4552
+ currency
4553
+ country
4554
+ sector
4555
+ industry
4556
+ address
4557
+ officialSite
4558
+ fiscalYearEnd
4559
+ latestQuarter
4560
+ marketCapitalization
4561
+ ebitda
4562
+ peRatio
4563
+ pegRatio
4564
+ bookValue
4565
+ dividendPerShare
4566
+ dividendYield
4567
+ eps
4568
+ revenuePerShareTTM
4569
+ profitMargin
4570
+ operatingMarginTTM
4571
+ returnOnAssetsTTM
4572
+ returnOnEquityTTM
4573
+ revenueTTM
4574
+ grossProfitTTM
4575
+ dilutedEPSTTM
4576
+ quarterlyEarningsGrowthYOY
4577
+ quarterlyRevenueGrowthYOY
4578
+ analystTargetPrice
4579
+ analystRatingStrongBuy
4580
+ analystRatingBuy
4581
+ analystRatingHold
4582
+ analystRatingSell
4583
+ analystRatingStrongSell
4584
+ trailingPE
4585
+ forwardPE
4586
+ priceToSalesRatioTTM
4587
+ priceToBookRatio
4588
+ evToRevenue
4589
+ evToEbitda
4590
+ beta
4591
+ week52High
4592
+ week52Low
4593
+ day50MovingAverage
4594
+ day200MovingAverage
4595
+ sharesOutstanding
4596
+ dividendDate
4597
+ exDividendDate
4598
+ askPrice
4599
+ bidPrice
4600
+ createdAt
4601
+ updatedAt
4602
+ newsMentions { id }
4603
+ }
4604
+ actions {
4605
+ id
4606
+ sequence
4607
+ tradeId
4608
+ type
4609
+ note
4610
+ status
4611
+ fee
4612
+ order { id }
4613
+ } }
4614
+ orders { id
4615
+ clientOrderId
4616
+ alpacaAccountId
4617
+ assetId
4618
+ qty
4619
+ notional
4620
+ side
4621
+ type
4622
+ orderClass
4623
+ timeInForce
4624
+ limitPrice
4625
+ stopPrice
4626
+ stopLoss {
4627
+ id
4628
+ stopPrice
4629
+ limitPrice
4630
+ createdAt
4631
+ updatedAt
4632
+ orderId
4633
+ }
4634
+ takeProfit {
4635
+ id
4636
+ limitPrice
4637
+ stopPrice
4638
+ createdAt
4639
+ updatedAt
4640
+ orderId
4641
+ }
4642
+ trailPrice
4643
+ trailPercent
4644
+ extendedHours
4645
+ status
4646
+ createdAt
4647
+ updatedAt
4648
+ submittedAt
4649
+ filledAt
4650
+ filledAvgPrice
4651
+ actionId
4652
+ alpacaAccount {
4653
+ id
4654
+ type
4655
+ APIKey
4656
+ APISecret
4657
+ configuration
4658
+ marketOpen
4659
+ minOrderSize
4660
+ maxOrderSize
4661
+ minPercentageChange
4662
+ volumeThreshold
4663
+ userId
4664
+ createdAt
4665
+ updatedAt
4666
+ alerts { id }
4667
+ }
4668
+ action {
4669
+ id
4670
+ sequence
4671
+ tradeId
4672
+ type
4673
+ note
4674
+ status
4675
+ fee
4676
+ }
4677
+ asset {
4678
+ id
4679
+ symbol
4680
+ name
4681
+ type
4682
+ logoUrl
4683
+ description
4684
+ cik
4685
+ exchange
4686
+ currency
4687
+ country
4688
+ sector
4689
+ industry
4690
+ address
4691
+ officialSite
4692
+ fiscalYearEnd
4693
+ latestQuarter
4694
+ marketCapitalization
4695
+ ebitda
4696
+ peRatio
4697
+ pegRatio
4698
+ bookValue
4699
+ dividendPerShare
4700
+ dividendYield
4701
+ eps
4702
+ revenuePerShareTTM
4703
+ profitMargin
4704
+ operatingMarginTTM
4705
+ returnOnAssetsTTM
4706
+ returnOnEquityTTM
4707
+ revenueTTM
4708
+ grossProfitTTM
4709
+ dilutedEPSTTM
4710
+ quarterlyEarningsGrowthYOY
4711
+ quarterlyRevenueGrowthYOY
4712
+ analystTargetPrice
4713
+ analystRatingStrongBuy
4714
+ analystRatingBuy
4715
+ analystRatingHold
4716
+ analystRatingSell
4717
+ analystRatingStrongSell
4718
+ trailingPE
4719
+ forwardPE
4720
+ priceToSalesRatioTTM
4721
+ priceToBookRatio
4722
+ evToRevenue
4723
+ evToEbitda
4724
+ beta
4725
+ week52High
4726
+ week52Low
4727
+ day50MovingAverage
4728
+ day200MovingAverage
4729
+ sharesOutstanding
4730
+ dividendDate
4731
+ exDividendDate
4732
+ askPrice
4733
+ bidPrice
4734
+ createdAt
4735
+ updatedAt
4736
+ trades { id }
4737
+ orders { id }
4738
+ }
4739
+ fee
4740
+ strikePrice
4741
+ expirationDate
4742
+ optionType
4743
+ stopLossId
4744
+ takeProfitId }
4745
+ }
4746
+ fee
4747
+ strikePrice
4748
+ expirationDate
4749
+ optionType
4750
+ stopLossId
4751
+ takeProfitId }
4752
+ positions { id
4753
+ assetId
4754
+ asset {
4755
+ id
4756
+ logoUrl
4757
+ description
4758
+ cik
4759
+ exchange
4760
+ currency
4761
+ country
4762
+ sector
4763
+ industry
4764
+ address
4765
+ officialSite
4766
+ fiscalYearEnd
4767
+ latestQuarter
4768
+ marketCapitalization
4769
+ ebitda
4770
+ peRatio
4771
+ pegRatio
4772
+ bookValue
4773
+ dividendPerShare
4774
+ dividendYield
4775
+ eps
4776
+ revenuePerShareTTM
4777
+ profitMargin
4778
+ operatingMarginTTM
4779
+ returnOnAssetsTTM
4780
+ returnOnEquityTTM
4781
+ revenueTTM
4782
+ grossProfitTTM
4783
+ dilutedEPSTTM
4784
+ quarterlyEarningsGrowthYOY
4785
+ quarterlyRevenueGrowthYOY
4786
+ analystTargetPrice
4787
+ analystRatingStrongBuy
4788
+ analystRatingBuy
4789
+ analystRatingHold
4790
+ analystRatingSell
4791
+ analystRatingStrongSell
4792
+ trailingPE
4793
+ forwardPE
4794
+ priceToSalesRatioTTM
4795
+ priceToBookRatio
4796
+ evToRevenue
4797
+ evToEbitda
2851
4798
  beta
2852
4799
  week52High
2853
4800
  week52Low
@@ -2965,6 +4912,7 @@ exports.Position = `
2965
4912
  note
2966
4913
  status
2967
4914
  fee
4915
+ order { id }
2968
4916
  } }
2969
4917
  orders { id
2970
4918
  clientOrderId
@@ -3689,6 +5637,7 @@ exports.Position = `
3689
5637
  note
3690
5638
  status
3691
5639
  fee
5640
+ order { id }
3692
5641
  } }
3693
5642
  orders { id
3694
5643
  clientOrderId
@@ -4500,6 +6449,137 @@ exports.Position = `
4500
6449
  note
4501
6450
  status
4502
6451
  fee
6452
+ order { id
6453
+ clientOrderId
6454
+ alpacaAccountId
6455
+ assetId
6456
+ qty
6457
+ notional
6458
+ side
6459
+ type
6460
+ orderClass
6461
+ timeInForce
6462
+ limitPrice
6463
+ stopPrice
6464
+ stopLoss {
6465
+ id
6466
+ stopPrice
6467
+ limitPrice
6468
+ createdAt
6469
+ updatedAt
6470
+ orderId
6471
+ }
6472
+ takeProfit {
6473
+ id
6474
+ limitPrice
6475
+ stopPrice
6476
+ createdAt
6477
+ updatedAt
6478
+ orderId
6479
+ }
6480
+ trailPrice
6481
+ trailPercent
6482
+ extendedHours
6483
+ status
6484
+ createdAt
6485
+ updatedAt
6486
+ submittedAt
6487
+ filledAt
6488
+ filledAvgPrice
6489
+ actionId
6490
+ alpacaAccount {
6491
+ id
6492
+ type
6493
+ APIKey
6494
+ APISecret
6495
+ configuration
6496
+ marketOpen
6497
+ minOrderSize
6498
+ maxOrderSize
6499
+ minPercentageChange
6500
+ volumeThreshold
6501
+ userId
6502
+ createdAt
6503
+ updatedAt
6504
+ alerts { id }
6505
+ }
6506
+ action {
6507
+ id
6508
+ sequence
6509
+ tradeId
6510
+ type
6511
+ note
6512
+ status
6513
+ fee
6514
+ }
6515
+ asset {
6516
+ id
6517
+ symbol
6518
+ name
6519
+ type
6520
+ logoUrl
6521
+ description
6522
+ cik
6523
+ exchange
6524
+ currency
6525
+ country
6526
+ sector
6527
+ industry
6528
+ address
6529
+ officialSite
6530
+ fiscalYearEnd
6531
+ latestQuarter
6532
+ marketCapitalization
6533
+ ebitda
6534
+ peRatio
6535
+ pegRatio
6536
+ bookValue
6537
+ dividendPerShare
6538
+ dividendYield
6539
+ eps
6540
+ revenuePerShareTTM
6541
+ profitMargin
6542
+ operatingMarginTTM
6543
+ returnOnAssetsTTM
6544
+ returnOnEquityTTM
6545
+ revenueTTM
6546
+ grossProfitTTM
6547
+ dilutedEPSTTM
6548
+ quarterlyEarningsGrowthYOY
6549
+ quarterlyRevenueGrowthYOY
6550
+ analystTargetPrice
6551
+ analystRatingStrongBuy
6552
+ analystRatingBuy
6553
+ analystRatingHold
6554
+ analystRatingSell
6555
+ analystRatingStrongSell
6556
+ trailingPE
6557
+ forwardPE
6558
+ priceToSalesRatioTTM
6559
+ priceToBookRatio
6560
+ evToRevenue
6561
+ evToEbitda
6562
+ beta
6563
+ week52High
6564
+ week52Low
6565
+ day50MovingAverage
6566
+ day200MovingAverage
6567
+ sharesOutstanding
6568
+ dividendDate
6569
+ exDividendDate
6570
+ askPrice
6571
+ bidPrice
6572
+ createdAt
6573
+ updatedAt
6574
+ trades { id }
6575
+ orders { id }
6576
+ }
6577
+ fee
6578
+ strikePrice
6579
+ expirationDate
6580
+ optionType
6581
+ stopLossId
6582
+ takeProfitId }
4503
6583
  } }
4504
6584
  orders { id
4505
6585
  clientOrderId
@@ -4728,6 +6808,7 @@ exports.Position = `
4728
6808
  note
4729
6809
  status
4730
6810
  fee
6811
+ order { id }
4731
6812
  } }
4732
6813
  orders { id
4733
6814
  clientOrderId
@@ -5030,6 +7111,7 @@ exports.Position = `
5030
7111
  note
5031
7112
  status
5032
7113
  fee
7114
+ order { id }
5033
7115
  } }
5034
7116
  orders { id
5035
7117
  clientOrderId
@@ -5754,6 +7836,7 @@ exports.Position = `
5754
7836
  note
5755
7837
  status
5756
7838
  fee
7839
+ order { id }
5757
7840
  } }
5758
7841
  orders { id
5759
7842
  clientOrderId
@@ -6480,21 +8563,156 @@ exports.Position = `
6480
8563
  url
6481
8564
  news {
6482
8565
  id
6483
- title
6484
- content
6485
- source
6486
- sourceDomain
6487
- url
6488
- sentiment
6489
- authors
6490
- summary
6491
- bannerImage
6492
- timePublished
6493
- category
6494
- topics
6495
- logo
8566
+ title
8567
+ content
8568
+ source
8569
+ sourceDomain
8570
+ url
8571
+ sentiment
8572
+ authors
8573
+ summary
8574
+ bannerImage
8575
+ timePublished
8576
+ category
8577
+ topics
8578
+ logo
8579
+ createdAt
8580
+ updatedAt
8581
+ }
8582
+ asset {
8583
+ id
8584
+ symbol
8585
+ name
8586
+ type
8587
+ logoUrl
8588
+ description
8589
+ cik
8590
+ exchange
8591
+ currency
8592
+ country
8593
+ sector
8594
+ industry
8595
+ address
8596
+ officialSite
8597
+ fiscalYearEnd
8598
+ latestQuarter
8599
+ marketCapitalization
8600
+ ebitda
8601
+ peRatio
8602
+ pegRatio
8603
+ bookValue
8604
+ dividendPerShare
8605
+ dividendYield
8606
+ eps
8607
+ revenuePerShareTTM
8608
+ profitMargin
8609
+ operatingMarginTTM
8610
+ returnOnAssetsTTM
8611
+ returnOnEquityTTM
8612
+ revenueTTM
8613
+ grossProfitTTM
8614
+ dilutedEPSTTM
8615
+ quarterlyEarningsGrowthYOY
8616
+ quarterlyRevenueGrowthYOY
8617
+ analystTargetPrice
8618
+ analystRatingStrongBuy
8619
+ analystRatingBuy
8620
+ analystRatingHold
8621
+ analystRatingSell
8622
+ analystRatingStrongSell
8623
+ trailingPE
8624
+ forwardPE
8625
+ priceToSalesRatioTTM
8626
+ priceToBookRatio
8627
+ evToRevenue
8628
+ evToEbitda
8629
+ beta
8630
+ week52High
8631
+ week52Low
8632
+ day50MovingAverage
8633
+ day200MovingAverage
8634
+ sharesOutstanding
8635
+ dividendDate
8636
+ exDividendDate
8637
+ askPrice
8638
+ bidPrice
8639
+ createdAt
8640
+ updatedAt
8641
+ }
8642
+ relevancyScore
8643
+ sentimentScore
8644
+ sentimentLabel }
8645
+ }
8646
+ actions {
8647
+ id
8648
+ sequence
8649
+ tradeId
8650
+ type
8651
+ note
8652
+ status
8653
+ fee
8654
+ order { id
8655
+ clientOrderId
8656
+ alpacaAccountId
8657
+ assetId
8658
+ qty
8659
+ notional
8660
+ side
8661
+ type
8662
+ orderClass
8663
+ timeInForce
8664
+ limitPrice
8665
+ stopPrice
8666
+ stopLoss {
8667
+ id
8668
+ stopPrice
8669
+ limitPrice
8670
+ createdAt
8671
+ updatedAt
8672
+ orderId
8673
+ }
8674
+ takeProfit {
8675
+ id
8676
+ limitPrice
8677
+ stopPrice
8678
+ createdAt
8679
+ updatedAt
8680
+ orderId
8681
+ }
8682
+ trailPrice
8683
+ trailPercent
8684
+ extendedHours
8685
+ status
8686
+ createdAt
8687
+ updatedAt
8688
+ submittedAt
8689
+ filledAt
8690
+ filledAvgPrice
8691
+ actionId
8692
+ alpacaAccount {
8693
+ id
8694
+ type
8695
+ APIKey
8696
+ APISecret
8697
+ configuration
8698
+ marketOpen
8699
+ minOrderSize
8700
+ maxOrderSize
8701
+ minPercentageChange
8702
+ volumeThreshold
8703
+ userId
6496
8704
  createdAt
6497
8705
  updatedAt
8706
+ alerts { id }
8707
+ }
8708
+ action {
8709
+ id
8710
+ sequence
8711
+ tradeId
8712
+ type
8713
+ note
8714
+ status
8715
+ fee
6498
8716
  }
6499
8717
  asset {
6500
8718
  id
@@ -6555,19 +8773,251 @@ exports.Position = `
6555
8773
  bidPrice
6556
8774
  createdAt
6557
8775
  updatedAt
8776
+ trades { id
8777
+ alpacaAccountId
8778
+ assetId
8779
+ qty
8780
+ price
8781
+ total
8782
+ optionType
8783
+ signal
8784
+ strategy
8785
+ analysis
8786
+ summary
8787
+ confidence
8788
+ timestamp
8789
+ createdAt
8790
+ updatedAt
8791
+ status
8792
+ alpacaAccount {
8793
+ id
8794
+ type
8795
+ APIKey
8796
+ APISecret
8797
+ configuration
8798
+ marketOpen
8799
+ minOrderSize
8800
+ maxOrderSize
8801
+ minPercentageChange
8802
+ volumeThreshold
8803
+ user { id }
8804
+ userId
8805
+ createdAt
8806
+ updatedAt
8807
+ trades { id }
8808
+ orders { id }
8809
+ positions { id }
8810
+ alerts { id }
8811
+ }
8812
+ asset {
8813
+ id
8814
+ symbol
8815
+ name
8816
+ type
8817
+ logoUrl
8818
+ description
8819
+ cik
8820
+ exchange
8821
+ currency
8822
+ country
8823
+ sector
8824
+ industry
8825
+ address
8826
+ officialSite
8827
+ fiscalYearEnd
8828
+ latestQuarter
8829
+ marketCapitalization
8830
+ ebitda
8831
+ peRatio
8832
+ pegRatio
8833
+ bookValue
8834
+ dividendPerShare
8835
+ dividendYield
8836
+ eps
8837
+ revenuePerShareTTM
8838
+ profitMargin
8839
+ operatingMarginTTM
8840
+ returnOnAssetsTTM
8841
+ returnOnEquityTTM
8842
+ revenueTTM
8843
+ grossProfitTTM
8844
+ dilutedEPSTTM
8845
+ quarterlyEarningsGrowthYOY
8846
+ quarterlyRevenueGrowthYOY
8847
+ analystTargetPrice
8848
+ analystRatingStrongBuy
8849
+ analystRatingBuy
8850
+ analystRatingHold
8851
+ analystRatingSell
8852
+ analystRatingStrongSell
8853
+ trailingPE
8854
+ forwardPE
8855
+ priceToSalesRatioTTM
8856
+ priceToBookRatio
8857
+ evToRevenue
8858
+ evToEbitda
8859
+ beta
8860
+ week52High
8861
+ week52Low
8862
+ day50MovingAverage
8863
+ day200MovingAverage
8864
+ sharesOutstanding
8865
+ dividendDate
8866
+ exDividendDate
8867
+ askPrice
8868
+ bidPrice
8869
+ createdAt
8870
+ updatedAt
8871
+ newsMentions { id }
8872
+ }
8873
+ actions {
8874
+ id
8875
+ sequence
8876
+ tradeId
8877
+ type
8878
+ note
8879
+ status
8880
+ fee
8881
+ order { id }
8882
+ } }
8883
+ orders { id
8884
+ clientOrderId
8885
+ alpacaAccountId
8886
+ assetId
8887
+ qty
8888
+ notional
8889
+ side
8890
+ type
8891
+ orderClass
8892
+ timeInForce
8893
+ limitPrice
8894
+ stopPrice
8895
+ stopLoss {
8896
+ id
8897
+ stopPrice
8898
+ limitPrice
8899
+ createdAt
8900
+ updatedAt
8901
+ orderId
8902
+ }
8903
+ takeProfit {
8904
+ id
8905
+ limitPrice
8906
+ stopPrice
8907
+ createdAt
8908
+ updatedAt
8909
+ orderId
8910
+ }
8911
+ trailPrice
8912
+ trailPercent
8913
+ extendedHours
8914
+ status
8915
+ createdAt
8916
+ updatedAt
8917
+ submittedAt
8918
+ filledAt
8919
+ filledAvgPrice
8920
+ actionId
8921
+ alpacaAccount {
8922
+ id
8923
+ type
8924
+ APIKey
8925
+ APISecret
8926
+ configuration
8927
+ marketOpen
8928
+ minOrderSize
8929
+ maxOrderSize
8930
+ minPercentageChange
8931
+ volumeThreshold
8932
+ userId
8933
+ createdAt
8934
+ updatedAt
8935
+ alerts { id }
8936
+ }
8937
+ action {
8938
+ id
8939
+ sequence
8940
+ tradeId
8941
+ type
8942
+ note
8943
+ status
8944
+ fee
8945
+ }
8946
+ asset {
8947
+ id
8948
+ symbol
8949
+ name
8950
+ type
8951
+ logoUrl
8952
+ description
8953
+ cik
8954
+ exchange
8955
+ currency
8956
+ country
8957
+ sector
8958
+ industry
8959
+ address
8960
+ officialSite
8961
+ fiscalYearEnd
8962
+ latestQuarter
8963
+ marketCapitalization
8964
+ ebitda
8965
+ peRatio
8966
+ pegRatio
8967
+ bookValue
8968
+ dividendPerShare
8969
+ dividendYield
8970
+ eps
8971
+ revenuePerShareTTM
8972
+ profitMargin
8973
+ operatingMarginTTM
8974
+ returnOnAssetsTTM
8975
+ returnOnEquityTTM
8976
+ revenueTTM
8977
+ grossProfitTTM
8978
+ dilutedEPSTTM
8979
+ quarterlyEarningsGrowthYOY
8980
+ quarterlyRevenueGrowthYOY
8981
+ analystTargetPrice
8982
+ analystRatingStrongBuy
8983
+ analystRatingBuy
8984
+ analystRatingHold
8985
+ analystRatingSell
8986
+ analystRatingStrongSell
8987
+ trailingPE
8988
+ forwardPE
8989
+ priceToSalesRatioTTM
8990
+ priceToBookRatio
8991
+ evToRevenue
8992
+ evToEbitda
8993
+ beta
8994
+ week52High
8995
+ week52Low
8996
+ day50MovingAverage
8997
+ day200MovingAverage
8998
+ sharesOutstanding
8999
+ dividendDate
9000
+ exDividendDate
9001
+ askPrice
9002
+ bidPrice
9003
+ createdAt
9004
+ updatedAt
9005
+ trades { id }
9006
+ orders { id }
9007
+ }
9008
+ fee
9009
+ strikePrice
9010
+ expirationDate
9011
+ optionType
9012
+ stopLossId
9013
+ takeProfitId }
6558
9014
  }
6559
- relevancyScore
6560
- sentimentScore
6561
- sentimentLabel }
6562
- }
6563
- actions {
6564
- id
6565
- sequence
6566
- tradeId
6567
- type
6568
- note
6569
- status
6570
- fee
9015
+ fee
9016
+ strikePrice
9017
+ expirationDate
9018
+ optionType
9019
+ stopLossId
9020
+ takeProfitId }
6571
9021
  } }
6572
9022
  orders { id
6573
9023
  clientOrderId
@@ -6880,6 +9330,137 @@ exports.Position = `
6880
9330
  note
6881
9331
  status
6882
9332
  fee
9333
+ order { id
9334
+ clientOrderId
9335
+ alpacaAccountId
9336
+ assetId
9337
+ qty
9338
+ notional
9339
+ side
9340
+ type
9341
+ orderClass
9342
+ timeInForce
9343
+ limitPrice
9344
+ stopPrice
9345
+ stopLoss {
9346
+ id
9347
+ stopPrice
9348
+ limitPrice
9349
+ createdAt
9350
+ updatedAt
9351
+ orderId
9352
+ }
9353
+ takeProfit {
9354
+ id
9355
+ limitPrice
9356
+ stopPrice
9357
+ createdAt
9358
+ updatedAt
9359
+ orderId
9360
+ }
9361
+ trailPrice
9362
+ trailPercent
9363
+ extendedHours
9364
+ status
9365
+ createdAt
9366
+ updatedAt
9367
+ submittedAt
9368
+ filledAt
9369
+ filledAvgPrice
9370
+ actionId
9371
+ alpacaAccount {
9372
+ id
9373
+ type
9374
+ APIKey
9375
+ APISecret
9376
+ configuration
9377
+ marketOpen
9378
+ minOrderSize
9379
+ maxOrderSize
9380
+ minPercentageChange
9381
+ volumeThreshold
9382
+ userId
9383
+ createdAt
9384
+ updatedAt
9385
+ alerts { id }
9386
+ }
9387
+ action {
9388
+ id
9389
+ sequence
9390
+ tradeId
9391
+ type
9392
+ note
9393
+ status
9394
+ fee
9395
+ }
9396
+ asset {
9397
+ id
9398
+ symbol
9399
+ name
9400
+ type
9401
+ logoUrl
9402
+ description
9403
+ cik
9404
+ exchange
9405
+ currency
9406
+ country
9407
+ sector
9408
+ industry
9409
+ address
9410
+ officialSite
9411
+ fiscalYearEnd
9412
+ latestQuarter
9413
+ marketCapitalization
9414
+ ebitda
9415
+ peRatio
9416
+ pegRatio
9417
+ bookValue
9418
+ dividendPerShare
9419
+ dividendYield
9420
+ eps
9421
+ revenuePerShareTTM
9422
+ profitMargin
9423
+ operatingMarginTTM
9424
+ returnOnAssetsTTM
9425
+ returnOnEquityTTM
9426
+ revenueTTM
9427
+ grossProfitTTM
9428
+ dilutedEPSTTM
9429
+ quarterlyEarningsGrowthYOY
9430
+ quarterlyRevenueGrowthYOY
9431
+ analystTargetPrice
9432
+ analystRatingStrongBuy
9433
+ analystRatingBuy
9434
+ analystRatingHold
9435
+ analystRatingSell
9436
+ analystRatingStrongSell
9437
+ trailingPE
9438
+ forwardPE
9439
+ priceToSalesRatioTTM
9440
+ priceToBookRatio
9441
+ evToRevenue
9442
+ evToEbitda
9443
+ beta
9444
+ week52High
9445
+ week52Low
9446
+ day50MovingAverage
9447
+ day200MovingAverage
9448
+ sharesOutstanding
9449
+ dividendDate
9450
+ exDividendDate
9451
+ askPrice
9452
+ bidPrice
9453
+ createdAt
9454
+ updatedAt
9455
+ trades { id }
9456
+ orders { id }
9457
+ }
9458
+ fee
9459
+ strikePrice
9460
+ expirationDate
9461
+ optionType
9462
+ stopLossId
9463
+ takeProfitId }
6883
9464
  } }
6884
9465
  orders { id
6885
9466
  clientOrderId
@@ -7108,6 +9689,7 @@ exports.Position = `
7108
9689
  note
7109
9690
  status
7110
9691
  fee
9692
+ order { id }
7111
9693
  } }
7112
9694
  orders { id
7113
9695
  clientOrderId
@@ -7409,25 +9991,160 @@ exports.Position = `
7409
9991
  updatedAt
7410
9992
  newsMentions { id
7411
9993
  assetId
7412
- newsArticleId
7413
- url
7414
- news {
9994
+ newsArticleId
9995
+ url
9996
+ news {
9997
+ id
9998
+ title
9999
+ content
10000
+ source
10001
+ sourceDomain
10002
+ url
10003
+ sentiment
10004
+ authors
10005
+ summary
10006
+ bannerImage
10007
+ timePublished
10008
+ category
10009
+ topics
10010
+ logo
10011
+ createdAt
10012
+ updatedAt
10013
+ }
10014
+ asset {
10015
+ id
10016
+ symbol
10017
+ name
10018
+ type
10019
+ logoUrl
10020
+ description
10021
+ cik
10022
+ exchange
10023
+ currency
10024
+ country
10025
+ sector
10026
+ industry
10027
+ address
10028
+ officialSite
10029
+ fiscalYearEnd
10030
+ latestQuarter
10031
+ marketCapitalization
10032
+ ebitda
10033
+ peRatio
10034
+ pegRatio
10035
+ bookValue
10036
+ dividendPerShare
10037
+ dividendYield
10038
+ eps
10039
+ revenuePerShareTTM
10040
+ profitMargin
10041
+ operatingMarginTTM
10042
+ returnOnAssetsTTM
10043
+ returnOnEquityTTM
10044
+ revenueTTM
10045
+ grossProfitTTM
10046
+ dilutedEPSTTM
10047
+ quarterlyEarningsGrowthYOY
10048
+ quarterlyRevenueGrowthYOY
10049
+ analystTargetPrice
10050
+ analystRatingStrongBuy
10051
+ analystRatingBuy
10052
+ analystRatingHold
10053
+ analystRatingSell
10054
+ analystRatingStrongSell
10055
+ trailingPE
10056
+ forwardPE
10057
+ priceToSalesRatioTTM
10058
+ priceToBookRatio
10059
+ evToRevenue
10060
+ evToEbitda
10061
+ beta
10062
+ week52High
10063
+ week52Low
10064
+ day50MovingAverage
10065
+ day200MovingAverage
10066
+ sharesOutstanding
10067
+ dividendDate
10068
+ exDividendDate
10069
+ askPrice
10070
+ bidPrice
10071
+ createdAt
10072
+ updatedAt
10073
+ }
10074
+ relevancyScore
10075
+ sentimentScore
10076
+ sentimentLabel }
10077
+ }
10078
+ actions {
10079
+ id
10080
+ sequence
10081
+ tradeId
10082
+ type
10083
+ note
10084
+ status
10085
+ fee
10086
+ order { id
10087
+ clientOrderId
10088
+ alpacaAccountId
10089
+ assetId
10090
+ qty
10091
+ notional
10092
+ side
10093
+ type
10094
+ orderClass
10095
+ timeInForce
10096
+ limitPrice
10097
+ stopPrice
10098
+ stopLoss {
7415
10099
  id
7416
- title
7417
- content
7418
- source
7419
- sourceDomain
7420
- url
7421
- sentiment
7422
- authors
7423
- summary
7424
- bannerImage
7425
- timePublished
7426
- category
7427
- topics
7428
- logo
10100
+ stopPrice
10101
+ limitPrice
10102
+ createdAt
10103
+ updatedAt
10104
+ orderId
10105
+ }
10106
+ takeProfit {
10107
+ id
10108
+ limitPrice
10109
+ stopPrice
10110
+ createdAt
10111
+ updatedAt
10112
+ orderId
10113
+ }
10114
+ trailPrice
10115
+ trailPercent
10116
+ extendedHours
10117
+ status
10118
+ createdAt
10119
+ updatedAt
10120
+ submittedAt
10121
+ filledAt
10122
+ filledAvgPrice
10123
+ actionId
10124
+ alpacaAccount {
10125
+ id
10126
+ type
10127
+ APIKey
10128
+ APISecret
10129
+ configuration
10130
+ marketOpen
10131
+ minOrderSize
10132
+ maxOrderSize
10133
+ minPercentageChange
10134
+ volumeThreshold
10135
+ userId
7429
10136
  createdAt
7430
10137
  updatedAt
10138
+ alerts { id }
10139
+ }
10140
+ action {
10141
+ id
10142
+ sequence
10143
+ tradeId
10144
+ type
10145
+ note
10146
+ status
10147
+ fee
7431
10148
  }
7432
10149
  asset {
7433
10150
  id
@@ -7488,19 +10205,15 @@ exports.Position = `
7488
10205
  bidPrice
7489
10206
  createdAt
7490
10207
  updatedAt
10208
+ trades { id }
10209
+ orders { id }
7491
10210
  }
7492
- relevancyScore
7493
- sentimentScore
7494
- sentimentLabel }
7495
- }
7496
- actions {
7497
- id
7498
- sequence
7499
- tradeId
7500
- type
7501
- note
7502
- status
7503
- fee
10211
+ fee
10212
+ strikePrice
10213
+ expirationDate
10214
+ optionType
10215
+ stopLossId
10216
+ takeProfitId }
7504
10217
  } }
7505
10218
  orders { id
7506
10219
  clientOrderId
@@ -7729,6 +10442,7 @@ exports.Position = `
7729
10442
  note
7730
10443
  status
7731
10444
  fee
10445
+ order { id }
7732
10446
  } }
7733
10447
  orders { id
7734
10448
  clientOrderId
@@ -8031,6 +10745,7 @@ exports.Position = `
8031
10745
  note
8032
10746
  status
8033
10747
  fee
10748
+ order { id }
8034
10749
  } }
8035
10750
  orders { id
8036
10751
  clientOrderId
@@ -8755,6 +11470,7 @@ exports.Position = `
8755
11470
  note
8756
11471
  status
8757
11472
  fee
11473
+ order { id }
8758
11474
  } }
8759
11475
  orders { id
8760
11476
  clientOrderId
@@ -9566,6 +12282,137 @@ exports.Position = `
9566
12282
  note
9567
12283
  status
9568
12284
  fee
12285
+ order { id
12286
+ clientOrderId
12287
+ alpacaAccountId
12288
+ assetId
12289
+ qty
12290
+ notional
12291
+ side
12292
+ type
12293
+ orderClass
12294
+ timeInForce
12295
+ limitPrice
12296
+ stopPrice
12297
+ stopLoss {
12298
+ id
12299
+ stopPrice
12300
+ limitPrice
12301
+ createdAt
12302
+ updatedAt
12303
+ orderId
12304
+ }
12305
+ takeProfit {
12306
+ id
12307
+ limitPrice
12308
+ stopPrice
12309
+ createdAt
12310
+ updatedAt
12311
+ orderId
12312
+ }
12313
+ trailPrice
12314
+ trailPercent
12315
+ extendedHours
12316
+ status
12317
+ createdAt
12318
+ updatedAt
12319
+ submittedAt
12320
+ filledAt
12321
+ filledAvgPrice
12322
+ actionId
12323
+ alpacaAccount {
12324
+ id
12325
+ type
12326
+ APIKey
12327
+ APISecret
12328
+ configuration
12329
+ marketOpen
12330
+ minOrderSize
12331
+ maxOrderSize
12332
+ minPercentageChange
12333
+ volumeThreshold
12334
+ userId
12335
+ createdAt
12336
+ updatedAt
12337
+ alerts { id }
12338
+ }
12339
+ action {
12340
+ id
12341
+ sequence
12342
+ tradeId
12343
+ type
12344
+ note
12345
+ status
12346
+ fee
12347
+ }
12348
+ asset {
12349
+ id
12350
+ symbol
12351
+ name
12352
+ type
12353
+ logoUrl
12354
+ description
12355
+ cik
12356
+ exchange
12357
+ currency
12358
+ country
12359
+ sector
12360
+ industry
12361
+ address
12362
+ officialSite
12363
+ fiscalYearEnd
12364
+ latestQuarter
12365
+ marketCapitalization
12366
+ ebitda
12367
+ peRatio
12368
+ pegRatio
12369
+ bookValue
12370
+ dividendPerShare
12371
+ dividendYield
12372
+ eps
12373
+ revenuePerShareTTM
12374
+ profitMargin
12375
+ operatingMarginTTM
12376
+ returnOnAssetsTTM
12377
+ returnOnEquityTTM
12378
+ revenueTTM
12379
+ grossProfitTTM
12380
+ dilutedEPSTTM
12381
+ quarterlyEarningsGrowthYOY
12382
+ quarterlyRevenueGrowthYOY
12383
+ analystTargetPrice
12384
+ analystRatingStrongBuy
12385
+ analystRatingBuy
12386
+ analystRatingHold
12387
+ analystRatingSell
12388
+ analystRatingStrongSell
12389
+ trailingPE
12390
+ forwardPE
12391
+ priceToSalesRatioTTM
12392
+ priceToBookRatio
12393
+ evToRevenue
12394
+ evToEbitda
12395
+ beta
12396
+ week52High
12397
+ week52Low
12398
+ day50MovingAverage
12399
+ day200MovingAverage
12400
+ sharesOutstanding
12401
+ dividendDate
12402
+ exDividendDate
12403
+ askPrice
12404
+ bidPrice
12405
+ createdAt
12406
+ updatedAt
12407
+ trades { id }
12408
+ orders { id }
12409
+ }
12410
+ fee
12411
+ strikePrice
12412
+ expirationDate
12413
+ optionType
12414
+ stopLossId
12415
+ takeProfitId }
9569
12416
  } }
9570
12417
  orders { id
9571
12418
  clientOrderId
@@ -9794,6 +12641,7 @@ exports.Position = `
9794
12641
  note
9795
12642
  status
9796
12643
  fee
12644
+ order { id }
9797
12645
  } }
9798
12646
  orders { id
9799
12647
  clientOrderId
@@ -10096,6 +12944,7 @@ exports.Position = `
10096
12944
  note
10097
12945
  status
10098
12946
  fee
12947
+ order { id }
10099
12948
  } }
10100
12949
  orders { id
10101
12950
  clientOrderId
@@ -10820,6 +13669,7 @@ exports.Position = `
10820
13669
  note
10821
13670
  status
10822
13671
  fee
13672
+ order { id }
10823
13673
  } }
10824
13674
  orders { id
10825
13675
  clientOrderId