-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move New Fundamental from Draft to Final
- Loading branch information
1 parent
d593eb3
commit 77decf4
Showing
108 changed files
with
314 additions
and
1,653 deletions.
There are no files selected for viewing
10 changes: 5 additions & 5 deletions
10
01 Cloud Platform/10 Live Trading/03 Data Feeds/01 US Equities/03 Universe Selection.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
...ng/03 Data Feeds/09 Brokerage Data Feeds/01 Interactive Brokers/03 Universe Selection.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
...0 Live Trading/03 Data Feeds/09 Brokerage Data Feeds/03 Tradier/03 Universe Selection.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?php | ||
<? | ||
$availability=true; | ||
$dataFeedName= "Tradier"; | ||
include(DOCS_RESOURCES."/data-feeds/universe-selection.php"); | ||
$getUniverseSelectionText("Tradier", true); | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...3 Securities/99 Asset Classes/01 US Equity/06 Corporate Fundamentals/01 Introduction.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<p>Corporate fundamental data contains all the information on the underlying company of an Equity asset and the information in their financial statements. Since corporate data contains information not found in price and alternative data, adding corporate data to your trading strategies provides you with more information so you can make more informed trading decisions. Corporate fundamental data is available through the <a href="https://www.quantconnect.com/datasets/morning-star-us-fundamentals">US Fundamental Data from Morningstar</a>. To get fundamental data into your algorithm, add a <a href="/docs/v2/writing-algorithms/universes/equity#05-Fundamentals-Selection">fundamental universe</a>.</p> | ||
<p>Corporate fundamental data contains all the information on the underlying company of an Equity asset and the information in their financial statements. Since corporate data contains information not found in price and alternative data, adding corporate data to your trading strategies provides you with more information so you can make more informed trading decisions. Corporate fundamental data is available through the <a href="https://www.quantconnect.com/datasets/morning-star-us-fundamentals">US Fundamental Data from Morningstar</a>.</p> |
File renamed without changes.
8 changes: 0 additions & 8 deletions
8
...s/03 Securities/99 Asset Classes/01 US Equity/06 Corporate Fundamentals/02 Properties.php
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...ecurities/99 Asset Classes/01 US Equity/06 Corporate Fundamentals/03 Historical Data.html
This file was deleted.
Oops, something went wrong.
File renamed without changes.
1 change: 0 additions & 1 deletion
1
...3 Securities/99 Asset Classes/01 US Equity/06 Corporate Fundamentals/04 Data Updates.html
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
18 changes: 9 additions & 9 deletions
18
03 Writing Algorithms/12 Universes/01 Key Concepts/05 Selection Functions.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
<p>The following example filter function selects the 100 most liquid US Equities.</p> | ||
|
||
<div class="section-example-container"> | ||
<pre class="csharp">public class MyCoarseUniverseAlgorithm : QCAlgorithm | ||
<pre class="csharp">public class MyFundamentalUniverseAlgorithm : QCAlgorithm | ||
{ | ||
public override void Initialize() | ||
{ | ||
AddUniverse(CoarseFilterFunction); | ||
AddUniverse(FundamentalFilterFunction); | ||
} | ||
|
||
private IEnumerable<Symbol> CoarseFilterFunction(IEnumerable<CoarseFundamental> coarse) | ||
private IEnumerable<Symbol> FundamentalFilterFunction(IEnumerable<Fundamental> fundamental) | ||
{ | ||
return (from c in coarse | ||
return (from c in fundamental | ||
orderby c.DollarVolume descending | ||
select c.Symbol).Take(100); | ||
} | ||
}</pre> | ||
<pre class="python">class MyCoarseUniverseAlgorithm(QCAlgorithm): | ||
<pre class="python">class MyFundamentalUniverseAlgorithm(QCAlgorithm): | ||
def Initialize(self) -> None: | ||
self.AddUniverse(self.CoarseFilterFunction) | ||
self.AddUniverse(self.FundamentalFilterFunction) | ||
|
||
def CoarseFilterFunction(self, coarse: List[CoarseFundamental]) -> List[Symbol]: | ||
sorted_by_dollar_volume = sorted(coarse, key=lambda x: x.DollarVolume, reverse=True) | ||
def FundamentalFilterFunction(self, fundamental: List[Fundamental]) -> List[Symbol]: | ||
sorted_by_dollar_volume = sorted(fundamental, key=lambda x: x.DollarVolume, reverse=True) | ||
return [c.Symbol for c in sorted_by_dollar_volume[:100]]</pre> | ||
</div> | ||
|
||
<p>To learn how to define filter functions for other asset classes, <a href='/docs/v2/writing-algorithms/universes/custom-universes'>custom data universes</a>, or <a href='/docs/v2/writing-algorithms/universes/alternative-data-universes'>alternative data universes</a>, see the following pages in this Universes chapter.</p> | ||
<p>To learn how to define filter functions for other asset classes, <a href='/docs/v2/writing-algorithms/universes/custom-universes'>custom data universes</a>, or <a href='/docs/v2/writing-algorithms/universes/equity/alternative-data-universes'>alternative data universes</a>, see the following pages in this Universes chapter.</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...rithms/12 Universes/03 Equity/02 Fundamental Universes/11 Live Trading Considerations.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<? include(DOCS_RESOURCES."/data-feeds/us-equities/fundamental-data-availability.html"); ?> |
2 changes: 1 addition & 1 deletion
2
...02 Fundamental Universes/99 Examples.html → ...02 Fundamental Universes/99 Examples.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
03 Writing Algorithms/12 Universes/03 Equity/03 Dollar Volume Selection.html
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions
12
03 Writing Algorithms/12 Universes/03 Equity/03 ETF Constituents Universes/metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"type": "metadata", | ||
"values": { | ||
"description": "You can select a universe based on the constituents of an ETF, and then you can further filter your universe down with fundamentals.", | ||
"keywords": "ETF constituents", | ||
"og:description": "You can select a universe based on the constituents of an ETF, and then you can further filter your universe down with fundamentals.", | ||
"og:title": "Equity - Documentation QuantConnect.com", | ||
"og:type": "website", | ||
"og:site_name": "Equity - QuantConnect.com", | ||
"og:image": "https://cdn.quantconnect.com/docs/i/writing-algorithms/universes/equity.png" | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...es/08 Chain ETF and Alternative Data.html → ...es/08 Chain ETF and Alternative Data.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...s/10 Chain ETF and US Equity Options.html → ...s/10 Chain ETF and US Equity Options.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 changes: 0 additions & 82 deletions
82
03 Writing Algorithms/12 Universes/03 Equity/04 ETF Constituents Selection.html
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.