Navigation: Realtest Script Language > Syntax Element Details >







Strategy Elements


Commission amount, in dollars, for each trade


Formula specifying a dollar amount


If your broker charges no commissions, omit this formula or set it to 0.

If you pay a flat fee for every trade, simply specify that number.

Commission is calculated and charged separately for entry and exit transactions, so round-trip commission is twice the value of this formula. 

If FillPrice is used in the Commission formula, it will automatically retrieve the entry price for the entry commission and the exit price for the exit commission.

The formula for the standard US commission at Interactive Brokers is: Min(0.01 * FillValue, Max(0.005 * Shares, 1)).

IB's Canadian commission formula is: Min(0.005 * FillValue, Max(0.01 * Shares, 1)) -- yes that's correct, the 0.01 and 0.005 are reversed vs. US.

The Australian commission formula for IB is: 1.1 * Max(6.00, 0.0008 * FillValue) -- the 1.1x is the 10% VAT and the remainder is the IB commission.





Copyright © 2020-2022 Systematic Solutions, LLC