-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Code generated by Writing-Algorithm-API-Ref-Code-Generator.py
- Loading branch information
1 parent
4cb5ee4
commit f6bf8d1
Showing
166 changed files
with
1,301 additions
and
563 deletions.
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
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,66 @@ | ||
<a id="A-header"></a> | ||
<div class="method-container"> | ||
|
||
<div class="method-header"> | ||
<button class="method-tag" onclick="openTopTab(event, 'Indicators')">Indicators</button> | ||
<h3>A()<span class="method-order">1/1</span></h3> | ||
<pre> | ||
<font color="#8F9CA3">Alpha</font> QuantConnect.Algorithm.QCAlgorithm.A ( | ||
 <code>Symbol</code> target, | ||
 <code>Symbol</code> reference, | ||
 <code>*Int32</code> alphaPeriod, | ||
 <code>*Int32</code> betaPeriod, | ||
 <code>*Nullable<Resolution></code> resolution, | ||
 <code>*Nullable<Decimal></code> riskFreeRate, | ||
 <code>*Func<IBaseData, IBaseDataBar></code> selector | ||
) | ||
</pre> | ||
</div> | ||
|
||
<div class="method-description"> | ||
<p>Creates a Alpha indicator for the given target symbol in relation with the reference used. The indicator will be automatically updated on the given resolution.</p> | ||
</div> | ||
|
||
<div class="details-btn"> | ||
<button class="show-hide-detail" onclick="ShowHide(event, 'A(Symbol-target,-Symbol-reference,-*Int32-alphaPeriod,-*Int32-betaPeriod,-*Nullable<Resolution>-resolution,-*Nullable<Decimal>-riskFreeRate,-*Func<IBaseData,-IBaseDataBar>-selector)-details')"><span>Show Details <img src='https://cdn.quantconnect.com/i/tu/api-chevron-show.svg' alt='arrow-show'></span></button> | ||
</div> | ||
|
||
<div class="method-details" id="A(Symbol-target,-Symbol-reference,-*Int32-alphaPeriod,-*Int32-betaPeriod,-*Nullable<Resolution>-resolution,-*Nullable<Decimal>-riskFreeRate,-*Func<IBaseData,-IBaseDataBar>-selector)-details" style="display: none;" > | ||
|
||
<div class="parameter-list"> | ||
<table class="parameter-table"> | ||
<th><strong>Parameters</strong></th> | ||
<tr><td><code>Symbol</code></td> | ||
<td>target</td> | ||
<td>The target symbol whose Alpha value we want.</td></tr> | ||
<tr><td><code>Symbol</code></td> | ||
<td>reference</td> | ||
<td>The reference symbol to compare with the target symbol.</td></tr> | ||
<tr><td><code>*Int32</code></td> | ||
<td>alphaPeriod</td> | ||
<td><span class='qualifier'>(Optional)</span> The period of the Alpha indicator.</td></tr> | ||
<tr><td><code>*Int32</code></td> | ||
<td>betaPeriod</td> | ||
<td><span class='qualifier'>(Optional)</span> The period of the Beta indicator.</td></tr> | ||
<tr><td><code>*Nullable<Resolution></code></td> | ||
<td>resolution</td> | ||
<td><span class='qualifier'>(Optional)</span> The resolution.</td></tr> | ||
<tr><td><code>*Nullable<Decimal></code></td> | ||
<td>riskFreeRate</td> | ||
<td><span class='qualifier'>(Optional)</span> The risk free rate.</td></tr> | ||
<tr><td><code>*Func<IBaseData, IBaseDataBar></code></td> | ||
<td>selector</td> | ||
<td><span class='qualifier'>(Optional)</span> Selects a value from the BaseData to send into the indicator, if None defaults to casting the input value to a TradeBar.</td></tr> | ||
</table> | ||
</div> | ||
|
||
<div class="method-return"> | ||
<h4>Return</h4> | ||
<p><code>Alpha</code> - The Alpha indicator for the given parameters.</p> | ||
</div> | ||
|
||
<div class="method-def"> | ||
<p>Definition at <a rel="nofollow" target="_blank" href="https://github.com/QuantConnect/Lean/blob/master/Algorithm/QCAlgorithm.Indicators.cs#L105">line 105 of file Algorithm/QCAlgorithm.Indicators.cs.</a></p> | ||
</div> | ||
</div> | ||
</div> |
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
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
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
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
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
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
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
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
Oops, something went wrong.