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 to PS_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 the SizingMethod in the MT5 connector is set to PS_Fixed.
  • Do not specify both size and risk in the same request.
  • Incorrect or missing size values may result in unexpected behavior.