size
Parameter: size
Type: decimal
Required: No
Description:
- The amount in units to trade.
- This parameter is only taken into account if the
SizingMethod
in the MT5 connector is set toPS_Fixed
. - The
size
value represents the number of lots or units to trade. - Cannot be specified together with the
risk
parameter.
Example:
JSON
{
"size": 0.5
}
Note:
- The
size
parameter is optional. If not specified, the position size will be determined by other factors in the MT5 connector. - If
size
is specified, ensure that theSizingMethod
in the MT5 connector is set toPS_Fixed
. - Do not specify both
size
andrisk
in the same request. - Incorrect or missing
size
values may result in unexpected behavior.