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