php8.5
Home/ Manual/ reference / trader/ Trader ConfigureOptions

Trader ConfigureOptions

Trader ConfigureOptionsNameDefaultChangeableChangelogtrader.real_precision3INI_ALLSince trader 0.2.1trader.real_round_modeHALF_DOWNINI_ALLSince trader 0.3.0

Runtime Runtime

NameDefaultChangeableChangelog
trader.real_precision3INI_ALLSince trader 0.2.1
trader.real_round_modeHALF_DOWNINI_ALLSince trader 0.3.0

Title

trader.real_precisionint

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_modestring

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.

Source: reference/trader/ini.xml · from the official PHP manual (php/doc-en)