Search results

  1. I

    Fully automated futures trading

    I'm just working backwards to try and simulate rolling the contracts over on historical data, looking at corn one year out and rolling 12 months forwards, using spread trades. It seems the 'prudent' way to do this would be an 'open interest crossover', passively before the crossover and forced...
  2. I

    Fully automated futures trading

    One more question, how come you traded stuff a year out as opposed to from the front? Is that to reduce the number of rolls? Thanks
  3. I

    Fully automated futures trading

    Hi GAT, A quick question, I'm looking at https://github.com/robcarver17/pysystemtrade/blob/9a8d533840547d8a03bbd094e16de8047345f060/sysdata/legacycsv/CORN_carrydata.csv I'm trying to rebuild this data from https://www.quandl.com/data/CME, but its proving to be a messy implementation, with...
  4. I

    Fully automated futures trading

    Right you were, the very subtle bug of multiplying the something thing by today's price instead of yesterday's price. Goes to show how careful you have to be building these things. Just for completeness, it looks like this now, which looks good to me. Interesting how the distribution of the...
  5. I

    Fully automated futures trading

    (And without costs): Thanks, duly noted! I will go back and check everything. Thank you!
  6. I

    Fully automated futures trading

    Yes. Returns are in $ based on annual volatility target of $25000.
  7. I

    Fully automated futures trading

    Hi GAT, So I'm up to bootstrapping weights on single instruments now, using an expanding window, looking at Corn using EWMAC. I'm concerned the weights never really seem to stabilise: (legend is LFast). For reference I've plotted the price series here: I've taken slippage of 0.25/380 +...
  8. I

    Trading Corn Futures on IB vs IG via Spread Bet

    That's my experience as well. I did well with an unleveraged stock portfolio. Stock picking is fun, but slow. Thought I'd try a CFD portfolio. Initial success led to hubris, which led to bust account, which led to a more methodical way of approaching risk.
  9. I

    Trading Corn Futures on IB vs IG via Spread Bet

    I'll add, it's practically impossible to figure out how much a trade with IG on a future will cost you before you do it. Mystery fees include the interest, spread, the small print says there's a carry charge, including 2.5% admin charge... etc etc. You kinda get the feeling like you're being...
  10. I

    Trading Corn Futures on IB vs IG via Spread Bet

    So I did complete my detailed analysis yesterday of IG vs IB, and like GAT above, while I couldn't be precise about it, I figured the costs were on the order of 10x more using spreadbets. As I have been following GATs book and created a backtest, I quickly coded up both scenarios and found that...
  11. I

    Trading Corn Futures on IB vs IG via Spread Bet

    Specifically, why is the DFB more expensive; do I pay the spread every day? (if so, that isn't clear on their website). I have such a spreadsheet, just trying to make sense of it now!
  12. I

    Trading Corn Futures on IB vs IG via Spread Bet

    I am based in the UK. As best as I can tell, on the DFB, which is a spread bet on the underlying: No rolling costs, or rolling required in general. Funding charge that works out to roughly 3.5% of the exposure per year. So for a long position on Corn today: That's £15 per point @ 380...
  13. I

    Trading Corn Futures on IB vs IG via Spread Bet

    I'm trying to understand the differences in costs between trading real corn futures, versus a spreadbet on corn futures, provided by IG (details here: https://www.ig.com/uk/ig-commodities/corn). As best as I can tell, when trading the spread bet futures contract (not the DFB on the underlying...
  14. I

    Fully automated futures trading

    One more question. Why own the futures contracts in favour of spread bets on the underlying? Advantages as I see them: No rolling necessary, lower block size, simpler API (IG), CGT.
  15. I

    Fully automated futures trading

    Yes, thank you! It's a bit of a leap thinking of 'volatility first' the whole time! :)
  16. I

    Fully automated futures trading

    It should be linked here: https://github.com/robcarver17/pysystemtrade/blob/master/syscore/accounting.py#L339 But if not, it's lines 339-369 of accounting.py. Thank you!
  17. I

    Fully automated futures trading

    I'm up to bootstrapping trading rules on single instruments with rolling windows. I've been writing my code from scratch to better understand it, only looking at pysystemtrade for clues. I have one problem. I wrote my accountCurve using a walk-forward backtester. It's extremely slow, so even a...
  18. I

    Fully automated futures trading

    Hi Rob, I've decided to try building your system from the ground up, as I figured this would be a good exercise to understand it properly. I've been using your book/blog, and I'm stuck on the forecast weights. I've calculated the individual EWMAC forecasts, scaled them to have a mean forecast...
  19. I

    Fully automated futures trading

    Hi Rob, Great talk last night! Would love to see that as a blog post so I can go over it in detail! Thank you for all of this, I've learnt so much from you.
  20. I

    Fully automated futures trading

    Hi Rob, Just been reading your blog posts & book. I have a couple of simple questions. Can you elaborate on why you roll manually? What are the problems you encounter in automating this task? Why do you favour commodity futures versus other instruments, and why are commodity futures the...
Back
Top