Fully automated futures trading

Discussion in 'Journals' started by globalarbtrader, Feb 11, 2015.

  1. @globalarbtrader Have spent the past two weeks trying to replicate all of the signals from AFTS. Am struggling with a few of the signals and was hoping for your insight.

    Carry: I am computing carry based on the front two contracts; and my numberes check out ( at least directionally with the prices on the contract I am seeing live). I am thinking that maybe you are using different contracts (besides the front two) for some of your instruments. Can you clarify if this is the case and/or what else may be the issue?

    Skew: My numbers are way off from yours. I am using the back adjusted front contract for this. The raw skew calculation I am getting seems to be accurate; but again the # I am seeing is way off from what I see posted on your AFTS website. Again I wonder if my issue is using the front contract and not a different contract; or if there is some sort of adjustment you have made to the prices before computing skew (or something else).

    Anyway any feedback you can provide would be appreciate. My trend signals (except asset trend) all match up very very closley with yours so that is reassuring. I am bit hestiate to put any rules lives that I am not extremely confident with the coding on.
     
    #4591     May 22, 2025
  2. https://github.com/robcarver17/pysystemtrade/blob/develop/data/futures/csvconfig/rollconfig.csv shows how I roll, and thus compute carry.

    RollOffsetDays shows how many days before expiry I roll. So for example, for VIX I aim to roll 60 days before expiry. So I am usually holding the second contract. CarryOffset shows which contract I calculate carry on. -1 for VIX means its the one before the priced contract. So I'm calculating carry on 1st vs 2nd.

    Off the top of my head the only contracts where I'm likely to be doing something different are those i hold as seasonal. That's where there is only one letter in the HoldRollCycle column. Eg Corn, I always hold Z, and I calculate carry -1 which is U. So it's U-Z always.

    When you say "from what I see posted on your AFTS website.", what do you mean exactly? which numbers, which page?

    There are two explanations, different data or different code. Which code are you using?

    Skew: is very sensitive to outliers, so this will show the biggest difference.

    Rob
     
    #4592     May 23, 2025
  3. newbunch

    newbunch

    Mexican Peso historical data and charts still not working.
    IB really messed this one up.
    I'm surprised enough people haven't complained yet that they've fixed it.
     
    #4593     May 25, 2025
  4. newbunch

    newbunch

    I just submitted a web ticket. Should have done it a week ago. Perhaps they'll fix it if enough people complain.
     
    #4594     May 25, 2025
    Kernfusion likes this.
  5. @globalarbtrader Hi Rob,
    in AFTS Strat 9, to calculate FDM, you are using the correlation matrix derived using capped forecasts, right?
     
    #4595     May 28, 2025
  6. Yes
     
    #4596     May 28, 2025
  7. newbunch

    newbunch

    Historical data and charts for 6M (Mexican Peso) is now working for me.
     
    #4597     May 28, 2025
    corsair and FrankieC84 like this.
  8. Kernfusion

    Kernfusion

    yep, looks like they fixed it
     
    #4598     May 29, 2025