锟斤拷些锟斤拷锟斤拷锟斤拷锟斤拷为锟斤拷 php.ini 锟叫碉拷锟斤拷锟斤拷影锟届。
锟斤拷锟斤拷 | 默锟斤拷 | 锟斤拷锟睫改凤拷围 | 锟斤拷锟斤拷锟斤拷志 |
---|---|---|---|
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 |
锟斤拷锟斤拷锟斤拷锟斤拷指锟斤拷募锟斤拷说锟斤拷锟斤拷
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.