Fully automated futures trading

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

  1. Would you mind giving a brief hint in the meantime?

    I tried many things. Priors as average correlation, priors as corr of 0.5, none seem to show any order, still shrinkage factor is all over the place.
     
    #2331     Oct 25, 2020
  2. I wouldn't waste your time trying. I doubt I will be able to recover the original numbers and I will be using a better method in the new post (based on parametric distribution of correlation estimates). And none of this will make a blind bit of difference to how much money you or I make.

    GAT
     
    #2332     Oct 25, 2020
    test_user likes this.
  3. sef88

    sef88

    Hi @globalarbtrader

    Thanks for your comprehensive reply and noted your objections in using validation dataset for fitting a trend following model. And I guess it differs from conventional machine learning problems which are more data-driven (requires validation set for the 'feedback') than idea-driven.

    Very useful pointers that could potentially save me a lot of time and 'steer' me towards the right path :)

    Jirong
     
    #2333     Oct 25, 2020
  4. Kernfusion

    Kernfusion

    Hi everybody,
    sorry for a very basic futures trading mechanics question, but I just need to confirm it for myself:
    Is buying a non-FX futures contract denominated in a foreign currency also a bet on that currency or not (not considering margin money)?

    e.g. how should I calculate my P&L if my base currency is USD and I bought 1 3ktb contract a month ago, and since then usd.rkw spot exchange-rate changed?

    The 2 ways to do that would be:
    1. (NewPriceInPoints-OldPriceInPoints) * CtrSize * New_Kwr.Usd_rate
    2. NewInPricePoints * New_Kwr.Usd_rate * CtrSize - OldPriceInPoints * OLD_Kwr.Usd_rate * CtrSize

    i.e. I can either calculate the sell-buy price difference in points and then multiply it by the current exchange rate and contract size (in that case it doesn't matter what was the exchange-rate when I bought it).,
    Or I can calculate both buy and sell prices first in the foreign currency using the 2 exchange rates at the time of buying and selling and then subtract them, which way is correct?

    It's just I noticed that my system has been showing big P&L in 3kb lately, when the contract wasn't moving much, so I looked at the exchange rate, which was moving and I started to suspect that I'm calculating it incorrectly..
     
    #2334     Oct 26, 2020
  5. It depends on when you place actual currency trades. Suppose you open a 3KTB position. Each day that you hold this position a settlement is executed. Either KRW cash is taken out of your account, or deposited into your account. Now you have 2 choices: either you convert each day the KRW cash back to your USD base currency, or you don't.
    If you convert KRW -> USD each day you will be using the exchange rate of each day.
    If you don't convert until you close the 3KTB position: Now you have a KRW cash position left over. And can either keep this KRW cash position for a future trade, or convert it. You will be using the exchange at the moment of conversion.

    My way of working is to keep the foreign currency cash positions, unless there is substantial debit interest being charged. The forex trades also come with commission being charged, so you'll have to balance these.
     
    #2335     Oct 26, 2020
    Kernfusion likes this.
  6. Ken S

    Ken S

    Hi GAT, don't know if this correlation question is related. However in your excellent first book (page 294), you provide a rule of thumb adjustment from instrument rets correlation to subsys correlation ~ 0.7. I assume is because you are multiplying the covar matrix by 1/2. Out of interest is this adjustment derived from the effects of vol normalization? In my backtests again there is quite a lot of variation around this adjustment, but I appreciate that this rule of thumb might rely on very large samples.
     
    Last edited: Oct 26, 2020
    #2336     Oct 26, 2020
  7. Assuming you have hedged your FX exposure coming from the margin, you’re only exposed to the currency on the changes in value (unless your are talking about some specific foreign contracts that are locally denominated).
     
    #2337     Oct 26, 2020
    eternaldelight and Kernfusion like this.
  8. He is referring to 3KTB, which is the Korean 3 year government bond futures, trading on the Korea exchange and denominated in Korean Won (KRW).
     
    #2338     Oct 26, 2020
  9. Kernfusion

    Kernfusion

    I see, so for example let's say the price of 3ktb contract didn't change at all between when I bought and sold it, but the exchange rate changed, then my P&L is zero, so I wasn't affected by krw.usd rate.
    (unless I was holding some krw cash for margin, or probably even if I wasn't, the broker landed me that margin in krw for the trade and took it back when I closed the trade., But still this is only a small exposure, just the amount of margin, not the whole notional value of the contract right ?)
     
    #2339     Oct 26, 2020
  10. Correct, if you did not flatten out your KRW cash position every day while holding the 3KTB position.
    The broker does charge debit interest for the margin requirements. This is the confusing part (at least with IB) as this margin requirement is not visible as a cash position. But is "eligible" for debit interest being charged to you by the broker.
     
    #2340     Oct 26, 2020
    Kernfusion likes this.