I wrote a bot and gave it 25k to trade

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

  1. _terminus_

    _terminus_

    All three across the whole system. Callbacks and coroutines just for the API, although coroutines only used for walk-forward optimization which I'm not using at the moment.
     
    #41     Mar 2, 2020
  2. _terminus_

    _terminus_

    Sorry, what is a 11pcter?
     
    #42     Mar 2, 2020
  3. _terminus_

    _terminus_

    As I was expecting, here came a couple of big losers.

    The first one (-864$) was my mistake. I had to stop the system for a little maintenance and during that time an entry signal would have been triggered. So when the bot was online again, about half an hour later, the price was still going in the right direction so I decided to open the trade anyway.
    Well deserved, for remembering not to chase price.
    Had I opened the trade at the original signal it would have been a winner (+610$).
    This is the main reason why I strive to remove myself as much as possible from the actual trading. Still not enough, apparently.

    After that I decreased the position size down to two contracts.

    The second loser (-819$) was in line with the backtest, as per algo. Decreased position size again. I will be increasing it back again when things get better.
     
    Last edited: Mar 2, 2020
    #43     Mar 2, 2020
  4. Just jumping in to say that this is a great thread. I recently went live with my first automated/algo strategy (after much paper trading, backtesting, and even more testing the backtesting), and it's been fun -- and so far, profitable -- process. You learn a different facet of how markets work when you're forced to think about them programmatically instead of from a human decision-maker's point of view. My two takeaways so far have been that t's better to over-fit than to under-fit (within reason), and "automated" doesn't mean "hands-off."
     
    #44     Mar 5, 2020
    _terminus_ likes this.
  5. _terminus_

    _terminus_

    Yes, I think so.

    I wrote something above on fitting and overfitting. I stick to getting as many trades as possible from the backtest, at least 1.000 for the period of interest. However even that is not a guarantee of any sort.

    No more trades for the moment, bot currently on the sideline.
     
    #45     Mar 7, 2020
  6. traider

    traider

    What happened? Can you explain what is wrong with logic if any.
     
    #46     Mar 7, 2020
  7. Why? I would have been interest to hear how it performs in a correction like we had in the last 2 weeks.
     
    #47     Mar 7, 2020
  8. _terminus_

    _terminus_

    The system trades mostly long in presence of an overall uptrend and mostly short when in a general downtrend. However, since my tests have shown more volatility and lower reliability on the short side, I designed the short algos in such a way that they are more "cautious" than those on the long side. So there can be relatively extended periods, like the current one, during which the system is flat.
     
    Last edited: Mar 8, 2020
    #48     Mar 8, 2020
  9. qaz

    qaz

    I would keep the Algo on but at the paper account to continue tracking its progress.
     
    #49     Mar 8, 2020
  10. So this means that your system is still running, but because of the current state of the equity market it has no open positions? I must have misread your previous message as I got the impression that you had switched it off.
     
    #50     Mar 9, 2020