Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add C# and Python Algorithms of QC500 Constituents Generator #1663

Merged
merged 3 commits into from Mar 6, 2018
Merged

Add C# and Python Algorithms of QC500 Constituents Generator #1663

merged 3 commits into from Mar 6, 2018

Conversation

jingwu74
Copy link
Contributor

@jingwu74 jingwu74 commented Mar 5, 2018

Description

These two algorithms are examples of the generation of QC500 constituents using fundamental data. The universe contains 500 US symbols at the first trading day of each month. It is selected based on the factors of the sector, dollar volume, price, time to market and the market cap.
To qualify for the constituents of QC500

  1. The stock must have the positive previous-day close price
  2. The stock must have the positive volume on the previous trading day
  3. The company headquarter must in the U.S.
  4. The stock must be traded on either the NYSE or NASDAQ
  5. At least half a year since its initial public offering
  6. The stock's market cap must be greater than 500 million

Related Issue

#1662

Motivation and Context

The QC500 is a prescreening of the universe stocks for long/short strategies to make sure the stocks selected in those algorithms are liquid and tradeable.

Requires Documentation Change

How Has This Been Tested?

I tested the output result with the SP500 constituents list, the result is about 65% match.

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the code style of this project.
  • I have read the CONTRIBUTING document.
  • All new and existing tests passed.

@jaredbroad
Copy link
Member

Please add tags and xml comments.

@jaredbroad jaredbroad merged commit 7dcc6de into QuantConnect:master Mar 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants