The margin parameters defined on this tab only impact trading on simulation accounts. How the values influence things like cash value, buying power, excess equity, etc. is dependent on the type of instrument being traded and the connection/brokerage being used.
This parameter only impacts the Initial Margin value of your simulation account as shown in the Accounts tab of the Control Center. It is only used when calculating the initial margin of stock positions and has no impact on your trade capability.
This parameter impacts the calculation of Excess Equity. Based on how many positions you currently hold, the maintenance margin is applied per position and reduces your Excess Equity. If you do not want to use this, setting it to 0 means no maintenance margin will be assessed in the Excess Equity calculations. If the order being placed is an entry order and you do not have enough Excess Equity, the order will be rejected.
Margin / unit
This parameter impacts the Cash Value calculations when trading currencies or futures; it has no relation to trades done on stocks. The Cash Value then in turn impacts the Excess Equity calculations which determines if you can successfully place your entry order or not. Note that the "Margin value" parameter in the Instrument Manager per instrument overwrites the "Margin / unit" parameter here if it is set to anything besides 0.
This Account value will either be increased or decreased based on the order quantity of trades placed against the simulation account. For currencies and futures, the order's quantity will be margin adjusted based on the "Margin / unit" parameter. They will also be weight adjusted based on the connection/brokerage being used since different quantities mean different things on some providers. For stocks, the order's quantity will be price adjusted.
This Account value on a simulation account is always 2x the account's Cash Value.
This Account value on a simulation account is calculated by the following math:
Excess Equity = Cash Value + (value of position) - (lower of the two values: 0 or value of position subtracted by Cash Value) - (maintenance margin of the position)
|•||"Value of position" is determined by applying weights to the quantity of the position and then subtracting commissions from it if the user opts for including commissions in PnL calculations. The weights are determined by the "Margin / unit" parameter for currencies and futures. For stocks, it is determined by the average position price.|
|•||"Maintenance margin of the position" is determined by weighting the "value of position" by the "Maintenance Margin" parameter.|