Skip to content

Commit

Permalink
Update 02 Create Universes.php
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekMelchin authored Oct 24, 2024
1 parent f7be446 commit 214f95e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@
<p>Industries are the finest level of classification available. They are the individual industries according to the Morningstar classification system. To get the industry of a stock, use the <code>MorningstarIndustryCode</code>.</p>
<div class="section-example-container">
<pre class="csharp">// List of securities in the Coal industry (more specific grouping according to Morningstar).
var coal = fundamental.Where(x =&gt; x.AssetClassification.MorningstarIndustryCode == MorningstarSectorCode.Coal);</pre>
var coal = fundamental.Where(x =&gt; x.AssetClassification.MorningstarIndustryCode == MorningstarIndustryCode.Coal);</pre>
<pre class="python"># List of securities in the Coal industry (more specific grouping according to Morningstar).
coal = [x for x in fundamental if x.asset_classification.morningstar_industry_code == MorningstarSectorCode.COAL]
coal = [x for x in fundamental if x.asset_classification.morningstar_industry_code == MorningstarIndustryCode.COAL]
</pre>
</div>

Expand Down

0 comments on commit 214f95e

Please sign in to comment.