forked from QuantConnect/AlphaStreams
-
Notifications
You must be signed in to change notification settings - Fork 0
/
QuantConnect_Alpha_0.5_swagger.yaml
917 lines (855 loc) · 30.7 KB
/
QuantConnect_Alpha_0.5_swagger.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
#
# QuantConnect Alpha Stream API v0.5
#
openapi: 3.0.0
#
# Introduction
#
info:
description: 'QuantConnect Alpha Streams API accesses a database of algorithms (Alphas) designed by the QuantConnect community (Authors) for predicting market movements and volatility in the future. They are created and listed for licensing by members of QuantConnect from all over the world. The API provides a system for searching, subscribing and streaming predictions (Insights) from these algorithms. Best viewed at https://app.swaggerhub.com/apis/QuantConnect/Alpha/0.5'
version: "0.5"
title: QuantConnect Alpha Stream API v0.5
termsOfService: 'https://www.quantconnect.com/terms'
contact:
name: QuantConnect
email: [email protected]
license:
name: License For Use Granted Under QuantConnect Platform Services Agreement.
#
# Servers Endpoints
#
servers:
# REST Endpoint for searching and subscribing to the Alpha insight streams:
- url: 'https://www.quantconnect.com/api/v2'
description: 'Core endpoint for RESTful services against the community alphas database.'
# HTML Website for Streaming Administration:
- url: 'https://www.quantconnect.com:15672/api/v2/alpha/insights'
description: 'Endpoint for streaming socket administration.'
# AMPQ Streaming Insights:
- url: 'ampq://{client}.quantconnect.com:5672'
description: 'RMQ Streaming socket endpoint for receiving Insights from Alphas running in QuantConnect'
variables:
client:
default: democlient
description: 'Client name assigned on creation of the account'
#
# Security Protocol
#
security:
- HttpApiKeyAuthentication: []
#
# URL Paths for API
#
paths:
# Alpha -> Read Single
'/alpha/{id}':
get:
summary: 'Retrieve Information on an Alpha Module.'
description: 'Read information about an individual Alpha from the database based on the Alpha id.'
parameters:
- name: id
in: path
description: 'Unique id hash of an Alpha published to the marketplace.'
schema:
type: string
required: true
tags:
- Alpha Search
responses:
'200':
$ref: '#/components/responses/Alpha'
'401':
$ref: '#/components/responses/UnauthorizedError'
'404':
$ref: '#/components/responses/NotFoundError'
'default':
$ref: '#/components/responses/Error'
# Alpha -> Subscribe
'/alpha/{id}/subscribe':
post:
summary: 'Subscribe to Alpha Module'
description: 'Subscribe to an Alpha given by `id` and charge the subscription the funds account. There is a minimum of 7 days subscription for a request.'
tags:
- Subscription Management
parameters:
- name: id
in: path
description: 'Unique id hash of an Alpha published to the marketplace.'
schema:
type: string
required: true
- name: exclusive
in: query
description: 'Try and subscribe to the Alpha with an exclusive preference.'
schema:
type: boolean
responses:
'200':
$ref: '#/components/responses/Success'
'401':
$ref: '#/components/responses/UnauthorizedError'
'404':
$ref: '#/components/responses/NotFoundError'
'default':
$ref: '#/components/responses/Error'
# Alpha -> Unsubscribe
'/alpha/{id}/unsubscribe':
post:
summary: 'Unsubscribe from an Alpha Module.'
description: 'Unsubscribe to the Alpha given by the id in path. Pro-rate subscription billing for remainder of them billing cycle.'
tags:
- Subscription Management
parameters:
- name: id
in: path
description: 'Unique id hash of an Alpha published to the marketplace.'
schema:
type: string
required: true
responses:
'200':
$ref: '#/components/responses/Success'
'401':
$ref: '#/components/responses/UnauthorizedError'
'404':
$ref: '#/components/responses/NotFoundError'
'default':
$ref: '#/components/responses/Error'
# Alpha -> Search
'/alpha/search':
get:
summary: 'Search Alpha Modules.'
description: 'Search endpoint for locating Alphas matching search criteria. All input values are optional and are joined with a logical AND for the filtered results.'
tags:
- Alpha Search
parameters:
- name: accuracy-minimum
description: 'Search for Alphas which have a specific accuracy minimum.'
in: query
schema:
minimum: 0
type: number
- name: accuracy-maximum
description: 'Search for Alphas which have a specific accuracy maximum.'
in: query
schema:
type: number
maximum: 1
- name: asset-classes
description: 'Comma separated value array of asset classes to search.'
in: query
schema:
type: array
items:
enum:
- equity
- forex
- future
- option
- cfd
- crypto
- name: author
description: 'Hash author id identifier to locate.'
in: query
schema:
type: string
- name: estimated-value-minimum
description: 'Search for Alphas which have the specified minimum estimated-value.'
in: query
schema:
type: number
minimum: 0
- name: estimated-value-maximum
description: 'Search for Alphas which have the specified maximum estimated-value.'
in: query
schema:
type: number
- name: fee-minimum
description: 'Fee minimum filter on the listed Alphas.'
in: query
schema:
type: number
minimum: 0
- name: fee-maximum
description: 'Fee maximum filter on the listed Alphas.'
in: query
schema:
type: number
- name: project-id
description: 'Search for Alphas created by a specific Project.'
in: query
schema:
type: integer
- name: sharpe-minimum
description: 'Search for Alphas which have the specified maximum sharpe ratio.'
in: query
schema:
type: number
- name: sharpe-maximum
description: 'Search for Alphas which have the specified maximum sharpe ratio.'
in: query
schema:
type: number
- name: symbols
description: 'Search for Alphas which utilize specific symbols. QuantConnect symbol identifier code.'
in: query
schema:
type: array
items:
$ref: '#/components/schemas/Insight'
- name: start
description: 'Starting position for the search query. With very large datasets the results can be paginated and fetched in chunks starting from start.'
in: query
schema:
type: number
default: 0
- name: uniqueness-minimum
description: 'Search for Alphas which meet the specified minimum uniqueness value relative to existing portfolio. Uniqueness is a measure of correlation of the return curve approximation.'
in: query
schema:
type: number
minimum: 0
- name: uniqueness-maximum
description: 'Search for Alphas which meet the specified maximum uniqueness value relative to existing portfolio. Uniqueness is a measure of correlation of the return curve approximation.'
in: query
schema:
type: number
minimum: 1
responses:
'200':
description: 'Successfully searched for passed query parameters; returns an array of Alpha objects.'
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Alpha'
'401':
$ref: '#/components/responses/UnauthorizedError'
'default':
$ref: '#/components/responses/Error'
'/alpha/{id}/insights':
get:
summary: 'Alpha Backtest and Live Trading Insight History.'
description: 'Fetch the Alpha Insight list(backtest and live trading) track record since publication.'
parameters:
- name: id
in: path
description: 'Unique id hash of an Alpha published to the marketplace.'
schema:
type: string
required: true
- name: start
description: 'Starting position for the search query. With very large datasets the results can be paginated and fetched in chunks starting from start.'
in: query
schema:
type: number
default: 0
tags:
- Alpha Analysis
responses:
'200':
description: 'Successfully searched for passed query parameters. Returns an array of Insight objects.'
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Insight'
'401':
$ref: '#/components/responses/UnauthorizedError'
'404':
$ref: '#/components/responses/NotFoundError'
'default':
$ref: '#/components/responses/Error'
'/alpha/{id}/prices':
get:
summary: 'Alpha Price History.'
description: 'Fetch Alpha historical listing prices.'
parameters:
- name: id
in: path
description: 'Unique id hash of an Alpha published to the marketplace.'
schema:
type: string
required: true
- name: start
description: 'Starting position for the search query. With very large datasets the results can be paginated and fetched in chunks starting from start.'
in: query
schema:
type: number
default: 0
tags:
- Alpha Analysis
responses:
'200':
description: 'Successfully returned prices. Returns an array of Price objects.'
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Price'
'401':
$ref: '#/components/responses/UnauthorizedError'
'default':
$ref: '#/components/responses/Error'
'/alpha/{id}/errors':
get:
summary: 'Alpha Runtime Error History.'
description: 'Fetch Alpha runtime errors to help correlate unknown behavior or protect against exposure when an Alpha has a production issue.'
parameters:
- name: id
in: path
description: 'Unique id hash of an Alpha published to the marketplace.'
schema:
type: string
required: true
- name: start
description: 'Starting position for the search query. With very large datasets the results can be paginated and fetched in chunks starting from start.'
in: query
schema:
type: number
default: 0
tags:
- Alpha Analysis
responses:
'200':
description: 'Successfully returned errors. Returns an array of RuntimeError objects.'
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/RuntimeError'
'401':
$ref: '#/components/responses/UnauthorizedError'
'default':
$ref: '#/components/responses/Error'
# Author -> Describe
'/alpha/author/{id}':
get:
summary: 'Specific Author Information.'
description: 'Fetch Author information by id to form models based around people.'
tags:
- Author Search
parameters:
- name: id
in: path
description: 'Unique id hash of an Author.'
schema:
type: string
required: true
responses:
'200':
$ref: '#/components/responses/Author'
'401':
$ref: '#/components/responses/UnauthorizedError'
'404':
$ref: '#/components/responses/NotFoundError'
'default':
$ref: '#/components/responses/Error'
# Author -> Search
'/alpha/author/search':
get:
summary: 'Search Author Database.'
description: 'Search Author database by query filters to locate researchers according to criteria.'
tags:
- Author Search
parameters:
- name: alphas-minimum
description: 'The minimum number of Alphas the Author has listed.'
in: query
schema:
type: integer
minimum: 0
- name: alphas-maximum
description: 'The maximum number of Alphas the Author has listed.'
in: query
schema:
type: integer
- name: biography
description: 'Search the Author biography information for this text.'
in: query
schema:
type: string
- name: forum-comments-minimum
description: 'Minimum number of comments created on QuantConnect.'
in: query
schema:
minimum: 0
type: integer
- name: forum-comments-maximum
description: 'Maximum number of comments created on QuantConnect.'
in: query
schema:
type: integer
- name: forum-discussions-minimum
description: 'Minimum number of discussions started on QuantConnect.'
in: query
schema:
minimum: 0
type: integer
- name: forum-discussions-maximum
description: 'Maximum number of discussions started on QuantConnect.'
in: query
schema:
type: integer
- name: last-login-minimum
description: 'Minimum of the unix timestamp of the Author last login on QuantConnect.'
in: query
schema:
type: integer
minimum: 0
- name: last-login-maximum
description: 'Maximum of the unix timestamp of the Author last login on QuantConnect.'
in: query
schema:
type: integer
- name: languages
description: 'Preferred programming language for the primary Author.'
in: query
schema:
type: array
items:
enum:
- C#
- Py
- name: location
description: 'Best guess geographic location of the Author based on the IP address.'
in: query
schema:
type: string
- name: projects-minimum
description: 'Minimum number of projects the user has created.'
in: query
schema:
type: integer
minimum: 0
- name: projects-maximum
description: 'Maximum number of projects the user has created.'
in: query
schema:
type: integer
- name: signed-up-minimum
description: 'The minimum unix timestamp of the Author registration on QuantConnect.'
in: query
schema:
type: integer
- name: signed-up-maximum
description: 'The maximum unix timestamp of the Author registration on QuantConnect.'
in: query
schema:
type: integer
- name: start
description: 'Starting position for the search query. With very large datasets the results can be paginated and fetched in chunks starting from start.'
in: query
schema:
type: number
default: 0
responses:
'200':
description: 'Successfully searched Authors by query parameters; returns an array of Author objects.'
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Author'
'401':
$ref: '#/components/responses/UnauthorizedError'
'default':
$ref: '#/components/responses/Error'
# Alpha -> Streaming EndPoint
'/':
get:
summary: 'Streaming Insights from Alpha Modules from Streaming AMPQ Server.'
description: 'Streaming endpoint for insight predictions from the community. All subscribed Insights will be piped to this web socket connection 24/7. The socket is AMPQ format for RabbitMQ -- *not* GET. This should be connected to with a RMQ client library.'
tags:
- Streaming RMQ Socket
responses:
'200':
description: 'Streaming, long running web socket endpoint with JSON insights streaming.'
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/InsightPacket'
'401':
$ref: '#/components/responses/UnauthorizedError'
'default':
$ref: '#/components/responses/Error'
# Model Definitions
components:
# Common Responses ->
responses:
Alpha:
description: 'Single response of Alpha module from the API.'
content:
application/json:
schema:
$ref: '#/components/schemas/Alpha'
Author:
description: 'Single response of an Author model from the API.'
content:
application/json:
schema:
$ref: '#/components/schemas/Author'
Success:
description: 'Generic success response message from the API.'
content:
application/json:
schema:
$ref: '#/components/schemas/Success'
Error:
description: 'Generic error response message from the API. '
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
RuntimeError:
description: 'Runtime error log entry for a running production Alpha.'
content:
application/json:
schema:
$ref: '#/components/schemas/RuntimeError'
NotFoundError:
description: 'The requested item, index, page was not found.'
UnauthorizedError:
description: 'Unauthorized response from the API. Key is missing or invalid.'
headers:
www_authenticate:
schema:
type: string
# Base API Security ->
securitySchemes:
HttpApiKeyAuthentication:
description: 'The standard QuantConnect API authentication scheme is used. This requires the current unix time and your api key to be hashed together and sent as the B64 password in a basic authentication. The user-name for the basic authentication is the UID on your QuantConnect account.'
type: http
scheme: basic
# Common API Models ->
schemas:
# Alpha Object Model
Alpha:
description: 'Snapshot of a Project at the time it was deployed to the marketplace, written by an Author on QuantConnect, generating Insights about Assets.'
properties:
id:
type: string
description: 'Unique hash identifier for this published Alpha.'
example: '78fc2972b9ac597369d86a0f98d9316e'
authors:
description: 'Creators of the Alpha. Sometimes users collaborate on a Project or have one trader paired with a coder. Authors can be added and removed from projects.'
type: array
items:
$ref: '#/components/schemas/Author'
asset-classes:
description: 'Asset classes predicted in this stream.'
type: array
items:
type: string
enum:
- equity
- forex
- future
- option
- cfd
- crypto
accuracy:
description: 'Daily rolling accuracy of the Alpha module over the last 30 days of insight direction score.'
type: array
items:
$ref: '#/components/schemas/Point'
analyses-performed:
description: 'Number of backtests/analysis trials used to generate this Alpha model.'
type: number
format: integer
author-trading:
type: boolean
description: 'Boolean indicating whether the author is actively trading this alpha on their own account'
description:
type: string
description: 'Author supplied paragraph description of the Alpha behavior'
estimated-depth:
description: 'Estimated market depth available for this asset based on trading volumes at the time of Insights.'
type: number
format: double
exclusive-available:
description: 'Flag to indicate if the author is open to selling the signal exclusively.'
type: boolean
exclusive-subscription-fee:
description: 'Monthly fee for exclusive access to the Alpha signal.'
type: number
format: double
estimated-effort:
description: 'Estimated number of hours the user was working on this Alpha.'
type: number
format: double
listed-time:
description: 'Unix timestamp the Alpha was listed into the marketplace.'
type: number
format: double
project:
$ref: '#/components/schemas/Project'
uniqueness:
description: 'Indicator of uniqueness in in the QuantConnect marketplace based on the assets traded and the overlap of signal with other Alphas in the Client portfolio, where percentage of overlap with other Alphas (100% is identical).'
type: number
format: double
sharpe-ratio:
description: 'Sharpe ratio of the Alpha with a $1M portfolio, equal weighting portfolio construction and immediate execution models. NOTE: This is currently not implemented.'
type: number
subscription-fee:
description: 'Monthly fee levied by the author on the Alpha signal.'
type: number
format: double
status:
description: 'Alphas are forced-running by default but after 10 production runtime errors they are taken offline.'
type: string
enum:
- running
- stopped
version:
description: 'Version of the Alpha. The production version of the Alpha.'
type: string
example: '1.0.2'
InsightPacket:
description: 'Wrapper packet to hold collection of Insight objects'
properties:
alpha-id:
description: 'Unique Alpha Id which generated this Insight'
example: '623b06b231eb1cc1aa3643a46'
algorithm-id:
description: 'Deploy id for this algorithm'
example: 'A-78fc2972b9ac597369d86a0f98d9316e'
insights:
description: 'Array of insights emitted at this timestep.'
type: array
items:
$ref: '#/components/schemas/Insight'
# Author Meta Data
Author:
description: 'Author user of QuantConnect responsible for creation of an Alpha.'
properties:
id:
type: string
description: 'Unique string hash id for Author.'
example: '623b06b231eb1cc1aa3643a46'
alphas:
description: 'String array of Alpha-Id hashes the Author has created.'
type: array
items:
type: string
alphas-listed:
type: integer
description: 'Number of Alphas Author has listed in the marketplace.'
example: 4
analysis-average-length:
type: integer
description: 'Number of days of the average analysis(backtest) length for the Author.'
example: 520
backtests:
type: integer
description: 'Lifetime number of analysis(backtests) conducted by the Author.'
example: 1300
biography:
type: string
description: 'Profile auto-biography (100-500 words).'
example: 'Physics professor from North East USA with background in nuclear fusion.'
forum-discussions:
type: integer
description: 'Number of forum discussions started by the Author.'
example: 5
forum-comments:
type: integer
description: 'Number of forum comments made by the Author.'
example: 34
language:
description: 'Author preferred programming language.'
type: string
enum:
- 'Py'
- 'C#'
example: 'Py'
last-online-time:
type: number
format: double
description: 'Unix timestamp of the last time the Author was online (Updated daily).'
example: 1520785125.21
location:
type: string
description: 'Best known estimate of the Author geographic location.'
example: 'Brooklyn, New York, US'
projects:
type: integer
description: 'Total count of the number of projects the Author has in account.'
example: 34
signup-time:
type: number
format: double
description: 'Unix timestamp of the user sign up.'
example: 1520785125.21
social-media:
type: array
description: 'Array of social media profile links.'
items:
type: string
# Insight Object returned from the stream
Insight:
description: 'Individual prediction from an Alpha.'
properties:
id:
description: 'Unique hash id of this Insight'
type: string
example: "dd9527c4dfde4b54b4c46fd95fe39049"
confidence:
description: 'Confidence of the Insight as a percentage.'
type: number
format: double
example: 0.21
created-time:
description: 'Unix timestamp for when the Alpha Insight was created.'
type: number
format: double
example: 1520785125.21
close-time:
description: 'Unix timestamp for when the Alpha Insight was closed (start + period).'
type: number
format: double
example: 1520785125.21
direction:
description: 'Direction of the insight; flat, up or down.'
type: string
enum:
- up
- down
- flat
type:
description: 'Insight prediction type category: price or volatility.'
type: string
enum:
- price
- volatility
source:
description: 'Enum indicating the Insight creation moment.'
type: string
enum:
- in sample
- out of sample
- live trading
period:
description: 'Prediction period of the insight in seconds.'
type: number
format: double
example: 600
reference-value:
description: 'Sample of the asset price at the time the insight was created'
type: number
format: double
symbol:
$ref: '#/components/schemas/Symbol'
ticker:
description: 'Current ticker for this asset'
type: string
example: "AAPL"
Price:
description: 'Record of the price of an Alpha or a bid made for it.'
properties:
time:
type: number
format: double
description: 'Unix timestamp of the last time the price was updated.'
example: 1520785125.21
price-type:
description: 'The type of price update. Can be bid, ask or trade. Only ask supported at this time.'
type: string
enum:
- bid
- ask
- trade
shared-price:
description: 'Shared price for this moment of time.'
type: number
format: double
example: 1300
exclusive-price:
description: 'Exclusive price for this moment of time.'
type: number
format: double
example: 4500
# Alpha Project Object
Project:
description: 'Project object where the Alpha source resides. One Project can have multiple generated Alphas.'
properties:
author:
$ref: '#/components/schemas/Author'
id:
description: 'Unique integer id for the Alpha Project.'
type: integer
name:
type: string
description: 'Author assigned project name.'
created-time:
type: number
format: double
example: 1520785125.21
description: 'Unix timestamp when the project was created.'
last-modified-time:
type: number
format: double
example: 1520785125.21
description: 'Unix timestamp last time the project was opened/modified.'
parent-id:
description: 'Id of the parent Project this was cloned from to start.'
type: number
format: integer
example: 1100012
# Generic success response from the API.
Success:
description: 'Generic success response message from the API.'
properties:
success:
type: boolean
example: true
# Generic error response from the API.
Error:
properties:
success:
description: 'Boolean indicating true-false; for error models this is always false.'
type: boolean
example: false
messages:
description: 'Array of error messages from the API.'
type: array
items:
type: string
# Production error recorded from an Alpha
RuntimeError:
properties:
time:
description: 'The unix timestamp of the production runtime error.'
type: number
format: double
example: 1520785125.21
error:
description: 'Error message string from the Alpha.'
type: string
stacktrace:
description: 'Stacktrace of the production error recorded from the Alpha.'
type: string
# Time Value Point
Point:
properties:
time:
description: 'Time value of a time-value pair.'
type: number
format: double
example: 1520785125.21
value:
description: 'Value of the point.'
type: number
format: double
# Unique Symbol Identifier Class
Symbol:
description: 'Uniquely identified securities-contract based on QuantConnect.Symbol type. All information to uniquely identify a contract.'
type: string
example: "AAPL R735QTJ8XC9X"