uTools-Manuals/docs/php/trader_set_unstable_period.html
2019-04-28 19:00:34 +08:00

69 lines
2.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Set unstable period</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.trader-set-unstable-period" class="refentry">
<div class="refnamediv">
<h1 class="refname">trader_set_unstable_period</h1>
<p class="verinfo">(PECL trader &gt;= 0.2.2)</p><p class="refpurpose"><span class="refname">trader_set_unstable_period</span> &mdash; <span class="dc-title">Set unstable period</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.trader-set-unstable-period-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>trader_set_unstable_period</strong></span>
( <span class="methodparam"><span class="type">int</span> <code class="parameter">$functionId</code></span>
, <span class="methodparam"><span class="type">int</span> <code class="parameter">$timePeriod</code></span>
) : <span class="type"><span class="type void">void</span></span></div>
<p class="para rdfs-comment">
Influences unstable period factor for functions, which are sensible to it. More information about unstable periods can be found on the <a href="http://ta_lib.org/d_api/ta_setunstableperiod.html" class="link external">&raquo;&nbsp;TA-Lib</a> API documentation page.
</p>
</div>
<div class="refsect1 parameters" id="refsect1-function.trader-set-unstable-period-parameters">
<h3 class="title">参数</h3>
<dl>
<dt>
<code class="parameter">functionId</code></dt>
<dd>
<p class="para">
Function ID the factor should be set for. <a href="trader.constants.html" class="link">TRADER_FUNC_UNST_*</a> constant series can be used to affect the corresponding function.
</p>
</dd>
<dt>
<code class="parameter">timePeriod</code></dt>
<dd>
<p class="para">
Unstable period value.
</p>
</dd>
</dl>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.trader-set-unstable-period-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">没有返回值。</p>
</div>
</div></div></div></body></html>