« インストール手順
定義済み定数 »

実行時設定

php.ini の設定により動作が変化します。

Trader 設定オプション
名前 デフォルト 変更可能 変更履歴
trader.real_precision 3 INI_ALL Since trader 0.2.1
trader.real_round_mode HALF_DOWN INI_ALL Since trader 0.3.0

以下に設定ディレクティブに関する 簡単な説明を示します。

trader.real_precision int

All the values in the returned arrays will be rounded to this precision. However the calculations inside TA-Lib happen with unrounded values.

trader.real_round_mode string

Controls the trader real rounding policy. Valid values are HALF_UP, HALF_DOWN, HALF_EVEN and HALF_ODD. The behaviour is identical to the round() function used with the mode argument.

関連キーワード:
trader   real   実行時   precision   round   mode   values   Since   定数   変化   Trader   履歴   ディレクティブ   returned   arrays   rounded   However   calculations   inside   happen   unrounded   Controls   rounding   policy   Valid
関連する関数・ページ:
function.trader-log10   function.trader-div   function.trader-add   function.trader-tan   function.trader-beta   function.trader-cos