I wrote a bot and gave it 25k to trade

Discussion in 'Automated Trading' started by _terminus_, Feb 23, 2020.

  1. _terminus_

    _terminus_

    I tried that but got no encouraging results from backtests, by using small and not so small WFO windows. I'm loosing faith in the idea that parameters should be reoptimized often, but that's just my experience. If an algo is to produce good results, it can't be too sensitive to param adjustment, because if it is, it could also be too senstive to market conditions. This is a general suggested guideline in system design.

    When I sense that an algo may no longer be working as expected, I prefer to rethink it completely or disable it.
     
    #91     May 17, 2020
  2. _terminus_

    _terminus_

    +++ Update +++

    Just closed out three positions opened during the last four days. Currently 35.5% up from the beginning (November 14). Comparing the equity curve with the QQQ during the same period it can be seen that the system did a pretty good job in reducing the drawdown and still gaining more than the index, which rose about 22%.

    A more aggressive system could have gained much more, considering the huge swings, but all in all I'm satisfied for now. In June I'm up more than 3.000$ and the only month that suffered a little loss was May (-176$). Little money, yes, but I'm leaving almost all of it in the account for reinvesting.

    I've switched to a long-only, multi-position algo which I had already developed but not used so far. Then I did a little modification to it and now it appears to work ok. I discontinued the old algo because this one, all in all, produces a much better backtest curve over 8 years of 1-minute data (third image below).

    Still working on neural nets, interesting results yet not convincing enough to be used.

    portf.jpg
    qqq.jpg
    backt.jpg
     
    Last edited: Jun 19, 2020
    #92     Jun 19, 2020
  3. easymon1

    easymon1

    do you have any algos that trade actual money?
    if no, why not start one up with 2500, or 250, or 25.00$?
    get the beak wet, so to speak.
     
    #93     Jun 19, 2020
    _terminus_ likes this.
  4. d08

    d08

    Very nice curves. Smooth but enough to looks realistic.
     
    #94     Jun 19, 2020
    _terminus_ likes this.
  5. how many trades per year?
    did you include slippage and fees?
     
    #95     Jun 19, 2020
    _terminus_ likes this.
  6. _terminus_

    _terminus_

    This *is* actual money, although my account is very small. The balance is currently 41k.
     
    Last edited: Jun 20, 2020
    #96     Jun 20, 2020
  7. _terminus_

    _terminus_

    Thank you. The IB equity curve (upper graph) clearly shows the difference between the two algos, before and after the flat segment at the center. Although the previous one looks smoother, my expectation is that the one I'm using now will produce better results overall.
     
    #97     Jun 20, 2020
  8. _terminus_

    _terminus_

    If you're referring to the lower graph (backtest) yes, it includes slippage and fees. Actually slippage isn't a problem, considering the typical holding time (a few days) and that index futures are very liquid.

    X axis = number of trades, total period is a little less than 8 years
    Y axis = cumulative %, by just adding up (not compounding) the trades

    About 90/100 trades per year on average.

    This particular algo can add up to 4 position over the first one, hence 5 micro e-mini MNQ contracts.
     
    Last edited: Jun 20, 2020
    #98     Jun 20, 2020
  9. _terminus_

    _terminus_

    Compounding: I started with 25k and the balance is currently 41k (also thanks to my son's 8k that he added along the way). If and when I hit 50k, I will double the position size, hence 2 contracts per position.
     
    #99     Jun 20, 2020
  10. _terminus_

    _terminus_

    Automation: this is certainly an automated trading system. However, intervening on it by designing/modifying/enabling/disabling algos is still "trading", although of a different kind. I guess it could be defined as meta trading (no pun intended).
     
    Last edited: Jun 20, 2020
    #100     Jun 20, 2020