Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 12441

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!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>Runtime Configuration</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="trader.installation.html">Installation</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="trader.constants.html">Predefined Constants</a></div>
 <div class="up"><a href="trader.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="trader.configuration" class="section">
 <h2 class="title">Runtime Configuration</h2>
 <p class="simpara">
The behaviour of these functions is affected by settings in <var class="filename">php.ini</var>.
</p>
 <p class="para">
  <table class="doctable table">
   <caption><strong>Trader Configure Options</strong></caption>
   
    <thead>
     <tr>
      <th>Name</th>
      <th>Default</th>
      <th>Changeable</th>
      <th>Changelog</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td><a href="trader.configuration.html#ini.trader.real-precision" class="link">trader.real_precision</a></td>
      <td>3</td>
      <td>PHP_INI_ALL</td>
      <td>Since trader 0.2.1</td>
     </tr>

     <tr>
      <td><a href="trader.configuration.html#ini.trader.real-round-mode" class="link">trader.real_round_mode</a></td>
      <td>HALF_DOWN</td>
      <td>PHP_INI_ALL</td>
      <td>Since trader 0.3.0</td>
     </tr>

    </tbody>
   
  </table>

 </p>

 <p class="para">Here&#039;s a short explanation of
the configuration directives.</p>

 <p class="para">
  <dl>

   <dt id="ini.trader.real-precision">
     <span class="term">
      <em><code class="parameter">trader.real_precision</code></em>
      <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>
     </span>
     <dd>

      <p class="para">
      All the values in the returned arrays will be rounded to this precision.
      However the calculations inside TA-Lib happen with unrounded values.
      </p>
     </dd>

    </dt>

    <dt id="ini.trader.real-round-mode">
      <span class="term">
       <em><code class="parameter">trader.real_round_mode</code></em>
       <span class="type"><a href="language.types.string.html" class="type string">string</a></span>
      </span>
      <dd>

       <p class="para">
        Controls the trader real rounding policy. Valid values are <em>HALF_UP</em>,
        <em>HALF_DOWN</em>, <em>HALF_EVEN</em> and <em>HALF_ODD</em>. The behaviour is identical to the <a href="function.round.html" class="link">round()</a> function used with the mode argument.
       </p>
      </dd>

     </dt>

  </dl>

 </p>
</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="trader.installation.html">Installation</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="trader.constants.html">Predefined Constants</a></div>
 <div class="up"><a href="trader.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>