trader_get_compat

Get compatibility mode

Description

int trader_get_compat()

Get compatibility mode which affects the way calculations are done by all the extension functions.

Parameters

This function has no parameters.

Return Values

Returns the compatibility mode id which can be identified by TRADER_COMPATIBILITY_* series of constants.