downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Predefined Constants> <Installation
[edit] Last updated: Fri, 17 May 2013

view this page in

Runtime Configuration

The behaviour of these functions is affected by settings in php.ini.

Trader Configure Options
Name Default Changeable Changelog
trader.real_precision 3 PHP_INI_ALL Since trader 0.2.1
trader.real_round_mode HALF_DOWN PHP_INI_ALL Since trader 0.3.0

Here's a short explanation of the configuration directives.

trader.real_precision integer

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.



add a note add a note User Contributed Notes Runtime Configuration - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites