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