Accurate commissions for IB and Oanda
-
Hi Everybody,
I plan to do Forex and stock trading. Most likely I'll use Oanda for Forex and IB for stocks, or maybe IB for both. Can you please help me with setting commissions, slippage and other trade-related costs accurately to exactly match the costs that will occur in real trading?
I made my first backtests with this code, but now I want to polish it to perfection.
cerebro.broker.setcommission(commission=0.00003, margin= None, mult=1.0, commtype=None, percabs=True, stocklike=True, leverage=4.0) cerebro.broker.set_slippage_perc(0.001, slip_open=True, slip_limit=True, slip_match=True, slip_out=False)
How would this look like with Oanda and IB (Forex and stocks)? What are the commissions of these brokers? Are there any further costs related to trading in real life?
Many thanks in advance!
Cheers,
Tamás -
The only commission known over here is for EuroStoxx50 futures.
For intraday trading the margin requirements are low, so you can apply
setcommission(commission=2.0, mult=10.0, commtype=bt.CommInfo.COMM_FIXED, stocklike=False, automargin=0.25)
For overnight operations the margin requirements approximate the price.
setcommission(commission=2.0, mult=10.0, commtype=bt.CommInfo.COMM_FIXED, stocklike=False, automargin=1.00)
-
Thanks for the info. I forgot to mention that I plan to do intraday trading.
Cheers,
Tamás