PDA

View Full Version : SetValue Transaction costs


dilmun99
12th July 2005, 02:55 PM
Is there any way to set a % transactional cost as an Extended Data Value Function?
"ExtFml(“TradeSim.SetValue”,TransactionCost,25); " just seems to do $s.

I like to input % figures that combine commissions and slippage that are generated from my own trading records.

Thanks
Andrew

David Samborsky
13th July 2005, 01:24 AM
You alter the way TradeSim interprets the transaction cost from the Transaction Cost setting in the Trade Preferences tab. i.e. select "Fractional Cost" for % transaction cost.

dilmun99
13th July 2005, 02:17 PM
Just to be clear, if I set an exploration that includes

ExtFml(“TradeSim.SetValue”,TransactionCost,0.10);

and set "Fractional Cost" in the Parameters settings, it will calculate 0.10% per trade, not $0.10?

Best
Andrew

David Samborsky
14th July 2005, 03:57 AM
Yes that is correct. You can verify this in the Trade Log.