I'm slowly inching closer to releasing my first day trade strategy into the wild, and since my program will trade dozens of times a day I'm starting to pay more attention to commission settings and trying to get the settings as real as possible. I have a couple of questions regarding the IB integration for any of you that already have a live trading algorithm:
Per default, if you don't specify a commission, your backtest defaults to $0.03 per share. This is obviously on the very high side and would result in simulated charges of ($0.03 * 2500 * 2) = $150 for a simple round-trip buy-sell of 2500 shares. I first thought the simulated slippage was eating into my gains, until I realized it's mostly the high simulated trading cost. Keep in mind, I'm not complaining about this setting at all - if your code works with $0.03 per share then I assume it will likely do quite a bit better in live testing, but it's too much of a factor for intra-day trades with thin margins.
IB provides two pricing structures:
- Fixed: $0.005 per share, with a mimimum of $1.00 and a maximum of 0.5%. However, it also lists under exceptions that "US API Directed Orders" are priced at $0.0075, or in other words have a 50% higher transaction cost if I understand this correctly
- Tiered: $0.003 per share plus various other transaction fees. Harder to calculate, but I'm guessing this would result in maybe ~$0.006 of fees for the first 300,000 shares traded, and trend down for any shares over 300,000 shares traded. Does anybody know if there are any API fees added to the Tiered structure?
Long story short, it seems that:
a) Don't use the default setting of $0.03 for day trading simulations to get more real results.
b) Reducing the simulated cost per trade to maybe $0.0078 is a good approximation for an IB fixed pricing structure.
c) Assuming there are no API fees, $0.006 seems like a good approximation for an IB tiered structure which seems the best choice for intra-day trades in this case.
d) Will there ever be a case where Quantopian takes a "cut" of trading fees that needs to be considered?
Does anybody have any feedback or direction to apply the most realistic commissions environment for intra-day trades? Appreciate any feedback...
Thanks, Beat
PS: I know there are some minor additional fees, and higher costs for Canadian stocks etc. but I'm leaving this out to simplify the discussion.